|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.contentnode.rest.model.ContentNodeItem
com.gentics.contentnode.rest.model.File
public class File
File object, represents a File in GCN
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.gentics.contentnode.rest.model.ContentNodeItem |
---|
ContentNodeItem.ItemType |
Field Summary | |
---|---|
protected boolean |
broken
True if the file is broken |
protected Object |
channelId
|
protected String |
description
Description of the file |
protected Integer |
fileSize
Filesize of the file |
protected String |
fileType
Mimetype of the File |
protected Integer |
folderId
Id of the folder of the file |
protected String |
folderName
the folder name |
protected Boolean |
forceOnline
True if the file shall be force to go online, even if nothing depends on it |
protected boolean |
inherited
true when the file is inherited from a master channel, false if not |
protected boolean |
online
True if the file is online (for the node it was fetched for) |
protected Map<String,Tag> |
tags
Tags in the file (objecttags) |
protected String |
url
URL to the file. |
Constructor Summary | |
---|---|
File()
Constructor used by JAXB |
Method Summary | |
---|---|
Object |
getChannelId()
Channel ID |
String |
getCls()
This is a file cls |
String |
getDescription()
Description |
Integer |
getFileSize()
File size |
String |
getFileType()
File type |
Integer |
getFolderId()
Folder ID |
String |
getFolderName()
Name of the folder of this file |
String |
getIconCls()
Define attribute to select the appropriate class |
String |
getInheritedFrom()
Name of the node, this file was inherited from |
boolean |
getLeaf()
This is a file so leaf is true |
String |
getLiveUrl()
Live URL to the page |
String |
getMasterNode()
Name of the node, the master object belongs to |
String |
getPath()
Folder path of this file |
Map<String,Tag> |
getTags()
Map of object tags of this file |
String |
getText()
Name of the file |
Integer |
getTypeId()
Type ID |
String |
getUrl()
URL to the file |
boolean |
isBroken()
True for broken files |
Boolean |
isForceOnline()
Get the force online status (may be null if status is not determined) |
boolean |
isInherited()
|
boolean |
isOnline()
True if the file is online, false if it is offline |
void |
setBroken(boolean broken)
Set the broken status |
void |
setChannelId(Object channelId)
|
void |
setCls(String cls)
|
void |
setDescription(String description)
|
void |
setFileSize(Integer fileSize)
|
void |
setFileType(String fileType)
|
void |
setFolderId(Integer folderId)
|
void |
setFolderName(String folderName)
|
void |
setForceOnline(boolean forceOnline)
Set the force online status |
void |
setIconCls(String iconCls)
|
void |
setInherited(boolean inherited)
|
void |
setInheritedFrom(String inheritedFrom)
sets inherited from |
void |
setLeaf(boolean leaf)
|
void |
setLiveUrl(String liveUrl)
Set the live URL of the page |
void |
setMasterNode(String masterNode)
Set the name of the node, the master object belongs to |
void |
setOnline(boolean online)
Set the online status |
void |
setPath(String path)
Set the path |
void |
setTags(Map<String,Tag> tags)
|
void |
setText(String text)
|
void |
setTypeId(Integer typeId)
|
void |
setUrl(String url)
|
Methods inherited from class com.gentics.contentnode.rest.model.ContentNodeItem |
---|
getCdate, getCreator, getEdate, getEditor, getId, getName, getType, setCdate, setCreator, setEdate, setEditor, setId, setName, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String fileType
protected String description
protected Integer folderId
protected String folderName
protected Integer fileSize
protected Object channelId
protected boolean inherited
protected Map<String,Tag> tags
protected String url
protected Boolean forceOnline
protected boolean online
protected boolean broken
Constructor Detail |
---|
public File()
Method Detail |
---|
public Integer getTypeId()
public void setTypeId(Integer typeId)
public String getInheritedFrom()
public void setInheritedFrom(String inheritedFrom)
inheritedFrom
- public String getMasterNode()
public void setMasterNode(String masterNode)
masterNode
- node namepublic String getFolderName()
public void setFolderName(String folderName)
public Object getChannelId()
public void setChannelId(Object channelId)
public String getText()
public void setText(String text)
public boolean getLeaf()
public void setLeaf(boolean leaf)
public String getCls()
public void setCls(String cls)
public String getIconCls()
public void setIconCls(String iconCls)
public String getFileType()
public String getDescription()
public Integer getFolderId()
public Integer getFileSize()
public Map<String,Tag> getTags()
public String getUrl()
public void setLiveUrl(String liveUrl)
public String getLiveUrl()
public void setFileType(String fileType)
fileType
- the fileType to setpublic void setDescription(String description)
description
- the description to setpublic void setFolderId(Integer folderId)
folderId
- the folderId to setpublic void setFileSize(Integer fileSize)
fileSize
- the fileSize to setpublic void setTags(Map<String,Tag> tags)
public void setUrl(String url)
url
- the url to the file.public boolean isInherited()
public void setInherited(boolean inherited)
public String getPath()
public void setPath(String path)
path
- the pathpublic Boolean isForceOnline()
public void setForceOnline(boolean forceOnline)
forceOnline
- new force online statuspublic boolean isOnline()
public void setOnline(boolean online)
online
- online statuspublic boolean isBroken()
public void setBroken(boolean broken)
broken
- true for broken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |