Class SiteDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.assitedata.data.SiteDocument
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,Site,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.asg.data.MultilingualObject,net.anotheria.util.sorter.IComparable
public class SiteDocument extends net.anotheria.asg.data.AbstractASGDocument implements Site, 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.Site
LINK_PROP_HEADER_BACKGROUND, LINK_PROP_SEARCHPAGE, LINK_PROP_SITE_LOGO, LINK_PROP_STARTPAGE, PROP_DESCRIPTION_EN, PROP_ID, PROP_KEYWORDS_EN, PROP_LANGUAGESELECTOR, PROP_MAIN_NAVI, PROP_NAME, PROP_SUBTITLE_EN, PROP_TITLE_EN, PROP_TOP_NAVI
-
-
Constructor Summary
Constructors Constructor Description SiteDocument()SiteDocument(java.lang.String id)SiteDocument(SiteDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMainNaviElement(java.lang.String item)Adds a new element to the list.voidaddTopNaviElement(java.lang.String item)Adds a new element to the list.intcompareTo(Site 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.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetDescription()Returns the current value of the description attribute.java.lang.StringgetDescriptionEN()Returns the value of the description attribute in the "EN" domain.java.lang.StringgetFootprint()java.lang.StringgetHeaderBackground()Returns the value of the headerBackground attribute.java.lang.StringgetKeywords()Returns the current value of the keywords attribute.java.lang.StringgetKeywordsEN()Returns the value of the keywords attribute in the "EN" domain.booleangetLanguageselector()Returns the value of the languageselector attribute.java.util.List<java.lang.String>getMainNavi()Returns the value of the mainNavi attribute.java.lang.StringgetMainNaviElement(int index)Returns the element at the position index in the list.intgetMainNaviSize()Returns the number of elements in the "mainNavi" containerjava.lang.StringgetName()Returns the value of the name attribute.java.lang.StringgetSearchpage()Returns the value of the searchpage attribute.java.lang.StringgetSiteLogo()Returns the value of the siteLogo attribute.java.lang.StringgetStartpage()Returns the value of the startpage attribute.java.lang.StringgetSubtitle()Returns the current value of the subtitle attribute.java.lang.StringgetSubtitleEN()Returns the value of the subtitle attribute in the "EN" domain.java.lang.StringgetTitle()Returns the current value of the title attribute.java.lang.StringgetTitleEN()Returns the value of the title attribute in the "EN" domain.java.util.List<java.lang.String>getTopNavi()Returns the value of the topNavi attribute.java.lang.StringgetTopNaviElement(int index)Returns the element at the position index in the list.intgetTopNaviSize()Returns the number of elements in the "topNavi" containerbooleanisMultilingualDisabledInstance()voidremoveMainNaviElement(int index)Removes the element at position index from the list.voidremoveTopNaviElement(int index)Removes the element at position index from the list.voidsetDescription(java.lang.String value)Sets the value of the description attribute in the current domain.voidsetDescriptionEN(java.lang.String value)Sets the value of the description attribute in the domain "EN"voidsetHeaderBackground(java.lang.String value)Sets the value of the headerBackground attribute.voidsetKeywords(java.lang.String value)Sets the value of the keywords attribute in the current domain.voidsetKeywordsEN(java.lang.String value)Sets the value of the keywords attribute in the domain "EN"voidsetLanguageselector(boolean value)Sets the value of the languageselector attribute.voidsetMainNavi(java.util.List<java.lang.String> value)Sets the value of the mainNavi attribute.voidsetMultilingualDisabledInstance(boolean value)voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetSearchpage(java.lang.String value)Sets the value of the searchpage attribute.voidsetSiteLogo(java.lang.String value)Sets the value of the siteLogo attribute.voidsetStartpage(java.lang.String value)Sets the value of the startpage attribute.voidsetSubtitle(java.lang.String value)Sets the value of the subtitle attribute in the current domain.voidsetSubtitleEN(java.lang.String value)Sets the value of the subtitle attribute in the domain "EN"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"voidsetTopNavi(java.util.List<java.lang.String> value)Sets the value of the topNavi attribute.voidswapMainNaviElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapTopNaviElement(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
-
SiteDocument
public SiteDocument()
-
SiteDocument
public SiteDocument(java.lang.String id)
-
SiteDocument
public SiteDocument(SiteDocument toClone)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:SiteReturns the value of the name attribute.
-
setName
public void setName(java.lang.String value)
Description copied from interface:SiteSets the value of the name attribute.
-
getTitleEN
public java.lang.String getTitleEN()
Description copied from interface:SiteReturns the value of the title attribute in the "EN" domain.- Specified by:
getTitleENin interfaceSite
-
getTitle
public java.lang.String getTitle()
Description copied from interface:SiteReturns 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:SiteSets the value of the title attribute in the domain "EN"- Specified by:
setTitleENin interfaceSite
-
setTitle
public void setTitle(java.lang.String value)
Description copied from interface:SiteSets the value of the title attribute in the current domain. Current means in the currently selected domain.
-
getKeywordsEN
public java.lang.String getKeywordsEN()
Description copied from interface:SiteReturns the value of the keywords attribute in the "EN" domain.- Specified by:
getKeywordsENin interfaceSite
-
getKeywords
public java.lang.String getKeywords()
Description copied from interface:SiteReturns the current value of the keywords attribute. Current means in the currently selected domain.- Specified by:
getKeywordsin interfaceSite
-
setKeywordsEN
public void setKeywordsEN(java.lang.String value)
Description copied from interface:SiteSets the value of the keywords attribute in the domain "EN"- Specified by:
setKeywordsENin interfaceSite
-
setKeywords
public void setKeywords(java.lang.String value)
Description copied from interface:SiteSets the value of the keywords attribute in the current domain. Current means in the currently selected domain.- Specified by:
setKeywordsin interfaceSite
-
getDescriptionEN
public java.lang.String getDescriptionEN()
Description copied from interface:SiteReturns the value of the description attribute in the "EN" domain.- Specified by:
getDescriptionENin interfaceSite
-
getDescription
public java.lang.String getDescription()
Description copied from interface:SiteReturns the current value of the description attribute. Current means in the currently selected domain.- Specified by:
getDescriptionin interfaceSite
-
setDescriptionEN
public void setDescriptionEN(java.lang.String value)
Description copied from interface:SiteSets the value of the description attribute in the domain "EN"- Specified by:
setDescriptionENin interfaceSite
-
setDescription
public void setDescription(java.lang.String value)
Description copied from interface:SiteSets the value of the description attribute in the current domain. Current means in the currently selected domain.- Specified by:
setDescriptionin interfaceSite
-
getSubtitleEN
public java.lang.String getSubtitleEN()
Description copied from interface:SiteReturns the value of the subtitle attribute in the "EN" domain.- Specified by:
getSubtitleENin interfaceSite
-
getSubtitle
public java.lang.String getSubtitle()
Description copied from interface:SiteReturns the current value of the subtitle attribute. Current means in the currently selected domain.- Specified by:
getSubtitlein interfaceSite
-
setSubtitleEN
public void setSubtitleEN(java.lang.String value)
Description copied from interface:SiteSets the value of the subtitle attribute in the domain "EN"- Specified by:
setSubtitleENin interfaceSite
-
setSubtitle
public void setSubtitle(java.lang.String value)
Description copied from interface:SiteSets the value of the subtitle attribute in the current domain. Current means in the currently selected domain.- Specified by:
setSubtitlein interfaceSite
-
getMainNavi
public java.util.List<java.lang.String> getMainNavi()
Description copied from interface:SiteReturns the value of the mainNavi attribute.- Specified by:
getMainNaviin interfaceSite
-
setMainNavi
public void setMainNavi(java.util.List<java.lang.String> value)
Description copied from interface:SiteSets the value of the mainNavi attribute.- Specified by:
setMainNaviin interfaceSite
-
getTopNavi
public java.util.List<java.lang.String> getTopNavi()
Description copied from interface:SiteReturns the value of the topNavi attribute.- Specified by:
getTopNaviin interfaceSite
-
setTopNavi
public void setTopNavi(java.util.List<java.lang.String> value)
Description copied from interface:SiteSets the value of the topNavi attribute.- Specified by:
setTopNaviin interfaceSite
-
getLanguageselector
public boolean getLanguageselector()
Description copied from interface:SiteReturns the value of the languageselector attribute.- Specified by:
getLanguageselectorin interfaceSite
-
setLanguageselector
public void setLanguageselector(boolean value)
Description copied from interface:SiteSets the value of the languageselector attribute.- Specified by:
setLanguageselectorin interfaceSite
-
getStartpage
public java.lang.String getStartpage()
Description copied from interface:SiteReturns the value of the startpage attribute.- Specified by:
getStartpagein interfaceSite
-
setStartpage
public void setStartpage(java.lang.String value)
Description copied from interface:SiteSets the value of the startpage attribute.- Specified by:
setStartpagein interfaceSite
-
getSearchpage
public java.lang.String getSearchpage()
Description copied from interface:SiteReturns the value of the searchpage attribute.- Specified by:
getSearchpagein interfaceSite
-
setSearchpage
public void setSearchpage(java.lang.String value)
Description copied from interface:SiteSets the value of the searchpage attribute.- Specified by:
setSearchpagein interfaceSite
-
getHeaderBackground
public java.lang.String getHeaderBackground()
Description copied from interface:SiteReturns the value of the headerBackground attribute.- Specified by:
getHeaderBackgroundin interfaceSite
-
setHeaderBackground
public void setHeaderBackground(java.lang.String value)
Description copied from interface:SiteSets the value of the headerBackground attribute.- Specified by:
setHeaderBackgroundin interfaceSite
-
getSiteLogo
public java.lang.String getSiteLogo()
Description copied from interface:SiteReturns the value of the siteLogo attribute.- Specified by:
getSiteLogoin interfaceSite
-
setSiteLogo
public void setSiteLogo(java.lang.String value)
Description copied from interface:SiteSets the value of the siteLogo attribute.- Specified by:
setSiteLogoin interfaceSite
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getMainNaviSize
public int getMainNaviSize()
Description copied from interface:SiteReturns the number of elements in the "mainNavi" container- Specified by:
getMainNaviSizein interfaceSite
-
addMainNaviElement
public void addMainNaviElement(java.lang.String item)
Description copied from interface:SiteAdds a new element to the list.- Specified by:
addMainNaviElementin interfaceSite
-
removeMainNaviElement
public void removeMainNaviElement(int index)
Description copied from interface:SiteRemoves the element at position index from the list.- Specified by:
removeMainNaviElementin interfaceSite
-
swapMainNaviElement
public void swapMainNaviElement(int index1, int index2)Description copied from interface:SiteSwaps elements at positions index1 and index2 in the list.- Specified by:
swapMainNaviElementin interfaceSite
-
getMainNaviElement
public java.lang.String getMainNaviElement(int index)
Description copied from interface:SiteReturns the element at the position index in the list.- Specified by:
getMainNaviElementin interfaceSite
-
getTopNaviSize
public int getTopNaviSize()
Description copied from interface:SiteReturns the number of elements in the "topNavi" container- Specified by:
getTopNaviSizein interfaceSite
-
addTopNaviElement
public void addTopNaviElement(java.lang.String item)
Description copied from interface:SiteAdds a new element to the list.- Specified by:
addTopNaviElementin interfaceSite
-
removeTopNaviElement
public void removeTopNaviElement(int index)
Description copied from interface:SiteRemoves the element at position index from the list.- Specified by:
removeTopNaviElementin interfaceSite
-
swapTopNaviElement
public void swapTopNaviElement(int index1, int index2)Description copied from interface:SiteSwaps elements at positions index1 and index2 in the list.- Specified by:
swapTopNaviElementin interfaceSite
-
getTopNaviElement
public java.lang.String getTopNaviElement(int index)
Description copied from interface:SiteReturns the element at the position index in the list.- Specified by:
getTopNaviElementin interfaceSite
-
compareTo
public int compareTo(Site 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:SiteCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfaceSite
-
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
-
-