Class PageAliasDocument

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

    public class PageAliasDocument
    extends net.anotheria.asg.data.AbstractASGDocument
    implements PageAlias, 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 addPathesElement​(java.lang.String path)
      Adds a new element to the list.
      int compareTo​(PageAlias comparable)  
      int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable, int method)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getDefinedName()  
      java.lang.String getDefinedParentName()  
      java.lang.String getFootprint()  
      java.lang.String getName()
      Returns the value of the name attribute.
      java.lang.String getParameters()
      Returns the value of the parameters attribute.
      java.util.List<java.lang.String> getPathes()
      Returns the value of the pathes attribute.
      java.lang.String getPathesElement​(int index)
      Returns the element at the position index in the list.
      int getPathesSize()
      Returns the number of elements in the "pathes" container
      java.lang.String getTargetPage()
      Returns the value of the targetPage attribute.
      int getType()
      Returns the value of the type attribute.
      void removePathesElement​(int index)
      Removes the element at position index from the list.
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setParameters​(java.lang.String value)
      Sets the value of the parameters attribute.
      void setPathes​(java.util.List<java.lang.String> value)
      Sets the value of the pathes attribute.
      void setTargetPage​(java.lang.String value)
      Sets the value of the targetPage attribute.
      void setType​(int value)
      Sets the value of the type attribute.
      void swapPathesElement​(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

      • PageAliasDocument

        public PageAliasDocument()
      • PageAliasDocument

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

      • getName

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

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

        public java.lang.String getParameters()
        Description copied from interface: PageAlias
        Returns the value of the parameters attribute.
        Specified by:
        getParameters in interface PageAlias
      • setParameters

        public void setParameters​(java.lang.String value)
        Description copied from interface: PageAlias
        Sets the value of the parameters attribute.
        Specified by:
        setParameters in interface PageAlias
      • getType

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

        public void setType​(int value)
        Description copied from interface: PageAlias
        Sets the value of the type attribute.
        Specified by:
        setType in interface PageAlias
      • getPathes

        public java.util.List<java.lang.String> getPathes()
        Description copied from interface: PageAlias
        Returns the value of the pathes attribute.
        Specified by:
        getPathes in interface PageAlias
      • setPathes

        public void setPathes​(java.util.List<java.lang.String> value)
        Description copied from interface: PageAlias
        Sets the value of the pathes attribute.
        Specified by:
        setPathes in interface PageAlias
      • getTargetPage

        public java.lang.String getTargetPage()
        Description copied from interface: PageAlias
        Returns the value of the targetPage attribute.
        Specified by:
        getTargetPage in interface PageAlias
      • setTargetPage

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

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

        public int getPathesSize()
        Description copied from interface: PageAlias
        Returns the number of elements in the "pathes" container
        Specified by:
        getPathesSize in interface PageAlias
      • addPathesElement

        public void addPathesElement​(java.lang.String path)
        Description copied from interface: PageAlias
        Adds a new element to the list.
        Specified by:
        addPathesElement in interface PageAlias
      • removePathesElement

        public void removePathesElement​(int index)
        Description copied from interface: PageAlias
        Removes the element at position index from the list.
        Specified by:
        removePathesElement in interface PageAlias
      • swapPathesElement

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

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

        public int compareTo​(PageAlias 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