Class GUITemplate
- java.lang.Object
-
- com.logicaldoc.gui.common.client.beans.GUITemplate
-
- All Implemented Interfaces:
Serializable
public class GUITemplate extends Object implements Serializable
This user interface bean to model a document template- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_DEFAULT
-
Constructor Summary
Constructors Constructor Description GUITemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendAttribute(GUIAttribute a)
GUIAttribute
getAttribute(String name)
GUIAttribute[]
getAttributes()
GUIAttribute[]
getAttributesOrderedByPosition()
String
getDescription()
long
getId()
String
getName()
int
getType()
boolean
isReadonly()
void
removeAttribute(String name)
void
reorderAttributes(List<String> names)
void
setAttributes(GUIAttribute[] attributes)
void
setDescription(String description)
void
setId(long id)
void
setName(String name)
void
setReadonly(boolean readonly)
void
setType(int type)
-
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getAttribute
public GUIAttribute getAttribute(String name)
-
appendAttribute
public void appendAttribute(GUIAttribute a)
-
removeAttribute
public void removeAttribute(String name)
-
getAttributes
public GUIAttribute[] getAttributes()
-
getAttributesOrderedByPosition
public GUIAttribute[] getAttributesOrderedByPosition()
-
setAttributes
public void setAttributes(GUIAttribute[] attributes)
-
isReadonly
public boolean isReadonly()
-
setReadonly
public void setReadonly(boolean readonly)
-
getType
public int getType()
-
setType
public void setType(int type)
-
-