Class BoxDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.aswebdata.data.BoxDocument
-
- All Implemented Interfaces:
Serializable,Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,Box,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.asg.data.MultilingualObject,net.anotheria.util.sorter.IComparable
public class BoxDocument extends net.anotheria.asg.data.AbstractASGDocument implements Box, 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.anosite.gen.aswebdata.data.Box
LINK_PROP_ACCESS_OPERATION, LINK_PROP_FEATURE, LINK_PROP_HANDLER, LINK_PROP_TYPE, PROP_ATTRIBUTES, PROP_CONTENT_DE, PROP_CONTENT_EN, PROP_CSS_CLASS, PROP_GUARDS, PROP_ID, PROP_LOCALIZATIONS, PROP_MEDIA_LINKS, PROP_NAME, PROP_PARAMETER1, PROP_PARAMETER10, PROP_PARAMETER2, PROP_PARAMETER3, PROP_PARAMETER4, PROP_PARAMETER5, PROP_PARAMETER6, PROP_PARAMETER7, PROP_PARAMETER8, PROP_PARAMETER9, PROP_SCRIPTS, PROP_SUBBOXES
-
-
Constructor Summary
Constructors Constructor Description BoxDocument()BoxDocument(String id)BoxDocument(BoxDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttributesElement(String attribute)Adds a new element to the list.voidaddGuardsElement(String guard)Adds a new element to the list.voidaddLocalizationsElement(String localization)Adds a new element to the list.voidaddMediaLinksElement(String mediaLink)Adds a new element to the list.voidaddScriptsElement(String script)Adds a new element to the list.voidaddSubboxesElement(String subbox)Adds a new element to the list.intcompareTo(Box 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)StringgetAccessOperation()Returns the value of the accessOperation attribute.List<String>getAttributes()Returns the value of the attributes attribute.StringgetAttributesElement(int index)Returns the element at the position index in the list.intgetAttributesSize()Returns the number of elements in the "attributes" containerStringgetContent()Returns the current value of the content attribute.StringgetContentDE()Returns the value of the content attribute in the "DE" domain.StringgetContentEN()Returns the value of the content attribute in the "EN" domain.StringgetCssClass()Returns the value of the cssClass attribute.StringgetDefinedName()StringgetDefinedParentName()StringgetFeature()Returns the value of the feature attribute.StringgetFootprint()List<String>getGuards()Returns the value of the guards attribute.StringgetGuardsElement(int index)Returns the element at the position index in the list.intgetGuardsSize()Returns the number of elements in the "guards" containerStringgetHandler()Returns the value of the handler attribute.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" containerList<String>getMediaLinks()Returns the value of the mediaLinks attribute.StringgetMediaLinksElement(int index)Returns the element at the position index in the list.intgetMediaLinksSize()Returns the number of elements in the "mediaLinks" containerStringgetName()Returns the value of the name attribute.StringgetParameter1()Returns the value of the parameter1 attribute.StringgetParameter10()Returns the value of the parameter10 attribute.StringgetParameter2()Returns the value of the parameter2 attribute.StringgetParameter3()Returns the value of the parameter3 attribute.StringgetParameter4()Returns the value of the parameter4 attribute.StringgetParameter5()Returns the value of the parameter5 attribute.StringgetParameter6()Returns the value of the parameter6 attribute.StringgetParameter7()Returns the value of the parameter7 attribute.StringgetParameter8()Returns the value of the parameter8 attribute.StringgetParameter9()Returns the value of the parameter9 attribute.List<String>getScripts()Returns the value of the scripts attribute.StringgetScriptsElement(int index)Returns the element at the position index in the list.intgetScriptsSize()Returns the number of elements in the "scripts" containerList<String>getSubboxes()Returns the value of the subboxes attribute.StringgetSubboxesElement(int index)Returns the element at the position index in the list.intgetSubboxesSize()Returns the number of elements in the "subboxes" containerStringgetType()Returns the value of the type attribute.booleanisMultilingualDisabledInstance()voidremoveAttributesElement(int index)Removes the element at position index from the list.voidremoveGuardsElement(int index)Removes the element at position index from the list.voidremoveLocalizationsElement(int index)Removes the element at position index from the list.voidremoveMediaLinksElement(int index)Removes the element at position index from the list.voidremoveScriptsElement(int index)Removes the element at position index from the list.voidremoveSubboxesElement(int index)Removes the element at position index from the list.voidsetAccessOperation(String value)Sets the value of the accessOperation attribute.voidsetAttributes(List<String> value)Sets the value of the attributes attribute.voidsetContent(String value)Sets the value of the content attribute in the current domain.voidsetContentDE(String value)Sets the value of the content attribute in the domain "DE"voidsetContentEN(String value)Sets the value of the content attribute in the domain "EN"voidsetCssClass(String value)Sets the value of the cssClass attribute.voidsetFeature(String value)Sets the value of the feature attribute.voidsetGuards(List<String> value)Sets the value of the guards attribute.voidsetHandler(String value)Sets the value of the handler attribute.voidsetLocalizations(List<String> value)Sets the value of the localizations attribute.voidsetMediaLinks(List<String> value)Sets the value of the mediaLinks attribute.voidsetMultilingualDisabledInstance(boolean value)voidsetName(String value)Sets the value of the name attribute.voidsetParameter1(String value)Sets the value of the parameter1 attribute.voidsetParameter10(String value)Sets the value of the parameter10 attribute.voidsetParameter2(String value)Sets the value of the parameter2 attribute.voidsetParameter3(String value)Sets the value of the parameter3 attribute.voidsetParameter4(String value)Sets the value of the parameter4 attribute.voidsetParameter5(String value)Sets the value of the parameter5 attribute.voidsetParameter6(String value)Sets the value of the parameter6 attribute.voidsetParameter7(String value)Sets the value of the parameter7 attribute.voidsetParameter8(String value)Sets the value of the parameter8 attribute.voidsetParameter9(String value)Sets the value of the parameter9 attribute.voidsetScripts(List<String> value)Sets the value of the scripts attribute.voidsetSubboxes(List<String> value)Sets the value of the subboxes attribute.voidsetType(String value)Sets the value of the type attribute.voidswapAttributesElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapGuardsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapLocalizationsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapMediaLinksElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapScriptsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.voidswapSubboxesElement(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
-
BoxDocument
public BoxDocument()
-
BoxDocument
public BoxDocument(String id)
-
BoxDocument
public BoxDocument(BoxDocument toClone)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:BoxReturns the value of the name attribute.
-
setName
public void setName(String value)
Description copied from interface:BoxSets the value of the name attribute.
-
getContentEN
public String getContentEN()
Description copied from interface:BoxReturns the value of the content attribute in the "EN" domain.- Specified by:
getContentENin interfaceBox
-
getContentDE
public String getContentDE()
Description copied from interface:BoxReturns the value of the content attribute in the "DE" domain.- Specified by:
getContentDEin interfaceBox
-
getContent
public String getContent()
Description copied from interface:BoxReturns the current value of the content attribute. Current means in the currently selected domain.- Specified by:
getContentin interfaceBox
-
setContentEN
public void setContentEN(String value)
Description copied from interface:BoxSets the value of the content attribute in the domain "EN"- Specified by:
setContentENin interfaceBox
-
setContentDE
public void setContentDE(String value)
Description copied from interface:BoxSets the value of the content attribute in the domain "DE"- Specified by:
setContentDEin interfaceBox
-
setContent
public void setContent(String value)
Description copied from interface:BoxSets the value of the content attribute in the current domain. Current means in the currently selected domain.- Specified by:
setContentin interfaceBox
-
getMediaLinks
public List<String> getMediaLinks()
Description copied from interface:BoxReturns the value of the mediaLinks attribute.- Specified by:
getMediaLinksin interfaceBox
-
setMediaLinks
public void setMediaLinks(List<String> value)
Description copied from interface:BoxSets the value of the mediaLinks attribute.- Specified by:
setMediaLinksin interfaceBox
-
getScripts
public List<String> getScripts()
Description copied from interface:BoxReturns the value of the scripts attribute.- Specified by:
getScriptsin interfaceBox
-
setScripts
public void setScripts(List<String> value)
Description copied from interface:BoxSets the value of the scripts attribute.- Specified by:
setScriptsin interfaceBox
-
getLocalizations
public List<String> getLocalizations()
Description copied from interface:BoxReturns the value of the localizations attribute.- Specified by:
getLocalizationsin interfaceBox
-
setLocalizations
public void setLocalizations(List<String> value)
Description copied from interface:BoxSets the value of the localizations attribute.- Specified by:
setLocalizationsin interfaceBox
-
getSubboxes
public List<String> getSubboxes()
Description copied from interface:BoxReturns the value of the subboxes attribute.- Specified by:
getSubboxesin interfaceBox
-
setSubboxes
public void setSubboxes(List<String> value)
Description copied from interface:BoxSets the value of the subboxes attribute.- Specified by:
setSubboxesin interfaceBox
-
getCssClass
public String getCssClass()
Description copied from interface:BoxReturns the value of the cssClass attribute.- Specified by:
getCssClassin interfaceBox
-
setCssClass
public void setCssClass(String value)
Description copied from interface:BoxSets the value of the cssClass attribute.- Specified by:
setCssClassin interfaceBox
-
getParameter1
public String getParameter1()
Description copied from interface:BoxReturns the value of the parameter1 attribute.- Specified by:
getParameter1in interfaceBox
-
setParameter1
public void setParameter1(String value)
Description copied from interface:BoxSets the value of the parameter1 attribute.- Specified by:
setParameter1in interfaceBox
-
getParameter2
public String getParameter2()
Description copied from interface:BoxReturns the value of the parameter2 attribute.- Specified by:
getParameter2in interfaceBox
-
setParameter2
public void setParameter2(String value)
Description copied from interface:BoxSets the value of the parameter2 attribute.- Specified by:
setParameter2in interfaceBox
-
getParameter3
public String getParameter3()
Description copied from interface:BoxReturns the value of the parameter3 attribute.- Specified by:
getParameter3in interfaceBox
-
setParameter3
public void setParameter3(String value)
Description copied from interface:BoxSets the value of the parameter3 attribute.- Specified by:
setParameter3in interfaceBox
-
getParameter4
public String getParameter4()
Description copied from interface:BoxReturns the value of the parameter4 attribute.- Specified by:
getParameter4in interfaceBox
-
setParameter4
public void setParameter4(String value)
Description copied from interface:BoxSets the value of the parameter4 attribute.- Specified by:
setParameter4in interfaceBox
-
getParameter5
public String getParameter5()
Description copied from interface:BoxReturns the value of the parameter5 attribute.- Specified by:
getParameter5in interfaceBox
-
setParameter5
public void setParameter5(String value)
Description copied from interface:BoxSets the value of the parameter5 attribute.- Specified by:
setParameter5in interfaceBox
-
getParameter6
public String getParameter6()
Description copied from interface:BoxReturns the value of the parameter6 attribute.- Specified by:
getParameter6in interfaceBox
-
setParameter6
public void setParameter6(String value)
Description copied from interface:BoxSets the value of the parameter6 attribute.- Specified by:
setParameter6in interfaceBox
-
getParameter7
public String getParameter7()
Description copied from interface:BoxReturns the value of the parameter7 attribute.- Specified by:
getParameter7in interfaceBox
-
setParameter7
public void setParameter7(String value)
Description copied from interface:BoxSets the value of the parameter7 attribute.- Specified by:
setParameter7in interfaceBox
-
getParameter8
public String getParameter8()
Description copied from interface:BoxReturns the value of the parameter8 attribute.- Specified by:
getParameter8in interfaceBox
-
setParameter8
public void setParameter8(String value)
Description copied from interface:BoxSets the value of the parameter8 attribute.- Specified by:
setParameter8in interfaceBox
-
getParameter9
public String getParameter9()
Description copied from interface:BoxReturns the value of the parameter9 attribute.- Specified by:
getParameter9in interfaceBox
-
setParameter9
public void setParameter9(String value)
Description copied from interface:BoxSets the value of the parameter9 attribute.- Specified by:
setParameter9in interfaceBox
-
getParameter10
public String getParameter10()
Description copied from interface:BoxReturns the value of the parameter10 attribute.- Specified by:
getParameter10in interfaceBox
-
setParameter10
public void setParameter10(String value)
Description copied from interface:BoxSets the value of the parameter10 attribute.- Specified by:
setParameter10in interfaceBox
-
getGuards
public List<String> getGuards()
Description copied from interface:BoxReturns the value of the guards attribute.
-
setGuards
public void setGuards(List<String> value)
Description copied from interface:BoxSets the value of the guards attribute.
-
getAttributes
public List<String> getAttributes()
Description copied from interface:BoxReturns the value of the attributes attribute.- Specified by:
getAttributesin interfaceBox
-
setAttributes
public void setAttributes(List<String> value)
Description copied from interface:BoxSets the value of the attributes attribute.- Specified by:
setAttributesin interfaceBox
-
getType
public String getType()
Description copied from interface:BoxReturns the value of the type attribute.
-
setType
public void setType(String value)
Description copied from interface:BoxSets the value of the type attribute.
-
getHandler
public String getHandler()
Description copied from interface:BoxReturns the value of the handler attribute.- Specified by:
getHandlerin interfaceBox
-
setHandler
public void setHandler(String value)
Description copied from interface:BoxSets the value of the handler attribute.- Specified by:
setHandlerin interfaceBox
-
getAccessOperation
public String getAccessOperation()
Description copied from interface:BoxReturns the value of the accessOperation attribute.- Specified by:
getAccessOperationin interfaceBox
-
setAccessOperation
public void setAccessOperation(String value)
Description copied from interface:BoxSets the value of the accessOperation attribute.- Specified by:
setAccessOperationin interfaceBox
-
getFeature
public String getFeature()
Description copied from interface:BoxReturns the value of the feature attribute.- Specified by:
getFeaturein interfaceBox
-
setFeature
public void setFeature(String value)
Description copied from interface:BoxSets the value of the feature attribute.- Specified by:
setFeaturein interfaceBox
-
toString
public String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getMediaLinksSize
public int getMediaLinksSize()
Description copied from interface:BoxReturns the number of elements in the "mediaLinks" container- Specified by:
getMediaLinksSizein interfaceBox
-
addMediaLinksElement
public void addMediaLinksElement(String mediaLink)
Description copied from interface:BoxAdds a new element to the list.- Specified by:
addMediaLinksElementin interfaceBox
-
removeMediaLinksElement
public void removeMediaLinksElement(int index)
Description copied from interface:BoxRemoves the element at position index from the list.- Specified by:
removeMediaLinksElementin interfaceBox
-
swapMediaLinksElement
public void swapMediaLinksElement(int index1, int index2)Description copied from interface:BoxSwaps elements at positions index1 and index2 in the list.- Specified by:
swapMediaLinksElementin interfaceBox
-
getMediaLinksElement
public String getMediaLinksElement(int index)
Description copied from interface:BoxReturns the element at the position index in the list.- Specified by:
getMediaLinksElementin interfaceBox
-
getScriptsSize
public int getScriptsSize()
Description copied from interface:BoxReturns the number of elements in the "scripts" container- Specified by:
getScriptsSizein interfaceBox
-
addScriptsElement
public void addScriptsElement(String script)
Description copied from interface:BoxAdds a new element to the list.- Specified by:
addScriptsElementin interfaceBox
-
removeScriptsElement
public void removeScriptsElement(int index)
Description copied from interface:BoxRemoves the element at position index from the list.- Specified by:
removeScriptsElementin interfaceBox
-
swapScriptsElement
public void swapScriptsElement(int index1, int index2)Description copied from interface:BoxSwaps elements at positions index1 and index2 in the list.- Specified by:
swapScriptsElementin interfaceBox
-
getScriptsElement
public String getScriptsElement(int index)
Description copied from interface:BoxReturns the element at the position index in the list.- Specified by:
getScriptsElementin interfaceBox
-
getLocalizationsSize
public int getLocalizationsSize()
Description copied from interface:BoxReturns the number of elements in the "localizations" container- Specified by:
getLocalizationsSizein interfaceBox
-
addLocalizationsElement
public void addLocalizationsElement(String localization)
Description copied from interface:BoxAdds a new element to the list.- Specified by:
addLocalizationsElementin interfaceBox
-
removeLocalizationsElement
public void removeLocalizationsElement(int index)
Description copied from interface:BoxRemoves the element at position index from the list.- Specified by:
removeLocalizationsElementin interfaceBox
-
swapLocalizationsElement
public void swapLocalizationsElement(int index1, int index2)Description copied from interface:BoxSwaps elements at positions index1 and index2 in the list.- Specified by:
swapLocalizationsElementin interfaceBox
-
getLocalizationsElement
public String getLocalizationsElement(int index)
Description copied from interface:BoxReturns the element at the position index in the list.- Specified by:
getLocalizationsElementin interfaceBox
-
getSubboxesSize
public int getSubboxesSize()
Description copied from interface:BoxReturns the number of elements in the "subboxes" container- Specified by:
getSubboxesSizein interfaceBox
-
addSubboxesElement
public void addSubboxesElement(String subbox)
Description copied from interface:BoxAdds a new element to the list.- Specified by:
addSubboxesElementin interfaceBox
-
removeSubboxesElement
public void removeSubboxesElement(int index)
Description copied from interface:BoxRemoves the element at position index from the list.- Specified by:
removeSubboxesElementin interfaceBox
-
swapSubboxesElement
public void swapSubboxesElement(int index1, int index2)Description copied from interface:BoxSwaps elements at positions index1 and index2 in the list.- Specified by:
swapSubboxesElementin interfaceBox
-
getSubboxesElement
public String getSubboxesElement(int index)
Description copied from interface:BoxReturns the element at the position index in the list.- Specified by:
getSubboxesElementin interfaceBox
-
getGuardsSize
public int getGuardsSize()
Description copied from interface:BoxReturns the number of elements in the "guards" container- Specified by:
getGuardsSizein interfaceBox
-
addGuardsElement
public void addGuardsElement(String guard)
Description copied from interface:BoxAdds a new element to the list.- Specified by:
addGuardsElementin interfaceBox
-
removeGuardsElement
public void removeGuardsElement(int index)
Description copied from interface:BoxRemoves the element at position index from the list.- Specified by:
removeGuardsElementin interfaceBox
-
swapGuardsElement
public void swapGuardsElement(int index1, int index2)Description copied from interface:BoxSwaps elements at positions index1 and index2 in the list.- Specified by:
swapGuardsElementin interfaceBox
-
getGuardsElement
public String getGuardsElement(int index)
Description copied from interface:BoxReturns the element at the position index in the list.- Specified by:
getGuardsElementin interfaceBox
-
getAttributesSize
public int getAttributesSize()
Description copied from interface:BoxReturns the number of elements in the "attributes" container- Specified by:
getAttributesSizein interfaceBox
-
addAttributesElement
public void addAttributesElement(String attribute)
Description copied from interface:BoxAdds a new element to the list.- Specified by:
addAttributesElementin interfaceBox
-
removeAttributesElement
public void removeAttributesElement(int index)
Description copied from interface:BoxRemoves the element at position index from the list.- Specified by:
removeAttributesElementin interfaceBox
-
swapAttributesElement
public void swapAttributesElement(int index1, int index2)Description copied from interface:BoxSwaps elements at positions index1 and index2 in the list.- Specified by:
swapAttributesElementin interfaceBox
-
getAttributesElement
public String getAttributesElement(int index)
Description copied from interface:BoxReturns the element at the position index in the list.- Specified by:
getAttributesElementin interfaceBox
-
compareTo
public int compareTo(Box 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:BoxCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfaceBox
-
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
-
-