Class PushNotificationTemplateDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.asresourcedata.data.PushNotificationTemplateDocument
-
- All Implemented Interfaces:
Serializable,Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,PushNotificationTemplate,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.asg.data.MultilingualObject,net.anotheria.util.sorter.IComparable
public class PushNotificationTemplateDocument extends net.anotheria.asg.data.AbstractASGDocument implements PushNotificationTemplate, net.anotheria.util.sorter.IComparable, net.anotheria.asg.data.MultilingualObject
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLED
-
Fields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIER
-
Fields inherited from interface net.anotheria.asg.data.LockableObject
INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAME
-
Fields inherited from interface net.anotheria.anosite.gen.asresourcedata.data.PushNotificationTemplate
PROP_ID, PROP_LOCALIZATIONS, PROP_MESSAGE_DE, PROP_MESSAGE_EN, PROP_NAME
-
-
Constructor Summary
Constructors Constructor Description PushNotificationTemplateDocument()PushNotificationTemplateDocument(String id)PushNotificationTemplateDocument(PushNotificationTemplateDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocalizationsElement(String guard)Adds a new element to the list.intcompareTo(PushNotificationTemplate comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)voidcopyDE2EN()Copies all multilingual properties from language DE to language ENvoidcopyEN2DE()Copies all multilingual properties from language EN to language DEvoidcopyLANG2LANG(String sourceLanguage, String destLanguage)Copies all multilingual properties from source language to destination languagebooleanequals(Object o)StringgetDefinedName()StringgetDefinedParentName()StringgetFootprint()List<String>getLocalizations()Returns the value of the localizations attribute.StringgetLocalizationsElement(int index)Returns the element at the position index in the list.intgetLocalizationsSize()Returns the number of elements in the "localizations" containerStringgetMessage()Returns the current value of the message attribute.StringgetMessageDE()Returns the value of the message attribute in the "DE" domain.StringgetMessageEN()Returns the value of the message attribute in the "EN" domain.StringgetName()Returns the value of the name attribute.booleanisMultilingualDisabledInstance()voidremoveLocalizationsElement(int index)Removes the element at position index from the list.voidsetLocalizations(List<String> value)Sets the value of the localizations attribute.voidsetMessage(String value)Sets the value of the message attribute in the current domain.voidsetMessageDE(String value)Sets the value of the message attribute in the domain "DE"voidsetMessageEN(String value)Sets the value of the message attribute in the domain "EN"voidsetMultilingualDisabledInstance(boolean value)voidsetName(String value)Sets the value of the name attribute.voidswapLocalizationsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.StringtoString()-
Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTime
-
Methods inherited from class net.anotheria.anodoc.data.Document
addDataHolder, 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, toXMLNode
-
-
-
-
Constructor Detail
-
PushNotificationTemplateDocument
public PushNotificationTemplateDocument()
-
PushNotificationTemplateDocument
public PushNotificationTemplateDocument(String id)
-
PushNotificationTemplateDocument
public PushNotificationTemplateDocument(PushNotificationTemplateDocument toClone)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:PushNotificationTemplateReturns the value of the name attribute.- Specified by:
getNamein interfacePushNotificationTemplate
-
setName
public void setName(String value)
Description copied from interface:PushNotificationTemplateSets the value of the name attribute.- Specified by:
setNamein interfacePushNotificationTemplate
-
getMessageEN
public String getMessageEN()
Description copied from interface:PushNotificationTemplateReturns the value of the message attribute in the "EN" domain.- Specified by:
getMessageENin interfacePushNotificationTemplate
-
getMessageDE
public String getMessageDE()
Description copied from interface:PushNotificationTemplateReturns the value of the message attribute in the "DE" domain.- Specified by:
getMessageDEin interfacePushNotificationTemplate
-
getMessage
public String getMessage()
Description copied from interface:PushNotificationTemplateReturns the current value of the message attribute. Current means in the currently selected domain.- Specified by:
getMessagein interfacePushNotificationTemplate
-
setMessageEN
public void setMessageEN(String value)
Description copied from interface:PushNotificationTemplateSets the value of the message attribute in the domain "EN"- Specified by:
setMessageENin interfacePushNotificationTemplate
-
setMessageDE
public void setMessageDE(String value)
Description copied from interface:PushNotificationTemplateSets the value of the message attribute in the domain "DE"- Specified by:
setMessageDEin interfacePushNotificationTemplate
-
setMessage
public void setMessage(String value)
Description copied from interface:PushNotificationTemplateSets the value of the message attribute in the current domain. Current means in the currently selected domain.- Specified by:
setMessagein interfacePushNotificationTemplate
-
getLocalizations
public List<String> getLocalizations()
Description copied from interface:PushNotificationTemplateReturns the value of the localizations attribute.- Specified by:
getLocalizationsin interfacePushNotificationTemplate
-
setLocalizations
public void setLocalizations(List<String> value)
Description copied from interface:PushNotificationTemplateSets the value of the localizations attribute.- Specified by:
setLocalizationsin interfacePushNotificationTemplate
-
toString
public String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getLocalizationsSize
public int getLocalizationsSize()
Description copied from interface:PushNotificationTemplateReturns the number of elements in the "localizations" container- Specified by:
getLocalizationsSizein interfacePushNotificationTemplate
-
addLocalizationsElement
public void addLocalizationsElement(String guard)
Description copied from interface:PushNotificationTemplateAdds a new element to the list.- Specified by:
addLocalizationsElementin interfacePushNotificationTemplate
-
removeLocalizationsElement
public void removeLocalizationsElement(int index)
Description copied from interface:PushNotificationTemplateRemoves the element at position index from the list.- Specified by:
removeLocalizationsElementin interfacePushNotificationTemplate
-
swapLocalizationsElement
public void swapLocalizationsElement(int index1, int index2)Description copied from interface:PushNotificationTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapLocalizationsElementin interfacePushNotificationTemplate
-
getLocalizationsElement
public String getLocalizationsElement(int index)
Description copied from interface:PushNotificationTemplateReturns the element at the position index in the list.- Specified by:
getLocalizationsElementin interfacePushNotificationTemplate
-
compareTo
public int compareTo(PushNotificationTemplate comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
copyLANG2LANG
public void copyLANG2LANG(String sourceLanguage, String destLanguage)
Description copied from interface:PushNotificationTemplateCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfacePushNotificationTemplate
-
copyEN2DE
public void copyEN2DE()
Copies all multilingual properties from language EN to language DE- Specified by:
copyEN2DEin interfacePushNotificationTemplate
-
copyDE2EN
public void copyDE2EN()
Copies all multilingual properties from language DE to language EN- Specified by:
copyDE2ENin interfacePushNotificationTemplate
-
isMultilingualDisabledInstance
public boolean isMultilingualDisabledInstance()
- Specified by:
isMultilingualDisabledInstancein interfacenet.anotheria.asg.data.MultilingualObject
-
setMultilingualDisabledInstance
public void setMultilingualDisabledInstance(boolean value)
- Specified by:
setMultilingualDisabledInstancein interfacenet.anotheria.asg.data.MultilingualObject
-
-