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
public class LocalizedMessageTemplateContentType extends MessageTemplateContentType
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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
-
Nested 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
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_LANGUAGE
static Producer<LocalizedMessageTemplateContentType>
FACTORY
-
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_EXPRESSION
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description LocalizedMessageTemplateContentType()
LocalizedMessageTemplateContentType(PrismContext context)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalizedMessageTemplateContentType
attachment(NotificationMessageAttachmentType value)
LocalizedMessageTemplateContentType
attachmentExpression(ExpressionType value)
NotificationMessageAttachmentType
beginAttachment()
ExpressionType
beginAttachmentExpression()
ExpressionType
beginBodyExpression()
ExpressionType
beginSubjectExpression()
LocalizedMessageTemplateContentType
bodyExpression(ExpressionType value)
LocalizedMessageTemplateContentType
clone()
LocalizedMessageTemplateContentType
contentType(String value)
<X> X
end()
boolean
equals(Object other)
String
getLanguage()
LocalizedMessageTemplateContentType
language(String value)
void
setLanguage(String value)
LocalizedMessageTemplateContentType
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, setSubjectExpression
-
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_LANGUAGE
public static final ItemName F_LANGUAGE
-
FACTORY
public static final Producer<LocalizedMessageTemplateContentType> FACTORY
-
-
Constructor Detail
-
LocalizedMessageTemplateContentType
public LocalizedMessageTemplateContentType()
-
LocalizedMessageTemplateContentType
@Deprecated public LocalizedMessageTemplateContentType(PrismContext context)
Deprecated.
-
-
Method Detail
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String value)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classMessageTemplateContentType
-
language
public LocalizedMessageTemplateContentType language(String value)
-
subjectExpression
public LocalizedMessageTemplateContentType subjectExpression(ExpressionType value)
- Overrides:
subjectExpression
in classMessageTemplateContentType
-
beginSubjectExpression
public ExpressionType beginSubjectExpression()
- Overrides:
beginSubjectExpression
in classMessageTemplateContentType
-
bodyExpression
public LocalizedMessageTemplateContentType bodyExpression(ExpressionType value)
- Overrides:
bodyExpression
in classMessageTemplateContentType
-
beginBodyExpression
public ExpressionType beginBodyExpression()
- Overrides:
beginBodyExpression
in classMessageTemplateContentType
-
contentType
public LocalizedMessageTemplateContentType contentType(String value)
- Overrides:
contentType
in classMessageTemplateContentType
-
attachment
public LocalizedMessageTemplateContentType attachment(NotificationMessageAttachmentType value)
- Overrides:
attachment
in classMessageTemplateContentType
-
beginAttachment
public NotificationMessageAttachmentType beginAttachment()
- Overrides:
beginAttachment
in classMessageTemplateContentType
-
attachmentExpression
public LocalizedMessageTemplateContentType attachmentExpression(ExpressionType value)
- Overrides:
attachmentExpression
in classMessageTemplateContentType
-
beginAttachmentExpression
public ExpressionType beginAttachmentExpression()
- Overrides:
beginAttachmentExpression
in classMessageTemplateContentType
-
end
public <X> X end()
- Overrides:
end
in classMessageTemplateContentType
-
clone
public LocalizedMessageTemplateContentType clone()
- Overrides:
clone
in classMessageTemplateContentType
-
-