Class ImageDocument

  • All Implemented Interfaces:
    Serializable, Cloneable, net.anotheria.anodoc.data.IBasicStoreableObject, net.anotheria.anodoc.data.ICompositeDataObject, Image, net.anotheria.asg.data.DataObject, net.anotheria.asg.data.LockableObject, net.anotheria.asg.data.MultilingualObject, net.anotheria.util.sorter.IComparable

    public class ImageDocument
    extends net.anotheria.asg.data.AbstractASGDocument
    implements Image, 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.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
      int compareTo​(Image comparable)  
      int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable, int method)  
      void copyDE2EN()
      Copies all multilingual properties from language DE to language EN
      void copyEN2DE()
      Copies all multilingual properties from language EN to language DE
      void copyLANG2LANG​(String sourceLanguage, String destLanguage)
      Copies all multilingual properties from source language to destination language
      boolean equals​(Object o)  
      String getDefinedName()  
      String getDefinedParentName()  
      String getFootprint()  
      String getImage()
      Returns the value of the image attribute.
      String getName()
      Returns the value of the name attribute.
      String getSize()
      Returns the value of the size attribute.
      String getTitle()
      Returns the current value of the title attribute.
      String getTitleDE()
      Returns the value of the title attribute in the "DE" domain.
      String getTitleEN()
      Returns the value of the title attribute in the "EN" domain.
      boolean isMultilingualDisabledInstance()  
      void setImage​(String value)
      Sets the value of the image attribute.
      void setMultilingualDisabledInstance​(boolean value)  
      void setName​(String value)
      Sets the value of the name attribute.
      void setSize​(String value)
      Sets the value of the size attribute.
      void setTitle​(String value)
      Sets the value of the title attribute in the current domain.
      void setTitleDE​(String value)
      Sets the value of the title attribute in the domain "DE"
      void setTitleEN​(String value)
      Sets the value of the title attribute in the domain "EN"
      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 interface net.anotheria.asg.data.DataObject

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

      • ImageDocument

        public ImageDocument()
      • ImageDocument

        public ImageDocument​(String id)
    • Method Detail

      • getName

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

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

        public String getTitleEN()
        Description copied from interface: Image
        Returns the value of the title attribute in the "EN" domain.
        Specified by:
        getTitleEN in interface Image
      • getTitleDE

        public String getTitleDE()
        Description copied from interface: Image
        Returns the value of the title attribute in the "DE" domain.
        Specified by:
        getTitleDE in interface Image
      • getTitle

        public String getTitle()
        Description copied from interface: Image
        Returns the current value of the title attribute. Current means in the currently selected domain.
        Specified by:
        getTitle in interface Image
      • setTitleEN

        public void setTitleEN​(String value)
        Description copied from interface: Image
        Sets the value of the title attribute in the domain "EN"
        Specified by:
        setTitleEN in interface Image
      • setTitleDE

        public void setTitleDE​(String value)
        Description copied from interface: Image
        Sets the value of the title attribute in the domain "DE"
        Specified by:
        setTitleDE in interface Image
      • setTitle

        public void setTitle​(String value)
        Description copied from interface: Image
        Sets the value of the title attribute in the current domain. Current means in the currently selected domain.
        Specified by:
        setTitle in interface Image
      • getImage

        public String getImage()
        Description copied from interface: Image
        Returns the value of the image attribute.
        Specified by:
        getImage in interface Image
      • setImage

        public void setImage​(String value)
        Description copied from interface: Image
        Sets the value of the image attribute.
        Specified by:
        setImage in interface Image
      • getSize

        public String getSize()
        Description copied from interface: Image
        Returns the value of the size attribute.
        Specified by:
        getSize in interface Image
      • setSize

        public void setSize​(String value)
        Description copied from interface: Image
        Sets the value of the size attribute.
        Specified by:
        setSize in interface Image
      • toString

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

        public int compareTo​(Image 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: Image
        Copies all multilingual properties from source language to destination language
        Specified by:
        copyLANG2LANG in interface Image
      • copyEN2DE

        public void copyEN2DE()
        Copies all multilingual properties from language EN to language DE
        Specified by:
        copyEN2DE in interface Image
      • copyDE2EN

        public void copyDE2EN()
        Copies all multilingual properties from language DE to language EN
        Specified by:
        copyDE2EN in interface Image
      • 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