public class CmsProjectBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable, java.lang.Comparable<CmsProjectBean>
限定符 | 构造器和说明 |
---|---|
protected |
CmsProjectBean()
For serialization.
|
|
CmsProjectBean(CmsUUID id,
int type,
java.lang.String name,
java.lang.String description)
Creates a new project bean.
|
限定符和类型 | 方法和说明 |
---|---|
int |
compareTo(CmsProjectBean otherProject) |
java.lang.String |
getDefaultGroupName()
The default name to use for publish groups computed from this project, if no other name is available.
|
java.lang.String |
getDescription()
Returns the project description.
|
CmsUUID |
getId()
Returns the id.
|
java.lang.String |
getName()
Returns the name.
|
int |
getRank()
Gets the sorting rank.
|
int |
getType()
Returns the project type.
|
boolean |
isWorkflowProject()
Returns if the project is of the type workflow project.
|
void |
setDefaultGroupName(java.lang.String defaultGroupName)
Sets the default publish group name.
|
void |
setRank(int rank)
Sets the sorting rank.
|
public CmsProjectBean(CmsUUID id, int type, java.lang.String name, java.lang.String description)
id
- the project idtype
- the project typename
- the project namedescription
- the project descriptionprotected CmsProjectBean()
public int compareTo(CmsProjectBean otherProject)
compareTo
在接口中 java.lang.Comparable<CmsProjectBean>
Comparable.compareTo(java.lang.Object)
public java.lang.String getDefaultGroupName()
public java.lang.String getDescription()
public CmsUUID getId()
public java.lang.String getName()
public int getRank()
public int getType()
public boolean isWorkflowProject()
true
if the project is of the type workflow projectpublic void setDefaultGroupName(java.lang.String defaultGroupName)
defaultGroupName
- the default publish group namepublic void setRank(int rank)
rank
- the sorting rank