|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.contentnode.rest.model.Template
public class Template
Template object representing a template in GCN
Field Summary | |
---|---|
protected int |
cdate
Date when the file was created |
protected User |
creator
Creator of the file |
protected int |
edate
Date when the file was modified last |
protected User |
editor
Latest contributor to the file |
protected java.lang.Integer |
folderId
Folder id of the folder for which the template was fetched |
protected boolean |
inherited
true when the template is inherited from a master channel, false if not |
protected boolean |
locked
true when the template is locked, false if not |
protected MarkupLanguage |
markupLanguage
Markup language |
protected java.lang.Integer |
masterId
id of the master template, if this template is a localized copy of another |
Constructor Summary | |
---|---|
Template()
Constructor for JAXB |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getCdate()
Creation date |
User |
getCreator()
Creator |
java.lang.String |
getDescription()
Template description |
int |
getEdate()
Last Edit date |
User |
getEditor()
Last Editor |
java.lang.Integer |
getFolderId()
Folder ID |
java.lang.Integer |
getId()
ID |
java.lang.String |
getInheritedFrom()
Name of the node this template is inherited from |
MarkupLanguage |
getMarkupLanguage()
Markup language |
java.lang.Integer |
getMasterId()
Master ID |
java.lang.String |
getMasterNode()
Name of the node, the master object belongs to |
java.lang.String |
getName()
Name of the template |
java.util.Map<java.lang.String,Tag> |
getObjectTags()
Returns the list of object tags for this template |
java.lang.String |
getPath()
Folder path |
java.lang.String |
getSource()
Returns the template source |
java.util.Map<java.lang.String,TemplateTag> |
getTemplateTags()
Tags of the template |
boolean |
isInherited()
True if the template is inherited |
boolean |
isLocked()
True if the template is locked |
void |
setCdate(int cdate)
|
void |
setCreator(User creator)
|
void |
setDescription(java.lang.String description)
Sets the template description |
void |
setEdate(int edate)
|
void |
setEditor(User editor)
|
void |
setFolderId(java.lang.Integer folderId)
|
void |
setId(java.lang.Integer id)
Sets the template id |
void |
setInherited(boolean inherited)
|
void |
setInheritedFrom(java.lang.String inheritedFrom)
sets inherited from |
void |
setLocked(boolean locked)
|
void |
setMarkupLanguage(MarkupLanguage markupLanguage)
|
void |
setMasterId(java.lang.Integer masterId)
|
void |
setMasterNode(java.lang.String masterNode)
Set the name of the node, the master object belongs to |
void |
setName(java.lang.String name)
Sets the name of the template |
void |
setObjectTags(java.util.Map<java.lang.String,Tag> objectTags)
Sets the object tags for this template |
void |
setPath(java.lang.String path)
Set the path |
void |
setSource(java.lang.String source)
Sets the source of the template |
void |
setTemplateTags(java.util.Map<java.lang.String,TemplateTag> templateTags)
Set the tags |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected User creator
protected int cdate
protected User editor
protected int edate
protected boolean locked
protected boolean inherited
protected java.lang.Integer masterId
protected MarkupLanguage markupLanguage
protected java.lang.Integer folderId
Constructor Detail |
---|
public Template()
Method Detail |
---|
public java.lang.String getInheritedFrom()
public void setInheritedFrom(java.lang.String inheritedFrom)
inheritedFrom
- public java.lang.String getMasterNode()
public void setMasterNode(java.lang.String masterNode)
masterNode
- node namepublic java.lang.Integer getId()
public void setId(java.lang.Integer id)
id
- public java.lang.String getName()
public void setName(java.lang.String name)
name
- public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- public User getCreator()
public int getCdate()
public User getEditor()
public int getEdate()
public void setCreator(User creator)
creator
- the creator to setpublic void setCdate(int cdate)
cdate
- the cdate to setpublic void setEditor(User editor)
editor
- the editor to setpublic void setEdate(int edate)
edate
- the edate to setpublic boolean isLocked()
public void setLocked(boolean locked)
locked
- the locked to setpublic MarkupLanguage getMarkupLanguage()
public void setMarkupLanguage(MarkupLanguage markupLanguage)
markupLanguage
- the markupLanguage to setpublic boolean isInherited()
public void setInherited(boolean inherited)
inherited
- the inherited to setpublic void setFolderId(java.lang.Integer folderId)
public java.lang.Integer getFolderId()
public java.lang.Integer getMasterId()
public void setMasterId(java.lang.Integer masterId)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String getPath()
public void setPath(java.lang.String path)
path
- the pathpublic void setTemplateTags(java.util.Map<java.lang.String,TemplateTag> templateTags)
templateTags
- tagspublic java.util.Map<java.lang.String,TemplateTag> getTemplateTags()
public java.util.Map<java.lang.String,Tag> getObjectTags()
public void setObjectTags(java.util.Map<java.lang.String,Tag> objectTags)
objectTags
- public java.lang.String getSource()
public void setSource(java.lang.String source)
source
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |