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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAttribute(GUIAttribute att) addAttributeValue(String name) Appends a new value for a given multiple attribute.booleangetAttribute(String attributeName) longgetId()longRetrieves the values of a multiple attributeinthashCode()voidputAttributeAfter(String name, GUIAttribute att) voidremoveAttribute(String name) voidsetAttributes(List<GUIAttribute> attributes) voidsetId(long id) voidsetTemplate(String template) voidsetTemplateId(Long templateId) voidsetTenantId(long tenantId) voidshiftValue(String name, boolean up) Shifts a value in the list of different values of a multi-value attributevoid
- 
Constructor Details- 
GUIExtensibleObjectpublic GUIExtensibleObject(long id) 
- 
GUIExtensibleObjectpublic GUIExtensibleObject()
 
- 
- 
Method Details- 
getTemplate
- 
setTemplate
- 
getTemplateId
- 
setTemplateId
- 
getAttributes
- 
getAttributeNames
- 
setAttributes
- 
getValue
- 
getAttribute
- 
setValue
- 
getValuesRetrieves the values of a multiple attribute- Parameters:
- name- name of the attribute
- Returns:
- the list of values
 
- 
addAttributeValueAppends 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
- 
sortAttributespublic void sortAttributes()
- 
removeAttribute
- 
shiftValueShifts a value in the list of different values of a multi-value attribute- Parameters:
- name- of the attribute
- up- it the position must be moved up
 
- 
getIdpublic long getId()
- 
setIdpublic void setId(long id) 
- 
getTenantIdpublic long getTenantId()
- 
setTenantIdpublic void setTenantId(long tenantId) 
- 
equals
- 
hashCodepublic int hashCode()
 
-