public class CmsHistoryProject extends CmsProject
CmsProject.CmsProjectTypeONLINE_PROJECT_ID, ONLINE_PROJECT_NAME, PROJECT_FLAG_HIDDEN, PROJECT_FLAG_NONE, PROJECT_TYPE_NORMAL, PROJECT_TYPE_TEMPORARY, PROJECT_TYPE_WORKFLOW| 构造器和说明 |
|---|
CmsHistoryProject(int publishTag,
CmsUUID projectId,
java.lang.String name,
java.lang.String description,
CmsUUID ownerId,
CmsUUID groupId,
CmsUUID managerGroupId,
long dateCreated,
CmsProject.CmsProjectType type,
long datePublished,
CmsUUID userPublished,
java.util.List<java.lang.String> projectResources)
Creates a new CmsHistoryProject.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroupManagersName(CmsObject cms)
Returns the project manager group name.
|
java.lang.String |
getGroupUsersName(CmsObject cms)
Returns the projects user group name.
|
java.lang.String |
getOwnerName(CmsObject cms)
Returns the owner name.
|
java.util.List<java.lang.String> |
getProjectResources()
Returns the project resources (i.e. the "view" of the project).
|
CmsUUID |
getPublishedBy()
Returns the id of the user that published this project.
|
java.lang.String |
getPublishedByName(CmsObject cms)
Returns the publishers name.
|
long |
getPublishingDate()
Returns the publishing date of this project.
|
int |
getPublishTag()
Returns the publish tag.
|
int |
hashCode() |
void |
setProjectResources(java.util.List<java.lang.String> projectResources)
Sets the projectResources.
|
checkProjectName, compareTo, getDateCreated, getDescription, getFlags, getGroupId, getManagerGroupId, getName, getOuFqn, getOwnerId, getSimpleName, getType, getUuid, isDeleteAfterPublishing, isHidden, isInsideProject, isInsideProject, isOnlineProject, isOnlineProject, isWorkflowProject, setDeleteAfterPublishing, setDescription, setFlags, setGroupId, setHidden, setManagerGroupId, setName, setOwnerId, toStringpublic CmsHistoryProject(int publishTag,
CmsUUID projectId,
java.lang.String name,
java.lang.String description,
CmsUUID ownerId,
CmsUUID groupId,
CmsUUID managerGroupId,
long dateCreated,
CmsProject.CmsProjectType type,
long datePublished,
CmsUUID userPublished,
java.util.List<java.lang.String> projectResources)
publishTag - the version id for this historical projectprojectId - the id to use for this projectname - the name for this projectdescription - the description for this projectownerId - the owner id for this projectgroupId - the group id for this projectmanagerGroupId - the manager group id for this projectdateCreated - the creation date of this projecttype - the type of this projectdatePublished - the date this backup project was publisheduserPublished - the id of the user who publishedprojectResources - a list of resources that are the project "view"public java.lang.Object clone()
clone 在类中 CmsProjectCmsProject.clone()public boolean equals(java.lang.Object obj)
equals 在类中 CmsProjectObject.equals(java.lang.Object)public java.lang.String getGroupManagersName(CmsObject cms)
cms - the current cms contextpublic java.lang.String getGroupUsersName(CmsObject cms)
cms - the current cms contextpublic java.lang.String getOwnerName(CmsObject cms)
cms - the current cms contextpublic java.util.List<java.lang.String> getProjectResources()
public CmsUUID getPublishedBy()
public java.lang.String getPublishedByName(CmsObject cms)
cms - the current cms contextpublic long getPublishingDate()
public int getPublishTag()
public int hashCode()
hashCode 在类中 CmsProjectObject.hashCode()public void setProjectResources(java.util.List<java.lang.String> projectResources)
projectResources - the projectResources to set