|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Content Definitions that uses the projectmanagement, that means the cd can be published and the history can be enabled, should implement this interface
| Method Summary | |
void |
chgrp(CmsObject cms,
int group)
Change group method for changing permissions of content definition |
void |
chmod(CmsObject cms,
int accessflags)
Change access flags method for changing permissions of content definition |
void |
chown(CmsObject cms,
int owner)
Change owner method for changing permissions of content definition |
int |
copy(CmsObject cms)
Copy method for copying content definition |
int |
getAccessFlags()
Returns the access flags of the content definition |
long |
getDateCreated()
Returns the date of the creation of the content definition |
long |
getDateLastModified()
Returns the date of the last modification of the content definition |
int |
getGroupId()
Returns the groupId of the content definition |
Vector |
getHistory(CmsObject cms)
History method returns the vector of the versions of content definition in the history |
int |
getId()
Returns the unique id of the content definition |
int |
getLastModifiedBy()
Returns the id of the user who has modified the content definition |
String |
getLastModifiedByName()
Returns the name of the user who has modified the content definition |
int |
getLockedInProject()
Returns the projectId of the content definition that is stored in the cd table after the cd was locked |
int |
getOwner()
Returns the ownerId of the content definition |
int |
getProjectId()
Returns the projectId of the content definition. |
int |
getState()
Returns the state of the content definition: unchanged, new, changed or deleted |
String |
getTitle()
Returns the title of the content definition |
Object |
getVersionFromHistory(CmsObject cms,
int versionId)
History method returns the cd of the version with the given versionId |
int |
getVersionId()
Returns the id of the version in the history of the content definition |
void |
publishResource(CmsObject cms)
Publishes the content definition directly |
void |
restore(CmsObject cms,
int versionId)
Restore method for restore instance of content definition from the history |
void |
undelete(CmsObject cms)
Undelete method for undelete instance of content definition |
| Method Detail |
public int getId()
public int getProjectId()
public int getState()
public int getLockedInProject()
public long getDateLastModified()
public long getDateCreated()
public int getLastModifiedBy()
public String getLastModifiedByName()
public int getVersionId()
public String getTitle()
public int getOwner()
public int getGroupId()
public int getAccessFlags()
public void publishResource(CmsObject cms)
throws Exception
cms - The CmsObject
Exception
public void undelete(CmsObject cms)
throws Exception
cms - The CmsObject
Exception
public void restore(CmsObject cms,
int versionId)
throws Exception
cms - The CmsObjectversionId - The id of the version to restore
Exception
public void chown(CmsObject cms,
int owner)
throws Exception
cms - The CmsObjectowner - The id of the new owner
Exception
public void chgrp(CmsObject cms,
int group)
throws Exception
cms - The CmsObjectgroup - The id of the new group
Exception
public void chmod(CmsObject cms,
int accessflags)
throws Exception
cms - The CmsObjectaccessflags - The new access flags
Exception
public int copy(CmsObject cms)
throws Exception
cms - The CmsObject
Exception
public Vector getHistory(CmsObject cms)
throws Exception
cms - The CmsObject
Exception
public Object getVersionFromHistory(CmsObject cms,
int versionId)
throws Exception
cms - The CmsObjectversionId - The version id
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||