|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.file.CmsProject
org.opencms.file.history.CmsHistoryProject
public class CmsHistoryProject
Describes an OpenCms historical project entry.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.opencms.file.CmsProject |
---|
CmsProject.CmsProjectType |
Field Summary |
---|
Fields inherited from class org.opencms.file.CmsProject |
---|
ONLINE_PROJECT_ID, ONLINE_PROJECT_NAME, PROJECT_FLAG_HIDDEN, PROJECT_FLAG_NONE, PROJECT_TYPE_NORMAL, PROJECT_TYPE_TEMPORARY |
Constructor Summary | |
---|---|
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 projectResources)
Creates a new CmsHistoryProject. |
Method Summary | |
---|---|
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 |
getGroupName()
Deprecated. use getGroupUsersName(CmsObject) instead |
java.lang.String |
getGroupUsersName(CmsObject cms)
Returns the projects user group name. |
java.lang.String |
getManagerGroupName()
Deprecated. use getGroupManagersName(CmsObject) instead |
java.lang.String |
getOwnerName()
Deprecated. use getOwnerName(CmsObject) instead |
java.lang.String |
getOwnerName(CmsObject cms)
Returns the owner name. |
java.util.List |
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()
Deprecated. use getPublishedByName(CmsObject) instead |
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 |
getVersionId()
Deprecated. Use getPublishTag() instead |
int |
hashCode()
|
Methods inherited from class org.opencms.file.CmsProject |
---|
checkProjectName, compareTo, getDateCreated, getDescription, getFlags, getGroupId, getId, getManagerGroupId, getName, getOuFqn, getOwnerId, getSimpleName, getType, getUuid, isDeleteAfterPublishing, isHidden, isInsideProject, isInsideProject, isOnlineProject, isOnlineProject, setDeleteAfterPublishing, setDescription, setFlags, setGroupId, setHidden, setManagerGroupId, setName, setOwnerId, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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 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"Method Detail |
---|
public java.lang.Object clone()
clone
in class CmsProject
CmsProject.clone()
public boolean equals(java.lang.Object obj)
equals
in class CmsProject
Object.equals(java.lang.Object)
public java.lang.String getGroupManagersName(CmsObject cms)
cms
- the current cms context
public java.lang.String getGroupName()
getGroupUsersName(CmsObject)
instead
public java.lang.String getGroupUsersName(CmsObject cms)
cms
- the current cms context
public java.lang.String getManagerGroupName()
getGroupManagersName(CmsObject)
instead
public java.lang.String getOwnerName()
getOwnerName(CmsObject)
instead
public java.lang.String getOwnerName(CmsObject cms)
cms
- the current cms context
public java.util.List getProjectResources()
public CmsUUID getPublishedBy()
public java.lang.String getPublishedByName()
getPublishedByName(CmsObject)
instead
public java.lang.String getPublishedByName(CmsObject cms)
cms
- the current cms context
public long getPublishingDate()
public int getPublishTag()
public int getVersionId()
getPublishTag()
instead
public int hashCode()
hashCode
in class CmsProject
Object.hashCode()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |