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:
Serializable,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_DE, PROP_DESCRIPTION_EN, PROP_ID, PROP_KEYWORDS_DE, PROP_KEYWORDS_EN, PROP_LANGUAGESELECTOR, PROP_MAIN_NAVI, PROP_NAME, PROP_SUBTITLE_DE, PROP_SUBTITLE_EN, PROP_TITLE_DE, PROP_TITLE_EN, PROP_TOP_NAVI
-
-
Constructor Summary
Constructors Constructor Description SiteDocument()SiteDocument(String id)SiteDocument(SiteDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMainNaviElement(String item)Adds a new element to the list.voidaddTopNaviElement(String item)Adds a new element to the list.intcompareTo(Site 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()StringgetDescription()Returns the current value of the description attribute.StringgetDescriptionDE()Returns the value of the description attribute in the "DE" domain.StringgetDescriptionEN()Returns the value of the description attribute in the "EN" domain.StringgetFootprint()StringgetHeaderBackground()Returns the value of the headerBackground attribute.StringgetKeywords()Returns the current value of the keywords attribute.StringgetKeywordsDE()Returns the value of the keywords attribute in the "DE" domain.StringgetKeywordsEN()Returns the value of the keywords attribute in the "EN" domain.booleangetLanguageselector()Returns the value of the languageselector attribute.List<String>getMainNavi()Returns the value of the mainNavi attribute.StringgetMainNaviElement(int index)Returns the element at the position index in the list.intgetMainNaviSize()Returns the number of elements in the "mainNavi" containerStringgetName()Returns the value of the name attribute.StringgetSearchpage()Returns the value of the searchpage attribute.StringgetSiteLogo()Returns the value of the siteLogo attribute.StringgetStartpage()Returns the value of the startpage attribute.StringgetSubtitle()Returns the current value of the subtitle attribute.StringgetSubtitleDE()Returns the value of the subtitle attribute in the "DE" domain.StringgetSubtitleEN()Returns the value of the subtitle attribute in the "EN" domain.StringgetTitle()Returns the current value of the title attribute.StringgetTitleDE()Returns the value of the title attribute in the "DE" domain.StringgetTitleEN()Returns the value of the title attribute in the "EN" domain.List<String>getTopNavi()Returns the value of the topNavi attribute.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(String value)Sets the value of the description attribute in the current domain.voidsetDescriptionDE(String value)Sets the value of the description attribute in the domain "DE"voidsetDescriptionEN(String value)Sets the value of the description attribute in the domain "EN"voidsetHeaderBackground(String value)Sets the value of the headerBackground attribute.voidsetKeywords(String value)Sets the value of the keywords attribute in the current domain.voidsetKeywordsDE(String value)Sets the value of the keywords attribute in the domain "DE"voidsetKeywordsEN(String value)Sets the value of the keywords attribute in the domain "EN"voidsetLanguageselector(boolean value)Sets the value of the languageselector attribute.voidsetMainNavi(List<String> value)Sets the value of the mainNavi attribute.voidsetMultilingualDisabledInstance(boolean value)voidsetName(String value)Sets the value of the name attribute.voidsetSearchpage(String value)Sets the value of the searchpage attribute.voidsetSiteLogo(String value)Sets the value of the siteLogo attribute.voidsetStartpage(String value)Sets the value of the startpage attribute.voidsetSubtitle(String value)Sets the value of the subtitle attribute in the current domain.voidsetSubtitleDE(String value)Sets the value of the subtitle attribute in the domain "DE"voidsetSubtitleEN(String value)Sets the value of the subtitle attribute in the domain "EN"voidsetTitle(String value)Sets the value of the title attribute in the current domain.voidsetTitleDE(String value)Sets the value of the title attribute in the domain "DE"voidsetTitleEN(String value)Sets the value of the title attribute in the domain "EN"voidsetTopNavi(List<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.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(String id)
-
SiteDocument
public SiteDocument(SiteDocument toClone)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:SiteReturns the value of the name attribute.
-
setName
public void setName(String value)
Description copied from interface:SiteSets the value of the name attribute.
-
getTitleEN
public String getTitleEN()
Description copied from interface:SiteReturns the value of the title attribute in the "EN" domain.- Specified by:
getTitleENin interfaceSite
-
getTitleDE
public String getTitleDE()
Description copied from interface:SiteReturns the value of the title attribute in the "DE" domain.- Specified by:
getTitleDEin interfaceSite
-
getTitle
public 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(String value)
Description copied from interface:SiteSets the value of the title attribute in the domain "EN"- Specified by:
setTitleENin interfaceSite
-
setTitleDE
public void setTitleDE(String value)
Description copied from interface:SiteSets the value of the title attribute in the domain "DE"- Specified by:
setTitleDEin interfaceSite
-
setTitle
public void setTitle(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 String getKeywordsEN()
Description copied from interface:SiteReturns the value of the keywords attribute in the "EN" domain.- Specified by:
getKeywordsENin interfaceSite
-
getKeywordsDE
public String getKeywordsDE()
Description copied from interface:SiteReturns the value of the keywords attribute in the "DE" domain.- Specified by:
getKeywordsDEin interfaceSite
-
getKeywords
public 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(String value)
Description copied from interface:SiteSets the value of the keywords attribute in the domain "EN"- Specified by:
setKeywordsENin interfaceSite
-
setKeywordsDE
public void setKeywordsDE(String value)
Description copied from interface:SiteSets the value of the keywords attribute in the domain "DE"- Specified by:
setKeywordsDEin interfaceSite
-
setKeywords
public void setKeywords(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 String getDescriptionEN()
Description copied from interface:SiteReturns the value of the description attribute in the "EN" domain.- Specified by:
getDescriptionENin interfaceSite
-
getDescriptionDE
public String getDescriptionDE()
Description copied from interface:SiteReturns the value of the description attribute in the "DE" domain.- Specified by:
getDescriptionDEin interfaceSite
-
getDescription
public 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(String value)
Description copied from interface:SiteSets the value of the description attribute in the domain "EN"- Specified by:
setDescriptionENin interfaceSite
-
setDescriptionDE
public void setDescriptionDE(String value)
Description copied from interface:SiteSets the value of the description attribute in the domain "DE"- Specified by:
setDescriptionDEin interfaceSite
-
setDescription
public void setDescription(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 String getSubtitleEN()
Description copied from interface:SiteReturns the value of the subtitle attribute in the "EN" domain.- Specified by:
getSubtitleENin interfaceSite
-
getSubtitleDE
public String getSubtitleDE()
Description copied from interface:SiteReturns the value of the subtitle attribute in the "DE" domain.- Specified by:
getSubtitleDEin interfaceSite
-
getSubtitle
public 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(String value)
Description copied from interface:SiteSets the value of the subtitle attribute in the domain "EN"- Specified by:
setSubtitleENin interfaceSite
-
setSubtitleDE
public void setSubtitleDE(String value)
Description copied from interface:SiteSets the value of the subtitle attribute in the domain "DE"- Specified by:
setSubtitleDEin interfaceSite
-
setSubtitle
public void setSubtitle(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 List<String> getMainNavi()
Description copied from interface:SiteReturns the value of the mainNavi attribute.- Specified by:
getMainNaviin interfaceSite
-
setMainNavi
public void setMainNavi(List<String> value)
Description copied from interface:SiteSets the value of the mainNavi attribute.- Specified by:
setMainNaviin interfaceSite
-
getTopNavi
public List<String> getTopNavi()
Description copied from interface:SiteReturns the value of the topNavi attribute.- Specified by:
getTopNaviin interfaceSite
-
setTopNavi
public void setTopNavi(List<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 String getStartpage()
Description copied from interface:SiteReturns the value of the startpage attribute.- Specified by:
getStartpagein interfaceSite
-
setStartpage
public void setStartpage(String value)
Description copied from interface:SiteSets the value of the startpage attribute.- Specified by:
setStartpagein interfaceSite
-
getSearchpage
public String getSearchpage()
Description copied from interface:SiteReturns the value of the searchpage attribute.- Specified by:
getSearchpagein interfaceSite
-
setSearchpage
public void setSearchpage(String value)
Description copied from interface:SiteSets the value of the searchpage attribute.- Specified by:
setSearchpagein interfaceSite
-
getHeaderBackground
public String getHeaderBackground()
Description copied from interface:SiteReturns the value of the headerBackground attribute.- Specified by:
getHeaderBackgroundin interfaceSite
-
setHeaderBackground
public void setHeaderBackground(String value)
Description copied from interface:SiteSets the value of the headerBackground attribute.- Specified by:
setHeaderBackgroundin interfaceSite
-
getSiteLogo
public String getSiteLogo()
Description copied from interface:SiteReturns the value of the siteLogo attribute.- Specified by:
getSiteLogoin interfaceSite
-
setSiteLogo
public void setSiteLogo(String value)
Description copied from interface:SiteSets the value of the siteLogo attribute.- Specified by:
setSiteLogoin interfaceSite
-
toString
public 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(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 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(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 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 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:SiteCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfaceSite
-
copyEN2DE
public void copyEN2DE()
Copies all multilingual properties from language EN to language DE
-
copyDE2EN
public void copyDE2EN()
Copies all multilingual properties from language DE to language EN
-
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
-
-