Class ImageDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.images.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:
- 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.anosite.gen.images.data.Image
PROP_ID, PROP_IMAGE, PROP_NAME, PROP_SIZE, PROP_TITLE_DE, PROP_TITLE_EN
-
-
Constructor Summary
Constructors Constructor Description ImageDocument()ImageDocument(String id)ImageDocument(ImageDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Image comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)voidcopyDE2EN()Copies all multilingual properties from language DE to language ENvoidcopyEN2DE()Copies all multilingual properties from language EN to language DEvoidcopyLANG2LANG(String sourceLanguage, String destLanguage)Copies all multilingual properties from source language to destination languagebooleanequals(Object o)StringgetDefinedName()StringgetDefinedParentName()StringgetFootprint()StringgetImage()Returns the value of the image attribute.StringgetName()Returns the value of the name attribute.StringgetSize()Returns the value of the size attribute.StringgetTitle()Returns the current value of the title attribute.StringgetTitleDE()Returns the value of the title attribute in the "DE" domain.StringgetTitleEN()Returns the value of the title attribute in the "EN" domain.booleanisMultilingualDisabledInstance()voidsetImage(String value)Sets the value of the image attribute.voidsetMultilingualDisabledInstance(boolean value)voidsetName(String value)Sets the value of the name attribute.voidsetSize(String value)Sets the value of the size attribute.voidsetTitle(String value)Sets the value of the title attribute in the current domain.voidsetTitleDE(String value)Sets the value of the title attribute in the domain "DE"voidsetTitleEN(String value)Sets the value of the title attribute in the domain "EN"StringtoString()-
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
-
-
-
-
Constructor Detail
-
ImageDocument
public ImageDocument()
-
ImageDocument
public ImageDocument(String id)
-
ImageDocument
public ImageDocument(ImageDocument toClone)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ImageReturns the value of the name attribute.
-
setName
public void setName(String value)
Description copied from interface:ImageSets the value of the name attribute.
-
getTitleEN
public String getTitleEN()
Description copied from interface:ImageReturns the value of the title attribute in the "EN" domain.- Specified by:
getTitleENin interfaceImage
-
getTitleDE
public String getTitleDE()
Description copied from interface:ImageReturns the value of the title attribute in the "DE" domain.- Specified by:
getTitleDEin interfaceImage
-
getTitle
public String getTitle()
Description copied from interface:ImageReturns the current value of the title attribute. Current means in the currently selected domain.
-
setTitleEN
public void setTitleEN(String value)
Description copied from interface:ImageSets the value of the title attribute in the domain "EN"- Specified by:
setTitleENin interfaceImage
-
setTitleDE
public void setTitleDE(String value)
Description copied from interface:ImageSets the value of the title attribute in the domain "DE"- Specified by:
setTitleDEin interfaceImage
-
setTitle
public void setTitle(String value)
Description copied from interface:ImageSets the value of the title attribute in the current domain. Current means in the currently selected domain.
-
getImage
public String getImage()
Description copied from interface:ImageReturns the value of the image attribute.
-
setImage
public void setImage(String value)
Description copied from interface:ImageSets the value of the image attribute.
-
getSize
public String getSize()
Description copied from interface:ImageReturns the value of the size attribute.
-
setSize
public void setSize(String value)
Description copied from interface:ImageSets the value of the size attribute.
-
toString
public String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
compareTo
public int compareTo(Image comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
copyLANG2LANG
public void copyLANG2LANG(String sourceLanguage, String destLanguage)
Description copied from interface:ImageCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfaceImage
-
copyEN2DE
public void copyEN2DE()
Copies all multilingual properties from language EN to language DE
-
copyDE2EN
public void copyDE2EN()
Copies all multilingual properties from language DE to language EN
-
isMultilingualDisabledInstance
public boolean isMultilingualDisabledInstance()
- Specified by:
isMultilingualDisabledInstancein interfacenet.anotheria.asg.data.MultilingualObject
-
setMultilingualDisabledInstance
public void setMultilingualDisabledInstance(boolean value)
- Specified by:
setMultilingualDisabledInstancein interfacenet.anotheria.asg.data.MultilingualObject
-
-