Class NaviItemDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.assitedata.data.NaviItemDocument
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,NaviItem,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.asg.data.MultilingualObject,net.anotheria.util.sorter.IComparable
public class NaviItemDocument extends net.anotheria.asg.data.AbstractASGDocument implements NaviItem, 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.assitedata.data.NaviItem
LINK_PROP_ACCESS_OPERATION, LINK_PROP_INTERNAL_LINK, LINK_PROP_PAGE_ALIAS, PROP_CLASS_NAME, PROP_EXTERNAL_LINK, PROP_GUARDS, PROP_ICON, PROP_ID, PROP_NAME_EN, PROP_POPUP, PROP_SUB_NAVI, PROP_TITLE_EN
-
-
Constructor Summary
Constructors Constructor Description NaviItemDocument()NaviItemDocument(java.lang.String id)NaviItemDocument(NaviItemDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGuardsElement(java.lang.String guard)Adds a new element to the list.voidaddSubNaviElement(java.lang.String item)Adds a new element to the list.intcompareTo(NaviItem comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)voidcopyLANG2LANG(java.lang.String sourceLanguage, java.lang.String destLanguage)Copies all multilingual properties from source language to destination languagebooleanequals(java.lang.Object o)java.lang.StringgetAccessOperation()Returns the value of the accessOperation attribute.java.lang.StringgetClassName()Returns the value of the className attribute.java.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetExternalLink()Returns the value of the externalLink attribute.java.lang.StringgetFootprint()java.util.List<java.lang.String>getGuards()Returns the value of the guards attribute.java.lang.StringgetGuardsElement(int index)Returns the element at the position index in the list.intgetGuardsSize()Returns the number of elements in the "guards" containerjava.lang.StringgetIcon()Returns the value of the icon attribute.java.lang.StringgetInternalLink()Returns the value of the internalLink attribute.java.lang.StringgetName()Returns the current value of the name attribute.java.lang.StringgetNameEN()Returns the value of the name attribute in the "EN" domain.java.lang.StringgetPageAlias()Returns the value of the pageAlias attribute.booleangetPopup()Returns the value of the popup attribute.java.util.List<java.lang.String>getSubNavi()Returns the value of the subNavi attribute.java.lang.StringgetSubNaviElement(int index)Returns the element at the position index in the list.intgetSubNaviSize()Returns the number of elements in the "subNavi" containerjava.lang.StringgetTitle()Returns the current value of the title attribute.java.lang.StringgetTitleEN()Returns the value of the title attribute in the "EN" domain.booleanisMultilingualDisabledInstance()voidremoveGuardsElement(int index)Removes the element at position index from the list.voidremoveSubNaviElement(int index)Removes the element at position index from the list.voidsetAccessOperation(java.lang.String value)Sets the value of the accessOperation attribute.voidsetClassName(java.lang.String value)Sets the value of the className attribute.voidsetExternalLink(java.lang.String value)Sets the value of the externalLink attribute.voidsetGuards(java.util.List<java.lang.String> value)Sets the value of the guards attribute.voidsetIcon(java.lang.String value)Sets the value of the icon attribute.voidsetInternalLink(java.lang.String value)Sets the value of the internalLink attribute.voidsetMultilingualDisabledInstance(boolean value)voidsetName(java.lang.String value)Sets the value of the name attribute in the current domain.voidsetNameEN(java.lang.String value)Sets the value of the name attribute in the domain "EN"voidsetPageAlias(java.lang.String value)Sets the value of the pageAlias attribute.voidsetPopup(boolean value)Sets the value of the popup attribute.voidsetSubNavi(java.util.List<java.lang.String> value)Sets the value of the subNavi attribute.voidsetTitle(java.lang.String value)Sets the value of the title attribute in the current domain.voidsetTitleEN(java.lang.String value)Sets the value of the title attribute in the domain "EN"voidswapGuardsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapSubNaviElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.java.lang.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
-
NaviItemDocument
public NaviItemDocument()
-
NaviItemDocument
public NaviItemDocument(java.lang.String id)
-
NaviItemDocument
public NaviItemDocument(NaviItemDocument toClone)
-
-
Method Detail
-
getNameEN
public java.lang.String getNameEN()
Description copied from interface:NaviItemReturns the value of the name attribute in the "EN" domain.
-
getName
public java.lang.String getName()
Description copied from interface:NaviItemReturns the current value of the name attribute. Current means in the currently selected domain.
-
setNameEN
public void setNameEN(java.lang.String value)
Description copied from interface:NaviItemSets the value of the name attribute in the domain "EN"
-
setName
public void setName(java.lang.String value)
Description copied from interface:NaviItemSets the value of the name attribute in the current domain. Current means in the currently selected domain.
-
getTitleEN
public java.lang.String getTitleEN()
Description copied from interface:NaviItemReturns the value of the title attribute in the "EN" domain.- Specified by:
getTitleENin interfaceNaviItem
-
getTitle
public java.lang.String getTitle()
Description copied from interface:NaviItemReturns the current value of the title attribute. Current means in the currently selected domain.
-
setTitleEN
public void setTitleEN(java.lang.String value)
Description copied from interface:NaviItemSets the value of the title attribute in the domain "EN"- Specified by:
setTitleENin interfaceNaviItem
-
setTitle
public void setTitle(java.lang.String value)
Description copied from interface:NaviItemSets the value of the title attribute in the current domain. Current means in the currently selected domain.
-
getIcon
public java.lang.String getIcon()
Description copied from interface:NaviItemReturns the value of the icon attribute.
-
setIcon
public void setIcon(java.lang.String value)
Description copied from interface:NaviItemSets the value of the icon attribute.
-
getExternalLink
public java.lang.String getExternalLink()
Description copied from interface:NaviItemReturns the value of the externalLink attribute.- Specified by:
getExternalLinkin interfaceNaviItem
-
setExternalLink
public void setExternalLink(java.lang.String value)
Description copied from interface:NaviItemSets the value of the externalLink attribute.- Specified by:
setExternalLinkin interfaceNaviItem
-
getPopup
public boolean getPopup()
Description copied from interface:NaviItemReturns the value of the popup attribute.
-
setPopup
public void setPopup(boolean value)
Description copied from interface:NaviItemSets the value of the popup attribute.
-
getClassName
public java.lang.String getClassName()
Description copied from interface:NaviItemReturns the value of the className attribute.- Specified by:
getClassNamein interfaceNaviItem
-
setClassName
public void setClassName(java.lang.String value)
Description copied from interface:NaviItemSets the value of the className attribute.- Specified by:
setClassNamein interfaceNaviItem
-
getSubNavi
public java.util.List<java.lang.String> getSubNavi()
Description copied from interface:NaviItemReturns the value of the subNavi attribute.- Specified by:
getSubNaviin interfaceNaviItem
-
setSubNavi
public void setSubNavi(java.util.List<java.lang.String> value)
Description copied from interface:NaviItemSets the value of the subNavi attribute.- Specified by:
setSubNaviin interfaceNaviItem
-
getGuards
public java.util.List<java.lang.String> getGuards()
Description copied from interface:NaviItemReturns the value of the guards attribute.
-
setGuards
public void setGuards(java.util.List<java.lang.String> value)
Description copied from interface:NaviItemSets the value of the guards attribute.
-
getInternalLink
public java.lang.String getInternalLink()
Description copied from interface:NaviItemReturns the value of the internalLink attribute.- Specified by:
getInternalLinkin interfaceNaviItem
-
setInternalLink
public void setInternalLink(java.lang.String value)
Description copied from interface:NaviItemSets the value of the internalLink attribute.- Specified by:
setInternalLinkin interfaceNaviItem
-
getPageAlias
public java.lang.String getPageAlias()
Description copied from interface:NaviItemReturns the value of the pageAlias attribute.- Specified by:
getPageAliasin interfaceNaviItem
-
setPageAlias
public void setPageAlias(java.lang.String value)
Description copied from interface:NaviItemSets the value of the pageAlias attribute.- Specified by:
setPageAliasin interfaceNaviItem
-
getAccessOperation
public java.lang.String getAccessOperation()
Description copied from interface:NaviItemReturns the value of the accessOperation attribute.- Specified by:
getAccessOperationin interfaceNaviItem
-
setAccessOperation
public void setAccessOperation(java.lang.String value)
Description copied from interface:NaviItemSets the value of the accessOperation attribute.- Specified by:
setAccessOperationin interfaceNaviItem
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getSubNaviSize
public int getSubNaviSize()
Description copied from interface:NaviItemReturns the number of elements in the "subNavi" container- Specified by:
getSubNaviSizein interfaceNaviItem
-
addSubNaviElement
public void addSubNaviElement(java.lang.String item)
Description copied from interface:NaviItemAdds a new element to the list.- Specified by:
addSubNaviElementin interfaceNaviItem
-
removeSubNaviElement
public void removeSubNaviElement(int index)
Description copied from interface:NaviItemRemoves the element at position index from the list.- Specified by:
removeSubNaviElementin interfaceNaviItem
-
swapSubNaviElement
public void swapSubNaviElement(int index1, int index2)Description copied from interface:NaviItemSwaps elements at positions index1 and index2 in the list.- Specified by:
swapSubNaviElementin interfaceNaviItem
-
getSubNaviElement
public java.lang.String getSubNaviElement(int index)
Description copied from interface:NaviItemReturns the element at the position index in the list.- Specified by:
getSubNaviElementin interfaceNaviItem
-
getGuardsSize
public int getGuardsSize()
Description copied from interface:NaviItemReturns the number of elements in the "guards" container- Specified by:
getGuardsSizein interfaceNaviItem
-
addGuardsElement
public void addGuardsElement(java.lang.String guard)
Description copied from interface:NaviItemAdds a new element to the list.- Specified by:
addGuardsElementin interfaceNaviItem
-
removeGuardsElement
public void removeGuardsElement(int index)
Description copied from interface:NaviItemRemoves the element at position index from the list.- Specified by:
removeGuardsElementin interfaceNaviItem
-
swapGuardsElement
public void swapGuardsElement(int index1, int index2)Description copied from interface:NaviItemSwaps elements at positions index1 and index2 in the list.- Specified by:
swapGuardsElementin interfaceNaviItem
-
getGuardsElement
public java.lang.String getGuardsElement(int index)
Description copied from interface:NaviItemReturns the element at the position index in the list.- Specified by:
getGuardsElementin interfaceNaviItem
-
compareTo
public int compareTo(NaviItem comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public java.lang.String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public java.lang.String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public java.lang.String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
copyLANG2LANG
public void copyLANG2LANG(java.lang.String sourceLanguage, java.lang.String destLanguage)Description copied from interface:NaviItemCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfaceNaviItem
-
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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-