|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.gwt.shared.CmsVfsEntryBean
public class CmsVfsEntryBean
A bean which represents a resource in the VFS.
Constructor Summary | |
---|---|
protected |
CmsVfsEntryBean()
Hidden default constructor. |
|
CmsVfsEntryBean(java.lang.String path,
java.lang.String name,
java.lang.String resourceType,
boolean isFolder,
boolean hasChildren)
Constructs a new bean. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the resource. |
java.lang.String |
getPath()
Returns the path of the resource. |
java.lang.String |
getResourceType()
Returns the resource type. |
boolean |
hasChildren()
Returns true if the resource has children, i.e. is a non-empty folder. |
boolean |
isFolder()
Returns true if the resource is a folder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsVfsEntryBean(java.lang.String path, java.lang.String name, java.lang.String resourceType, boolean isFolder, boolean hasChildren)
path
- the path of the resourcename
- the name of the resourceresourceType
- the resource type of the resourceisFolder
- true if the resource is a folderhasChildren
- true if the resource is a folder which isn't emptyprotected CmsVfsEntryBean()
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getPath()
public java.lang.String getResourceType()
public boolean hasChildren()
public boolean isFolder()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |