Class LocalizedMessageTemplateContentType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.xml.ns._public.common.common_3.MessageTemplateContentType
com.evolveum.midpoint.xml.ns._public.common.common_3.LocalizedMessageTemplateContentType
- All Implemented Interfaces:
Containerable,Freezable,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding,DebugDumpable,Serializable,Cloneable
Single language localization for the message template.
If `attachmentExpression` is not specified, the one from the default content will be used.
If no `attachment` is not specified, the ones from the default content will be used.
This allows for language specific attachments without the need to re-specify the ones that
are not language specific.
It is also possible to override `attachmentExpression` for language specific one and leave
`attachment` empty to use the ones defined in `attachment` element of the default content.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.AnyNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QNamestatic final ItemNamestatic final Producer<LocalizedMessageTemplateContentType>Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.MessageTemplateContentType
F_ATTACHMENT, F_ATTACHMENT_EXPRESSION, F_BODY_EXPRESSION, F_CONTENT_TYPE, F_SUBJECT_EXPRESSIONFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionbodyExpression(ExpressionType value) clone()contentType(String value) <X> Xend()booleanvoidsetLanguage(String value) subjectExpression(ExpressionType value) Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.MessageTemplateContentType
getAttachment, getAttachmentExpression, getBodyExpression, getContentType, getSubjectExpression, setAttachmentExpression, setBodyExpression, setContentType, setSubjectExpressionMethods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerableMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Field Details
-
COMPLEX_TYPE
-
F_LANGUAGE
-
FACTORY
-
-
Constructor Details
-
LocalizedMessageTemplateContentType
public LocalizedMessageTemplateContentType() -
LocalizedMessageTemplateContentType
Deprecated.
-
-
Method Details
-
getLanguage
-
setLanguage
-
equals
- Overrides:
equalsin classMessageTemplateContentType
-
language
-
subjectExpression
- Overrides:
subjectExpressionin classMessageTemplateContentType
-
beginSubjectExpression
- Overrides:
beginSubjectExpressionin classMessageTemplateContentType
-
bodyExpression
- Overrides:
bodyExpressionin classMessageTemplateContentType
-
beginBodyExpression
- Overrides:
beginBodyExpressionin classMessageTemplateContentType
-
contentType
- Overrides:
contentTypein classMessageTemplateContentType
-
attachment
- Overrides:
attachmentin classMessageTemplateContentType
-
beginAttachment
- Overrides:
beginAttachmentin classMessageTemplateContentType
-
attachmentExpression
- Overrides:
attachmentExpressionin classMessageTemplateContentType
-
beginAttachmentExpression
- Overrides:
beginAttachmentExpressionin classMessageTemplateContentType
-
end
public <X> X end()- Overrides:
endin classMessageTemplateContentType
-
clone
- Overrides:
clonein classMessageTemplateContentType
-