|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.opencms.file.CmsProject
Describes a project. A project is used to handle versions of one resource.
| Field Summary |
| Constructor Summary | |
CmsProject(int projectId,
int flags)
Construct a new CmsProject that can be used to check if the provided id is the online project id. |
|
CmsProject(int projectId,
String name,
String description,
int taskId,
int ownerId,
int group,
int managerGroup,
int flags,
Timestamp createdate,
int type)
Construct a new CmsProject. |
|
CmsProject(ResultSet res,
CmsQueries m_cq)
Construct a new CmsProject, from a ResultSet. |
|
| Method Summary | |
Object |
clone()
Clones the CmsProject by creating a new CmsProject Object. |
boolean |
doStaticExport()
Do static export after publish. |
boolean |
equals(Object obj)
Compares the overgiven object with this object. |
long |
getCreateDate()
Returns the creation date of this project. |
String |
getDescription()
Returns the description of this project. |
int |
getFlags()
Returns the state of this project. |
int |
getGroupId()
Returns the groupid of this project. |
int |
getId()
Returns the id of this project. |
int |
getManagerGroupId()
Returns the manager groupid of this project. |
String |
getName()
Returns the name of this project. |
int |
getOwnerId()
Returns the userid of the project owner. |
int |
getTaskId()
Returns the taskid of this project. |
int |
getType()
Gets the type. |
boolean |
isOnlineProject()
Returns true if this project is the Online project. |
void |
setDescription(String description)
Sets the description of this project. |
void |
setFlags(int flags)
Sets the state of this project. |
String |
toString()
Returns a string-representation for this object. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CmsProject(int projectId,
String name,
String description,
int taskId,
int ownerId,
int group,
int managerGroup,
int flags,
Timestamp createdate,
int type)
public CmsProject(int projectId,
int flags)
public CmsProject(ResultSet res,
CmsQueries m_cq)
throws SQLException
| Method Detail |
public Object clone()
clone in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic long getCreateDate()
public String getDescription()
public int getFlags()
public int getGroupId()
public int getId()
public boolean isOnlineProject()
true if this project is the Online project.
true if this project is the Online projectpublic int getManagerGroupId()
public String getName()
public int getOwnerId()
public int getTaskId()
public int getType()
public boolean doStaticExport()
public void setDescription(String description)
description - The description of this project.public void setFlags(int flags)
flags - The flag to bes set.public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||