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:
  • Constructor Details

    • BoxDocument

      public BoxDocument()
    • BoxDocument

      public BoxDocument(String id)
    • BoxDocument

      public BoxDocument(BoxDocument toClone)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Box
      Returns the value of the name attribute.
      Specified by:
      getName in interface Box
    • setName

      public void setName(String value)
      Description copied from interface: Box
      Sets the value of the name attribute.
      Specified by:
      setName in interface Box
    • getContentEN

      public String getContentEN()
      Description copied from interface: Box
      Returns the value of the content attribute in the "EN" domain.
      Specified by:
      getContentEN in interface Box
    • getContent

      public String getContent()
      Description copied from interface: Box
      Returns the current value of the content attribute. Current means in the currently selected domain.
      Specified by:
      getContent in interface Box
    • setContentEN

      public void setContentEN(String value)
      Description copied from interface: Box
      Sets the value of the content attribute in the domain "EN"
      Specified by:
      setContentEN in interface Box
    • setContent

      public void setContent(String value)
      Description copied from interface: Box
      Sets the value of the content attribute in the current domain. Current means in the currently selected domain.
      Specified by:
      setContent in interface Box
    • getMediaLinks

      public List<String> getMediaLinks()
      Description copied from interface: Box
      Returns the value of the mediaLinks attribute.
      Specified by:
      getMediaLinks in interface Box
    • setMediaLinks

      public void setMediaLinks(List<String> value)
      Description copied from interface: Box
      Sets the value of the mediaLinks attribute.
      Specified by:
      setMediaLinks in interface Box
    • getScripts

      public List<String> getScripts()
      Description copied from interface: Box
      Returns the value of the scripts attribute.
      Specified by:
      getScripts in interface Box
    • setScripts

      public void setScripts(List<String> value)
      Description copied from interface: Box
      Sets the value of the scripts attribute.
      Specified by:
      setScripts in interface Box
    • getLocalizations

      public List<String> getLocalizations()
      Description copied from interface: Box
      Returns the value of the localizations attribute.
      Specified by:
      getLocalizations in interface Box
    • setLocalizations

      public void setLocalizations(List<String> value)
      Description copied from interface: Box
      Sets the value of the localizations attribute.
      Specified by:
      setLocalizations in interface Box
    • getSubboxes

      public List<String> getSubboxes()
      Description copied from interface: Box
      Returns the value of the subboxes attribute.
      Specified by:
      getSubboxes in interface Box
    • setSubboxes

      public void setSubboxes(List<String> value)
      Description copied from interface: Box
      Sets the value of the subboxes attribute.
      Specified by:
      setSubboxes in interface Box
    • getCssClass

      public String getCssClass()
      Description copied from interface: Box
      Returns the value of the cssClass attribute.
      Specified by:
      getCssClass in interface Box
    • setCssClass

      public void setCssClass(String value)
      Description copied from interface: Box
      Sets the value of the cssClass attribute.
      Specified by:
      setCssClass in interface Box
    • getParameter1

      public String getParameter1()
      Description copied from interface: Box
      Returns the value of the parameter1 attribute.
      Specified by:
      getParameter1 in interface Box
    • setParameter1

      public void setParameter1(String value)
      Description copied from interface: Box
      Sets the value of the parameter1 attribute.
      Specified by:
      setParameter1 in interface Box
    • getParameter2

      public String getParameter2()
      Description copied from interface: Box
      Returns the value of the parameter2 attribute.
      Specified by:
      getParameter2 in interface Box
    • setParameter2

      public void setParameter2(String value)
      Description copied from interface: Box
      Sets the value of the parameter2 attribute.
      Specified by:
      setParameter2 in interface Box
    • getParameter3

      public String getParameter3()
      Description copied from interface: Box
      Returns the value of the parameter3 attribute.
      Specified by:
      getParameter3 in interface Box
    • setParameter3

      public void setParameter3(String value)
      Description copied from interface: Box
      Sets the value of the parameter3 attribute.
      Specified by:
      setParameter3 in interface Box
    • getParameter4

      public String getParameter4()
      Description copied from interface: Box
      Returns the value of the parameter4 attribute.
      Specified by:
      getParameter4 in interface Box
    • setParameter4

      public void setParameter4(String value)
      Description copied from interface: Box
      Sets the value of the parameter4 attribute.
      Specified by:
      setParameter4 in interface Box
    • getParameter5

      public String getParameter5()
      Description copied from interface: Box
      Returns the value of the parameter5 attribute.
      Specified by:
      getParameter5 in interface Box
    • setParameter5

      public void setParameter5(String value)
      Description copied from interface: Box
      Sets the value of the parameter5 attribute.
      Specified by:
      setParameter5 in interface Box
    • getParameter6

      public String getParameter6()
      Description copied from interface: Box
      Returns the value of the parameter6 attribute.
      Specified by:
      getParameter6 in interface Box
    • setParameter6

      public void setParameter6(String value)
      Description copied from interface: Box
      Sets the value of the parameter6 attribute.
      Specified by:
      setParameter6 in interface Box
    • getParameter7

      public String getParameter7()
      Description copied from interface: Box
      Returns the value of the parameter7 attribute.
      Specified by:
      getParameter7 in interface Box
    • setParameter7

      public void setParameter7(String value)
      Description copied from interface: Box
      Sets the value of the parameter7 attribute.
      Specified by:
      setParameter7 in interface Box
    • getParameter8

      public String getParameter8()
      Description copied from interface: Box
      Returns the value of the parameter8 attribute.
      Specified by:
      getParameter8 in interface Box
    • setParameter8

      public void setParameter8(String value)
      Description copied from interface: Box
      Sets the value of the parameter8 attribute.
      Specified by:
      setParameter8 in interface Box
    • getParameter9

      public String getParameter9()
      Description copied from interface: Box
      Returns the value of the parameter9 attribute.
      Specified by:
      getParameter9 in interface Box
    • setParameter9

      public void setParameter9(String value)
      Description copied from interface: Box
      Sets the value of the parameter9 attribute.
      Specified by:
      setParameter9 in interface Box
    • getParameter10

      public String getParameter10()
      Description copied from interface: Box
      Returns the value of the parameter10 attribute.
      Specified by:
      getParameter10 in interface Box
    • setParameter10

      public void setParameter10(String value)
      Description copied from interface: Box
      Sets the value of the parameter10 attribute.
      Specified by:
      setParameter10 in interface Box
    • getGuards

      public List<String> getGuards()
      Description copied from interface: Box
      Returns the value of the guards attribute.
      Specified by:
      getGuards in interface Box
    • setGuards

      public void setGuards(List<String> value)
      Description copied from interface: Box
      Sets the value of the guards attribute.
      Specified by:
      setGuards in interface Box
    • getAttributes

      public List<String> getAttributes()
      Description copied from interface: Box
      Returns the value of the attributes attribute.
      Specified by:
      getAttributes in interface Box
    • setAttributes

      public void setAttributes(List<String> value)
      Description copied from interface: Box
      Sets the value of the attributes attribute.
      Specified by:
      setAttributes in interface Box
    • getType

      public String getType()
      Description copied from interface: Box
      Returns the value of the type attribute.
      Specified by:
      getType in interface Box
    • setType

      public void setType(String value)
      Description copied from interface: Box
      Sets the value of the type attribute.
      Specified by:
      setType in interface Box
    • getHandler

      public String getHandler()
      Description copied from interface: Box
      Returns the value of the handler attribute.
      Specified by:
      getHandler in interface Box
    • setHandler

      public void setHandler(String value)
      Description copied from interface: Box
      Sets the value of the handler attribute.
      Specified by:
      setHandler in interface Box
    • getAccessOperation

      public String getAccessOperation()
      Description copied from interface: Box
      Returns the value of the accessOperation attribute.
      Specified by:
      getAccessOperation in interface Box
    • setAccessOperation

      public void setAccessOperation(String value)
      Description copied from interface: Box
      Sets the value of the accessOperation attribute.
      Specified by:
      setAccessOperation in interface Box
    • getFeature

      public String getFeature()
      Description copied from interface: Box
      Returns the value of the feature attribute.
      Specified by:
      getFeature in interface Box
    • setFeature

      public void setFeature(String value)
      Description copied from interface: Box
      Sets the value of the feature attribute.
      Specified by:
      setFeature in interface Box
    • toString

      public String toString()
      Overrides:
      toString in class net.anotheria.anodoc.data.Document
    • getMediaLinksSize

      public int getMediaLinksSize()
      Description copied from interface: Box
      Returns the number of elements in the "mediaLinks" container
      Specified by:
      getMediaLinksSize in interface Box
    • addMediaLinksElement

      public void addMediaLinksElement(String mediaLink)
      Description copied from interface: Box
      Adds a new element to the list.
      Specified by:
      addMediaLinksElement in interface Box
    • removeMediaLinksElement

      public void removeMediaLinksElement(int index)
      Description copied from interface: Box
      Removes the element at position index from the list.
      Specified by:
      removeMediaLinksElement in interface Box
    • swapMediaLinksElement

      public void swapMediaLinksElement(int index1, int index2)
      Description copied from interface: Box
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapMediaLinksElement in interface Box
    • getMediaLinksElement

      public String getMediaLinksElement(int index)
      Description copied from interface: Box
      Returns the element at the position index in the list.
      Specified by:
      getMediaLinksElement in interface Box
    • getScriptsSize

      public int getScriptsSize()
      Description copied from interface: Box
      Returns the number of elements in the "scripts" container
      Specified by:
      getScriptsSize in interface Box
    • addScriptsElement

      public void addScriptsElement(String script)
      Description copied from interface: Box
      Adds a new element to the list.
      Specified by:
      addScriptsElement in interface Box
    • removeScriptsElement

      public void removeScriptsElement(int index)
      Description copied from interface: Box
      Removes the element at position index from the list.
      Specified by:
      removeScriptsElement in interface Box
    • swapScriptsElement

      public void swapScriptsElement(int index1, int index2)
      Description copied from interface: Box
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapScriptsElement in interface Box
    • getScriptsElement

      public String getScriptsElement(int index)
      Description copied from interface: Box
      Returns the element at the position index in the list.
      Specified by:
      getScriptsElement in interface Box
    • getLocalizationsSize

      public int getLocalizationsSize()
      Description copied from interface: Box
      Returns the number of elements in the "localizations" container
      Specified by:
      getLocalizationsSize in interface Box
    • addLocalizationsElement

      public void addLocalizationsElement(String localization)
      Description copied from interface: Box
      Adds a new element to the list.
      Specified by:
      addLocalizationsElement in interface Box
    • removeLocalizationsElement

      public void removeLocalizationsElement(int index)
      Description copied from interface: Box
      Removes the element at position index from the list.
      Specified by:
      removeLocalizationsElement in interface Box
    • swapLocalizationsElement

      public void swapLocalizationsElement(int index1, int index2)
      Description copied from interface: Box
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapLocalizationsElement in interface Box
    • getLocalizationsElement

      public String getLocalizationsElement(int index)
      Description copied from interface: Box
      Returns the element at the position index in the list.
      Specified by:
      getLocalizationsElement in interface Box
    • getSubboxesSize

      public int getSubboxesSize()
      Description copied from interface: Box
      Returns the number of elements in the "subboxes" container
      Specified by:
      getSubboxesSize in interface Box
    • addSubboxesElement

      public void addSubboxesElement(String subbox)
      Description copied from interface: Box
      Adds a new element to the list.
      Specified by:
      addSubboxesElement in interface Box
    • removeSubboxesElement

      public void removeSubboxesElement(int index)
      Description copied from interface: Box
      Removes the element at position index from the list.
      Specified by:
      removeSubboxesElement in interface Box
    • swapSubboxesElement

      public void swapSubboxesElement(int index1, int index2)
      Description copied from interface: Box
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapSubboxesElement in interface Box
    • getSubboxesElement

      public String getSubboxesElement(int index)
      Description copied from interface: Box
      Returns the element at the position index in the list.
      Specified by:
      getSubboxesElement in interface Box
    • getGuardsSize

      public int getGuardsSize()
      Description copied from interface: Box
      Returns the number of elements in the "guards" container
      Specified by:
      getGuardsSize in interface Box
    • addGuardsElement

      public void addGuardsElement(String guard)
      Description copied from interface: Box
      Adds a new element to the list.
      Specified by:
      addGuardsElement in interface Box
    • removeGuardsElement

      public void removeGuardsElement(int index)
      Description copied from interface: Box
      Removes the element at position index from the list.
      Specified by:
      removeGuardsElement in interface Box
    • swapGuardsElement

      public void swapGuardsElement(int index1, int index2)
      Description copied from interface: Box
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapGuardsElement in interface Box
    • getGuardsElement

      public String getGuardsElement(int index)
      Description copied from interface: Box
      Returns the element at the position index in the list.
      Specified by:
      getGuardsElement in interface Box
    • getAttributesSize

      public int getAttributesSize()
      Description copied from interface: Box
      Returns the number of elements in the "attributes" container
      Specified by:
      getAttributesSize in interface Box
    • addAttributesElement

      public void addAttributesElement(String attribute)
      Description copied from interface: Box
      Adds a new element to the list.
      Specified by:
      addAttributesElement in interface Box
    • removeAttributesElement

      public void removeAttributesElement(int index)
      Description copied from interface: Box
      Removes the element at position index from the list.
      Specified by:
      removeAttributesElement in interface Box
    • swapAttributesElement

      public void swapAttributesElement(int index1, int index2)
      Description copied from interface: Box
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapAttributesElement in interface Box
    • getAttributesElement

      public String getAttributesElement(int index)
      Description copied from interface: Box
      Returns the element at the position index in the list.
      Specified by:
      getAttributesElement in interface Box
    • compareTo

      public int compareTo(Box comparable)
    • compareTo

      public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
      Specified by:
      compareTo in interface net.anotheria.util.sorter.IComparable
    • getDefinedName

      public String getDefinedName()
      Specified by:
      getDefinedName in interface net.anotheria.asg.data.DataObject
    • getDefinedParentName

      public String getDefinedParentName()
      Specified by:
      getDefinedParentName in interface net.anotheria.asg.data.DataObject
    • getFootprint

      public String getFootprint()
      Specified by:
      getFootprint in interface net.anotheria.asg.data.DataObject
    • copyLANG2LANG

      public void copyLANG2LANG(String sourceLanguage, String destLanguage)
      Description copied from interface: Box
      Copies all multilingual properties from source language to destination language
      Specified by:
      copyLANG2LANG in interface Box
    • isMultilingualDisabledInstance

      public boolean isMultilingualDisabledInstance()
      Specified by:
      isMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObject
    • setMultilingualDisabledInstance

      public void setMultilingualDisabledInstance(boolean value)
      Specified by:
      setMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object