public class CmsVfsEntryBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Modifier | Constructor and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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()
public java.lang.String getName()
public java.lang.String getPath()
public java.lang.String getResourceType()
public boolean hasChildren()
public boolean isFolder()