org.opencms.file
Class CmsBackupProject

java.lang.Object
  extended by org.opencms.file.CmsProject
      extended by org.opencms.file.history.CmsHistoryProject
          extended by org.opencms.file.CmsBackupProject
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

Deprecated. use CmsHistoryProject

public class CmsBackupProject
extends CmsHistoryProject

Describes an OpenCms backup project.

Since:
6.0.0
Version:
$Revision: 1.19 $
Author:
Alexander Kandzior

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
CmsBackupProject(int versionId, 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.lang.String namePublisher, java.lang.String nameOwner, java.lang.String nameGroupUsers, java.lang.String nameGroupManagers, java.util.List projectResources)
          Deprecated. Creates a new CmsBackupProject.
 
Method Summary
 java.lang.String getGroupName()
          Deprecated. Returns the projects user group name.
 java.lang.String getManagerGroupName()
          Deprecated. Returns the project manager group name.
 java.lang.String getOwnerName()
          Deprecated. Gets the ownername.
 java.lang.String getPublishedByName()
          Deprecated. Gets the publishers name.
 
Methods inherited from class org.opencms.file.history.CmsHistoryProject
clone, equals, getGroupManagersName, getGroupUsersName, getOwnerName, getProjectResources, getPublishedBy, getPublishedByName, getPublishingDate, getPublishTag, getVersionId, 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

CmsBackupProject

public CmsBackupProject(int versionId,
                        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.lang.String namePublisher,
                        java.lang.String nameOwner,
                        java.lang.String nameGroupUsers,
                        java.lang.String nameGroupManagers,
                        java.util.List projectResources)
Deprecated. 
Creates a new CmsBackupProject.

Parameters:
versionId - thw version id for this backup project
projectId - the id to use for this project
name - the name for this project
description - the description for this project
ownerId - the owner id for this project
groupId - the group id for this project
managerGroupId - the manager group id for this project
dateCreated - the creation date of this project
type - the type of this project
datePublished - the date this backup project was published
userPublished - the id of the user who published
namePublisher - the name of the user who published
nameOwner - the name of the project owner
nameGroupUsers - the name of the project user group
nameGroupManagers - the name of the project manager group
projectResources - a list of resources that are the project "view"
Method Detail

getOwnerName

public java.lang.String getOwnerName()
Deprecated. 
Description copied from class: CmsHistoryProject
Gets the ownername.

Overrides:
getOwnerName in class CmsHistoryProject
Returns:
the ownername
See Also:
CmsHistoryProject.getOwnerName()

getPublishedByName

public java.lang.String getPublishedByName()
Deprecated. 
Description copied from class: CmsHistoryProject
Gets the publishers name.

Overrides:
getPublishedByName in class CmsHistoryProject
Returns:
the publishers name
See Also:
CmsHistoryProject.getPublishedByName()

getGroupName

public java.lang.String getGroupName()
Deprecated. 
Description copied from class: CmsHistoryProject
Returns the projects user group name.

Overrides:
getGroupName in class CmsHistoryProject
Returns:
the projects user group name
See Also:
CmsHistoryProject.getGroupName()

getManagerGroupName

public java.lang.String getManagerGroupName()
Deprecated. 
Description copied from class: CmsHistoryProject
Returns the project manager group name.

Overrides:
getManagerGroupName in class CmsHistoryProject
Returns:
the projects manager group name
See Also:
CmsHistoryProject.getManagerGroupName()