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:
-
Field Summary
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLEDFields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERFields 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_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_SUBBOXESFields inherited from interface net.anotheria.asg.data.LockableObject
INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributesElement(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.intintcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) voidcopyLANG2LANG(String sourceLanguage, String destLanguage) Copies all multilingual properties from source language to destination languagebooleanReturns the value of the accessOperation attribute.Returns the value of the attributes attribute.getAttributesElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "attributes" containerReturns the current value of the content attribute.Returns the value of the content attribute in the "EN" domain.Returns the value of the cssClass attribute.Returns the value of the feature attribute.Returns the value of the guards attribute.getGuardsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "guards" containerReturns the value of the handler attribute.Returns the value of the localizations attribute.getLocalizationsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "localizations" containerReturns the value of the mediaLinks attribute.getMediaLinksElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "mediaLinks" containergetName()Returns the value of the name attribute.Returns the value of the parameter1 attribute.Returns the value of the parameter10 attribute.Returns the value of the parameter2 attribute.Returns the value of the parameter3 attribute.Returns the value of the parameter4 attribute.Returns the value of the parameter5 attribute.Returns the value of the parameter6 attribute.Returns the value of the parameter7 attribute.Returns the value of the parameter8 attribute.Returns the value of the parameter9 attribute.Returns the value of the scripts attribute.getScriptsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "scripts" containerReturns the value of the subboxes attribute.getSubboxesElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "subboxes" containergetType()Returns the value of the type attribute.booleanvoidremoveAttributesElement(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.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.voidSets 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) voidSets 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.voidSets 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.toString()Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeMethods 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, toXMLNodeMethods inherited from class net.anotheria.anodoc.data.DataHolder
getId, hashCode, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.anotheria.asg.data.DataObject
clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
-
Constructor Details
-
BoxDocument
public BoxDocument() -
BoxDocument
-
BoxDocument
-
-
Method Details
-
getName
Description copied from interface:BoxReturns the value of the name attribute. -
setName
Description copied from interface:BoxSets the value of the name attribute. -
getContentEN
Description copied from interface:BoxReturns the value of the content attribute in the "EN" domain.- Specified by:
getContentENin interfaceBox
-
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
Description copied from interface:BoxSets the value of the content attribute in the domain "EN"- Specified by:
setContentENin interfaceBox
-
setContent
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
Description copied from interface:BoxReturns the value of the mediaLinks attribute.- Specified by:
getMediaLinksin interfaceBox
-
setMediaLinks
Description copied from interface:BoxSets the value of the mediaLinks attribute.- Specified by:
setMediaLinksin interfaceBox
-
getScripts
Description copied from interface:BoxReturns the value of the scripts attribute.- Specified by:
getScriptsin interfaceBox
-
setScripts
Description copied from interface:BoxSets the value of the scripts attribute.- Specified by:
setScriptsin interfaceBox
-
getLocalizations
Description copied from interface:BoxReturns the value of the localizations attribute.- Specified by:
getLocalizationsin interfaceBox
-
setLocalizations
Description copied from interface:BoxSets the value of the localizations attribute.- Specified by:
setLocalizationsin interfaceBox
-
getSubboxes
Description copied from interface:BoxReturns the value of the subboxes attribute.- Specified by:
getSubboxesin interfaceBox
-
setSubboxes
Description copied from interface:BoxSets the value of the subboxes attribute.- Specified by:
setSubboxesin interfaceBox
-
getCssClass
Description copied from interface:BoxReturns the value of the cssClass attribute.- Specified by:
getCssClassin interfaceBox
-
setCssClass
Description copied from interface:BoxSets the value of the cssClass attribute.- Specified by:
setCssClassin interfaceBox
-
getParameter1
Description copied from interface:BoxReturns the value of the parameter1 attribute.- Specified by:
getParameter1in interfaceBox
-
setParameter1
Description copied from interface:BoxSets the value of the parameter1 attribute.- Specified by:
setParameter1in interfaceBox
-
getParameter2
Description copied from interface:BoxReturns the value of the parameter2 attribute.- Specified by:
getParameter2in interfaceBox
-
setParameter2
Description copied from interface:BoxSets the value of the parameter2 attribute.- Specified by:
setParameter2in interfaceBox
-
getParameter3
Description copied from interface:BoxReturns the value of the parameter3 attribute.- Specified by:
getParameter3in interfaceBox
-
setParameter3
Description copied from interface:BoxSets the value of the parameter3 attribute.- Specified by:
setParameter3in interfaceBox
-
getParameter4
Description copied from interface:BoxReturns the value of the parameter4 attribute.- Specified by:
getParameter4in interfaceBox
-
setParameter4
Description copied from interface:BoxSets the value of the parameter4 attribute.- Specified by:
setParameter4in interfaceBox
-
getParameter5
Description copied from interface:BoxReturns the value of the parameter5 attribute.- Specified by:
getParameter5in interfaceBox
-
setParameter5
Description copied from interface:BoxSets the value of the parameter5 attribute.- Specified by:
setParameter5in interfaceBox
-
getParameter6
Description copied from interface:BoxReturns the value of the parameter6 attribute.- Specified by:
getParameter6in interfaceBox
-
setParameter6
Description copied from interface:BoxSets the value of the parameter6 attribute.- Specified by:
setParameter6in interfaceBox
-
getParameter7
Description copied from interface:BoxReturns the value of the parameter7 attribute.- Specified by:
getParameter7in interfaceBox
-
setParameter7
Description copied from interface:BoxSets the value of the parameter7 attribute.- Specified by:
setParameter7in interfaceBox
-
getParameter8
Description copied from interface:BoxReturns the value of the parameter8 attribute.- Specified by:
getParameter8in interfaceBox
-
setParameter8
Description copied from interface:BoxSets the value of the parameter8 attribute.- Specified by:
setParameter8in interfaceBox
-
getParameter9
Description copied from interface:BoxReturns the value of the parameter9 attribute.- Specified by:
getParameter9in interfaceBox
-
setParameter9
Description copied from interface:BoxSets the value of the parameter9 attribute.- Specified by:
setParameter9in interfaceBox
-
getParameter10
Description copied from interface:BoxReturns the value of the parameter10 attribute.- Specified by:
getParameter10in interfaceBox
-
setParameter10
Description copied from interface:BoxSets the value of the parameter10 attribute.- Specified by:
setParameter10in interfaceBox
-
getGuards
Description copied from interface:BoxReturns the value of the guards attribute. -
setGuards
Description copied from interface:BoxSets the value of the guards attribute. -
getAttributes
Description copied from interface:BoxReturns the value of the attributes attribute.- Specified by:
getAttributesin interfaceBox
-
setAttributes
Description copied from interface:BoxSets the value of the attributes attribute.- Specified by:
setAttributesin interfaceBox
-
getType
Description copied from interface:BoxReturns the value of the type attribute. -
setType
Description copied from interface:BoxSets the value of the type attribute. -
getHandler
Description copied from interface:BoxReturns the value of the handler attribute.- Specified by:
getHandlerin interfaceBox
-
setHandler
Description copied from interface:BoxSets the value of the handler attribute.- Specified by:
setHandlerin interfaceBox
-
getAccessOperation
Description copied from interface:BoxReturns the value of the accessOperation attribute.- Specified by:
getAccessOperationin interfaceBox
-
setAccessOperation
Description copied from interface:BoxSets the value of the accessOperation attribute.- Specified by:
setAccessOperationin interfaceBox
-
getFeature
Description copied from interface:BoxReturns the value of the feature attribute.- Specified by:
getFeaturein interfaceBox
-
setFeature
Description copied from interface:BoxSets the value of the feature attribute.- Specified by:
setFeaturein interfaceBox
-
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
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
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
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
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
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
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
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
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
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
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
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
Description copied from interface:BoxReturns the element at the position index in the list.- Specified by:
getAttributesElementin interfaceBox
-
compareTo
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) - Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
copyLANG2LANG
Description copied from interface:BoxCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfaceBox
-
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
-