Class GUIExtensibleObject
java.lang.Object
com.logicaldoc.gui.common.client.beans.GUIExtensibleObject
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GUIAutomationRoutine
,GUIDocument
,GUIFolder
,GUIForm
,GUIStamp
Main class for extensible objects
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(GUIAttribute att) addAttributeValue
(String name) Appends a new value for a given multiple attribute.boolean
getAttribute
(String attributeName) String[]
long
getId()
Retrieves the values of a multiple attributeint
hashCode()
void
putAttributeAfter
(String name, GUIAttribute att) void
removeAttribute
(String name) void
setAttributes
(GUIAttribute[] attributes) void
setId
(long id) void
setTemplate
(String template) void
setTemplateId
(Long templateId) void
shiftValue
(String name, boolean up) Shifts a value in the list of different values of a multi-value attributevoid
-
Constructor Details
-
GUIExtensibleObject
public GUIExtensibleObject(long id) -
GUIExtensibleObject
public GUIExtensibleObject()
-
-
Method Details
-
getTemplate
-
setTemplate
-
getTemplateId
-
setTemplateId
-
getAttributes
-
getAttributeNames
-
setAttributes
-
getValue
-
getAttribute
-
setValue
-
getValues
Retrieves the values of a multiple attribute- Parameters:
name
- name of the attribute- Returns:
- the list of values
-
addAttributeValue
Appends a new value for a given multiple attribute. Returns the new attribute that represent the value- Parameters:
name
- name of the attribute- Returns:
- the attribute
-
putAttributeAfter
-
addAttribute
-
sortAttributes
public void sortAttributes() -
removeAttribute
-
shiftValue
Shifts a value in the list of different values of a multi-value attribute- Parameters:
name
- of the attributeup
- it the position must be moved up
-
getId
public long getId() -
setId
public void setId(long id) -
equals
-
hashCode
public int hashCode()
-