Class GUIExtensibleObject
- java.lang.Object
 - 
- com.logicaldoc.gui.common.client.beans.GUIExtensibleObject
 
 
- 
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 GUIAutomationRoutine,GUIDocument,GUIFolder
public class GUIExtensibleObject extends Object implements Serializable
Main class for extensible objects- Since:
 - 6.0
 - Author:
 - Marco Meschieri - LogicalDOC
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description GUIExtensibleObject() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(GUIAttribute att)GUIAttributeaddAttributeValue(String name)Appends a new value for a given multiple attribute.GUIAttributegetAttribute(String attributeName)GUIAttribute[]getAttributes()StringgetTemplate()LonggetTemplateId()ObjectgetValue(String attributeName)List<GUIAttribute>getValues(String name)Retrieves the values of a multiple attributevoidputAttributeAfter(String name, GUIAttribute att)voidremoveAttribute(String name)voidsetAttributes(GUIAttribute[] attributes)voidsetTemplate(String template)voidsetTemplateId(Long templateId)GUIAttributesetValue(String name, Object value)voidshiftValue(String name, boolean up)Shifts a value in the list of different values of a multi-value attributevoidsortAttributes() 
 - 
 
- 
- 
Method Detail
- 
getTemplate
public String getTemplate()
 
- 
setTemplate
public void setTemplate(String template)
 
- 
getTemplateId
public Long getTemplateId()
 
- 
setTemplateId
public void setTemplateId(Long templateId)
 
- 
getAttributes
public GUIAttribute[] getAttributes()
 
- 
setAttributes
public void setAttributes(GUIAttribute[] attributes)
 
- 
getAttribute
public GUIAttribute getAttribute(String attributeName)
 
- 
setValue
public GUIAttribute setValue(String name, Object value)
 
- 
getValues
public List<GUIAttribute> getValues(String name)
Retrieves the values of a multiple attribute- Parameters:
 name- name of the attribute- Returns:
 - the list of values
 
 
- 
addAttributeValue
public GUIAttribute addAttributeValue(String name)
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
public void putAttributeAfter(String name, GUIAttribute att)
 
- 
addAttribute
public void addAttribute(GUIAttribute att)
 
- 
sortAttributes
public void sortAttributes()
 
- 
removeAttribute
public void removeAttribute(String name)
 
- 
shiftValue
public void shiftValue(String name, boolean up)
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
 
 - 
 
 -