|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.contentnode.rest.model.ContentNodeItem
public abstract class ContentNodeItem
ContentNodeItem which can be a Page, File, Image or Folder
Nested Class Summary | |
---|---|
static class |
ContentNodeItem.ItemType
Types of items to be fetched with method |
Constructor Summary | |
---|---|
ContentNodeItem()
Default constructor needed by JAXB |
|
ContentNodeItem(ContentNodeItem.ItemType type)
Create an empty instance of an item |
Method Summary | |
---|---|
int |
getCdate()
Creation date of the item |
User |
getCreator()
Creator of the item |
int |
getEdate()
Last Edit Date of the item |
User |
getEditor()
Last editor of the item |
Integer |
getId()
ID of the item |
String |
getName()
Name of the item |
ContentNodeItem.ItemType |
getType()
Item type |
void |
setCdate(int cdate)
|
void |
setCreator(User creator)
|
void |
setEdate(int edate)
|
void |
setEditor(User editor)
|
void |
setId(Integer id)
|
void |
setName(String name)
|
void |
setType(ContentNodeItem.ItemType type)
Set the item type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentNodeItem()
public ContentNodeItem(ContentNodeItem.ItemType type)
Method Detail |
---|
public Integer getId()
public String getName()
public User getCreator()
public int getCdate()
public User getEditor()
public int getEdate()
public ContentNodeItem.ItemType getType()
public void setId(Integer id)
id
- the id to setpublic void setName(String name)
name
- the name to setpublic 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 void setType(ContentNodeItem.ItemType type)
type
- item type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |