Class ImageDocument

java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.asresourcedata.data.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:
  • 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.anosite.gen.asresourcedata.data.Image

    PROP_ALIAS_EN, PROP_ALT_EN, PROP_ID, PROP_IMAGE, PROP_NAME, PROP_PIXELS, PROP_SIZE, PROP_TITLE

    Fields 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
    Constructor
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compareTo(Image comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    void
    copyLANG2LANG(String sourceLanguage, String destLanguage)
    Copies all multilingual properties from source language to destination language
    boolean
     
    Returns the current value of the alias attribute.
    Returns the value of the alias attribute in the "EN" domain.
    Returns the current value of the alt attribute.
    Returns the value of the alt attribute in the "EN" domain.
     
     
     
    Returns the value of the image attribute.
    Returns the value of the name attribute.
    Returns the value of the pixels attribute.
    Returns the value of the size attribute.
    Returns the value of the title attribute.
    boolean
     
    void
    Sets the value of the alias attribute in the current domain.
    void
    Sets the value of the alias attribute in the domain "EN"
    void
    setAlt(String value)
    Sets the value of the alt attribute in the current domain.
    void
    Sets the value of the alt attribute in the domain "EN"
    void
    Sets the value of the image attribute.
    void
     
    void
    setName(String value)
    Sets the value of the name attribute.
    void
    Sets the value of the pixels attribute.
    void
    setSize(String value)
    Sets the value of the size attribute.
    void
    Sets the value of the title attribute.
     

    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 Details

    • ImageDocument

      public ImageDocument()
    • ImageDocument

      public ImageDocument(String id)
    • ImageDocument

      public ImageDocument(ImageDocument toClone)
  • Method Details

    • 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
    • getTitle

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

      public void setTitle(String value)
      Description copied from interface: Image
      Sets the value of the title attribute.
      Specified by:
      setTitle in interface Image
    • getAliasEN

      public String getAliasEN()
      Description copied from interface: Image
      Returns the value of the alias attribute in the "EN" domain.
      Specified by:
      getAliasEN in interface Image
    • getAlias

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

      public void setAliasEN(String value)
      Description copied from interface: Image
      Sets the value of the alias attribute in the domain "EN"
      Specified by:
      setAliasEN in interface Image
    • setAlias

      public void setAlias(String value)
      Description copied from interface: Image
      Sets the value of the alias attribute in the current domain. Current means in the currently selected domain.
      Specified by:
      setAlias in interface Image
    • getAltEN

      public String getAltEN()
      Description copied from interface: Image
      Returns the value of the alt attribute in the "EN" domain.
      Specified by:
      getAltEN in interface Image
    • getAlt

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

      public void setAltEN(String value)
      Description copied from interface: Image
      Sets the value of the alt attribute in the domain "EN"
      Specified by:
      setAltEN in interface Image
    • setAlt

      public void setAlt(String value)
      Description copied from interface: Image
      Sets the value of the alt attribute in the current domain. Current means in the currently selected domain.
      Specified by:
      setAlt 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
    • getPixels

      public String getPixels()
      Description copied from interface: Image
      Returns the value of the pixels attribute.
      Specified by:
      getPixels in interface Image
    • setPixels

      public void setPixels(String value)
      Description copied from interface: Image
      Sets the value of the pixels attribute.
      Specified by:
      setPixels 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
    • 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