public class PushNotificationTemplateDocument extends net.anotheria.asg.data.AbstractASGDocument implements PushNotificationTemplate, net.anotheria.util.sorter.IComparable, net.anotheria.asg.data.MultilingualObject
INT_PROPERTY_MULTILINGUAL_DISABLEDPROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERPROP_ID, PROP_LOCALIZATIONS, PROP_MESSAGE_EN, PROP_NAME| Constructor and Description |
|---|
PushNotificationTemplateDocument() |
PushNotificationTemplateDocument(PushNotificationTemplateDocument toClone) |
PushNotificationTemplateDocument(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocalizationsElement(java.lang.String guard)
Adds a new element to the list.
|
int |
compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method) |
int |
compareTo(PushNotificationTemplate comparable) |
void |
copyLANG2LANG(java.lang.String sourceLanguage,
java.lang.String destLanguage)
Copies all multilingual properties from source language to destination language
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDefinedName() |
java.lang.String |
getDefinedParentName() |
java.lang.String |
getFootprint() |
java.util.List<java.lang.String> |
getLocalizations()
Returns the value of the localizations attribute.
|
java.lang.String |
getLocalizationsElement(int index)
Returns the element at the position index in the list.
|
int |
getLocalizationsSize()
Returns the number of elements in the "localizations" container
|
java.lang.String |
getMessage()
Returns the current value of the message attribute.
|
java.lang.String |
getMessageEN()
Returns the value of the message attribute in the "EN" domain.
|
java.lang.String |
getName()
Returns the value of the name attribute.
|
boolean |
isMultilingualDisabledInstance() |
void |
removeLocalizationsElement(int index)
Removes the element at position index from the list.
|
void |
setLocalizations(java.util.List<java.lang.String> value)
Sets the value of the localizations attribute.
|
void |
setMessage(java.lang.String value)
Sets the value of the message attribute in the current domain.
|
void |
setMessageEN(java.lang.String value)
Sets the value of the message attribute in the domain "EN"
|
void |
setMultilingualDisabledInstance(boolean value) |
void |
setName(java.lang.String value)
Sets the value of the name attribute.
|
void |
swapLocalizationsElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
java.lang.String |
toString() |
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeaddDataHolder, clone, copyFromBooleanList, copyFromDoubleList, copyFromFloatList, copyFromIntegerList, copyFromLongList, copyFromStringList, copyToBooleanList, copyToDoubleList, copyToFloatList, copyToIntegerList, copyToLongList, copyToStringList, createDocument, createDocumentList, createListProperty, getAuthor, getBoolean, getBooleanProperty, getDataHolder, getDocument, getDocumentAnyCase, getDocumentList, getDocumentListAnyCase, getDouble, getDoubleProperty, getEmptyBoolean, getEmptyDouble, getEmptyFloat, getEmptyInt, getEmptyList, getEmptyLong, getEmptyString, getFloat, getFloatProperty, getInt, getIntProperty, getKeys, getLastUpdateTimestamp, getList, getListProperty, getListPropertyAnyCase, getLong, getLongProperty, getObject, getProperties, getProperty, getPropertyValue, getSizeInBytes, getStorageId, getString, getStringProperty, getTypeIdentifier, putBooleanProperty, putDocument, putDoubleProperty, putFloatProperty, putIntProperty, putList, putListProperty, putLongProperty, putProperty, putStringProperty, removeDataHolder, removeDataHolder, removeProperty, removeProperty, renameTo, setBoolean, setCallContextAuthor, setDouble, setFloat, setInt, setLastUpdateNow, setList, setLong, setString, setTypeIdentifier, toXMLNodepublic PushNotificationTemplateDocument()
public PushNotificationTemplateDocument(java.lang.String id)
public PushNotificationTemplateDocument(PushNotificationTemplateDocument toClone)
public java.lang.String getName()
PushNotificationTemplategetName in interface PushNotificationTemplatepublic void setName(java.lang.String value)
PushNotificationTemplatesetName in interface PushNotificationTemplatepublic java.lang.String getMessageEN()
PushNotificationTemplategetMessageEN in interface PushNotificationTemplatepublic java.lang.String getMessage()
PushNotificationTemplategetMessage in interface PushNotificationTemplatepublic void setMessageEN(java.lang.String value)
PushNotificationTemplatesetMessageEN in interface PushNotificationTemplatepublic void setMessage(java.lang.String value)
PushNotificationTemplatesetMessage in interface PushNotificationTemplatepublic java.util.List<java.lang.String> getLocalizations()
PushNotificationTemplategetLocalizations in interface PushNotificationTemplatepublic void setLocalizations(java.util.List<java.lang.String> value)
PushNotificationTemplatesetLocalizations in interface PushNotificationTemplatepublic java.lang.String toString()
toString in class net.anotheria.anodoc.data.Documentpublic int getLocalizationsSize()
PushNotificationTemplategetLocalizationsSize in interface PushNotificationTemplatepublic void addLocalizationsElement(java.lang.String guard)
PushNotificationTemplateaddLocalizationsElement in interface PushNotificationTemplatepublic void removeLocalizationsElement(int index)
PushNotificationTemplateremoveLocalizationsElement in interface PushNotificationTemplatepublic void swapLocalizationsElement(int index1,
int index2)
PushNotificationTemplateswapLocalizationsElement in interface PushNotificationTemplatepublic java.lang.String getLocalizationsElement(int index)
PushNotificationTemplategetLocalizationsElement in interface PushNotificationTemplatepublic int compareTo(PushNotificationTemplate comparable)
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method)
compareTo in interface net.anotheria.util.sorter.IComparablepublic java.lang.String getDefinedName()
getDefinedName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getDefinedParentName()
getDefinedParentName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getFootprint()
getFootprint in interface net.anotheria.asg.data.DataObjectpublic void copyLANG2LANG(java.lang.String sourceLanguage,
java.lang.String destLanguage)
PushNotificationTemplatecopyLANG2LANG in interface PushNotificationTemplatepublic boolean isMultilingualDisabledInstance()
isMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObjectpublic void setMultilingualDisabledInstance(boolean value)
setMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObjectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2012-2023 anotheria.net. All Rights Reserved.