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()
String[]
getPermissions()
GUIRight[]
getRights()
int
getType()
String
getValidation()
boolean
hasPermission(String permission)
boolean
isReadonly()
boolean
isWrite()
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
setPermissions(String[] permissions)
void
setReadonly(boolean readonly)
void
setRights(GUIRight[] rights)
void
setType(int type)
void
setValidation(String validation)
-
-
-
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)
-
getRights
public GUIRight[] getRights()
-
setRights
public void setRights(GUIRight[] rights)
-
getPermissions
public String[] getPermissions()
-
setPermissions
public void setPermissions(String[] permissions)
-
isWrite
public boolean isWrite()
-
hasPermission
public boolean hasPermission(String permission)
-
getValidation
public String getValidation()
-
setValidation
public void setValidation(String validation)
-
-