Class ScriptDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.assitedata.data.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
-
Fields inherited from interface net.anotheria.anosite.gen.assitedata.data.Script
LINK_PROP_FILE, PROP_BROWSER_FILTERING, PROP_CONTENT, PROP_GUARDS, PROP_ID, PROP_LINK, PROP_NAME
-
-
Constructor Summary
Constructors Constructor Description ScriptDocument()ScriptDocument(java.lang.String id)ScriptDocument(ScriptDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGuardsElement(java.lang.String guard)Adds a new element to the list.intcompareTo(Script comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)booleanequals(java.lang.Object o)java.lang.StringgetBrowserFiltering()Returns the value of the browserFiltering attribute.java.lang.StringgetContent()Returns the value of the content attribute.java.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetFile()Returns the value of the file attribute.java.lang.StringgetFootprint()java.util.List<java.lang.String>getGuards()Returns the value of the guards attribute.java.lang.StringgetGuardsElement(int index)Returns the element at the position index in the list.intgetGuardsSize()Returns the number of elements in the "guards" containerjava.lang.StringgetLink()Returns the value of the link attribute.java.lang.StringgetName()Returns the value of the name attribute.voidremoveGuardsElement(int index)Removes the element at position index from the list.voidsetBrowserFiltering(java.lang.String value)Sets the value of the browserFiltering attribute.voidsetContent(java.lang.String value)Sets the value of the content attribute.voidsetFile(java.lang.String value)Sets the value of the file attribute.voidsetGuards(java.util.List<java.lang.String> value)Sets the value of the guards attribute.voidsetLink(java.lang.String value)Sets the value of the link attribute.voidsetName(java.lang.String value)Sets the value of the name attribute.voidswapGuardsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.java.lang.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
-
ScriptDocument
public ScriptDocument()
-
ScriptDocument
public ScriptDocument(java.lang.String id)
-
ScriptDocument
public ScriptDocument(ScriptDocument toClone)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:ScriptReturns the value of the name attribute.
-
setName
public void setName(java.lang.String value)
Description copied from interface:ScriptSets the value of the name attribute.
-
getLink
public java.lang.String getLink()
Description copied from interface:ScriptReturns the value of the link attribute.
-
setLink
public void setLink(java.lang.String value)
Description copied from interface:ScriptSets the value of the link attribute.
-
getContent
public java.lang.String getContent()
Description copied from interface:ScriptReturns the value of the content attribute.- Specified by:
getContentin interfaceScript
-
setContent
public void setContent(java.lang.String value)
Description copied from interface:ScriptSets the value of the content attribute.- Specified by:
setContentin interfaceScript
-
getBrowserFiltering
public java.lang.String getBrowserFiltering()
Description copied from interface:ScriptReturns the value of the browserFiltering attribute.- Specified by:
getBrowserFilteringin interfaceScript
-
setBrowserFiltering
public void setBrowserFiltering(java.lang.String value)
Description copied from interface:ScriptSets the value of the browserFiltering attribute.- Specified by:
setBrowserFilteringin interfaceScript
-
getGuards
public java.util.List<java.lang.String> getGuards()
Description copied from interface:ScriptReturns the value of the guards attribute.
-
setGuards
public void setGuards(java.util.List<java.lang.String> value)
Description copied from interface:ScriptSets the value of the guards attribute.
-
getFile
public java.lang.String getFile()
Description copied from interface:ScriptReturns the value of the file attribute.
-
setFile
public void setFile(java.lang.String value)
Description copied from interface:ScriptSets the value of the file attribute.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getGuardsSize
public int getGuardsSize()
Description copied from interface:ScriptReturns the number of elements in the "guards" container- Specified by:
getGuardsSizein interfaceScript
-
addGuardsElement
public void addGuardsElement(java.lang.String guard)
Description copied from interface:ScriptAdds a new element to the list.- Specified by:
addGuardsElementin interfaceScript
-
removeGuardsElement
public void removeGuardsElement(int index)
Description copied from interface:ScriptRemoves the element at position index from the list.- Specified by:
removeGuardsElementin interfaceScript
-
swapGuardsElement
public void swapGuardsElement(int index1, int index2)Description copied from interface:ScriptSwaps elements at positions index1 and index2 in the list.- Specified by:
swapGuardsElementin interfaceScript
-
getGuardsElement
public java.lang.String getGuardsElement(int index)
Description copied from interface:ScriptReturns the element at the position index in the list.- Specified by:
getGuardsElementin interfaceScript
-
compareTo
public int compareTo(Script comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public java.lang.String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public java.lang.String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public java.lang.String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-