Class ScriptDocument

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, net.anotheria.anodoc.data.IBasicStoreableObject, net.anotheria.anodoc.data.ICompositeDataObject, Script, net.anotheria.asg.data.DataObject, net.anotheria.asg.data.LockableObject, net.anotheria.util.sorter.IComparable

    public class ScriptDocument
    extends net.anotheria.asg.data.AbstractASGDocument
    implements Script, net.anotheria.util.sorter.IComparable
    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addGuardsElement​(java.lang.String guard)
      Adds a new element to the list.
      int compareTo​(Script comparable)  
      int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable, int method)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getBrowserFiltering()
      Returns the value of the browserFiltering attribute.
      java.lang.String getContent()
      Returns the value of the content attribute.
      java.lang.String getDefinedName()  
      java.lang.String getDefinedParentName()  
      java.lang.String getFile()
      Returns the value of the file attribute.
      java.lang.String getFootprint()  
      java.util.List<java.lang.String> getGuards()
      Returns the value of the guards attribute.
      java.lang.String getGuardsElement​(int index)
      Returns the element at the position index in the list.
      int getGuardsSize()
      Returns the number of elements in the "guards" container
      java.lang.String getLink()
      Returns the value of the link attribute.
      java.lang.String getName()
      Returns the value of the name attribute.
      void removeGuardsElement​(int index)
      Removes the element at position index from the list.
      void setBrowserFiltering​(java.lang.String value)
      Sets the value of the browserFiltering attribute.
      void setContent​(java.lang.String value)
      Sets the value of the content attribute.
      void setFile​(java.lang.String value)
      Sets the value of the file attribute.
      void setGuards​(java.util.List<java.lang.String> value)
      Sets the value of the guards attribute.
      void setLink​(java.lang.String value)
      Sets the value of the link attribute.
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void swapGuardsElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      java.lang.String toString()  
      • 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
      • Methods inherited from class net.anotheria.anodoc.data.DataHolder

        getId, hashCode, setId
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface net.anotheria.asg.data.DataObject

        clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
    • Constructor Detail

      • ScriptDocument

        public ScriptDocument()
      • ScriptDocument

        public ScriptDocument​(java.lang.String id)
    • Method Detail

      • getName

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

        public void setName​(java.lang.String value)
        Description copied from interface: Script
        Sets the value of the name attribute.
        Specified by:
        setName in interface Script
      • getLink

        public java.lang.String getLink()
        Description copied from interface: Script
        Returns the value of the link attribute.
        Specified by:
        getLink in interface Script
      • setLink

        public void setLink​(java.lang.String value)
        Description copied from interface: Script
        Sets the value of the link attribute.
        Specified by:
        setLink in interface Script
      • getContent

        public java.lang.String getContent()
        Description copied from interface: Script
        Returns the value of the content attribute.
        Specified by:
        getContent in interface Script
      • setContent

        public void setContent​(java.lang.String value)
        Description copied from interface: Script
        Sets the value of the content attribute.
        Specified by:
        setContent in interface Script
      • getBrowserFiltering

        public java.lang.String getBrowserFiltering()
        Description copied from interface: Script
        Returns the value of the browserFiltering attribute.
        Specified by:
        getBrowserFiltering in interface Script
      • setBrowserFiltering

        public void setBrowserFiltering​(java.lang.String value)
        Description copied from interface: Script
        Sets the value of the browserFiltering attribute.
        Specified by:
        setBrowserFiltering in interface Script
      • getGuards

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

        public void setGuards​(java.util.List<java.lang.String> value)
        Description copied from interface: Script
        Sets the value of the guards attribute.
        Specified by:
        setGuards in interface Script
      • getFile

        public java.lang.String getFile()
        Description copied from interface: Script
        Returns the value of the file attribute.
        Specified by:
        getFile in interface Script
      • setFile

        public void setFile​(java.lang.String value)
        Description copied from interface: Script
        Sets the value of the file attribute.
        Specified by:
        setFile in interface Script
      • toString

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

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

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

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

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

        public java.lang.String getGuardsElement​(int index)
        Description copied from interface: Script
        Returns the element at the position index in the list.
        Specified by:
        getGuardsElement in interface Script
      • compareTo

        public int compareTo​(Script 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 java.lang.String getDefinedName()
        Specified by:
        getDefinedName in interface net.anotheria.asg.data.DataObject
      • getDefinedParentName

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object