org.infoglue.cms.controllers.kernel.impl.simple
Class ContentStateController
java.lang.Object
|
+--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
|
+--org.infoglue.cms.controllers.kernel.impl.simple.ContentStateController
- public class ContentStateController
- extends BaseController
|
Method Summary |
static ContentVersion |
changeState(java.lang.Integer oldContentVersionId,
java.lang.Integer stateId,
java.lang.String versionComment,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer contentId,
org.exolab.castor.jdo.Database db,
java.util.List resultingEvents)
This method handles versioning and state-control of content.
|
static ContentVersion |
changeState(java.lang.Integer oldContentVersionId,
java.lang.Integer stateId,
java.lang.String versionComment,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer contentId,
java.util.List resultingEvents)
This method handles versioning and state-control of content.
|
BaseEntityVO |
getNewVO()
This method should never be called. |
| Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController |
deleteEntity, deleteEntity, deleteEntity, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getVOWithId, getVOWithId, getVOWithId, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, validateEntity |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentCategoryController
public static final ContentCategoryController contentCategoryController
OVERIDE_WORKING
public static final int OVERIDE_WORKING
- See Also:
- Constant Field Values
LEAVE_WORKING
public static final int LEAVE_WORKING
- See Also:
- Constant Field Values
ContentStateController
public ContentStateController()
changeState
public static ContentVersion changeState(java.lang.Integer oldContentVersionId,
java.lang.Integer stateId,
java.lang.String versionComment,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer contentId,
java.util.List resultingEvents)
throws ConstraintException,
SystemException
- This method handles versioning and state-control of content.
Se inline documentation for further explainations.
ConstraintException
SystemException
changeState
public static ContentVersion changeState(java.lang.Integer oldContentVersionId,
java.lang.Integer stateId,
java.lang.String versionComment,
InfoGluePrincipal infoGluePrincipal,
java.lang.Integer contentId,
org.exolab.castor.jdo.Database db,
java.util.List resultingEvents)
throws SystemException
- This method handles versioning and state-control of content.
Se inline documentation for further explainations.
SystemException
getNewVO
public BaseEntityVO getNewVO()
- This method should never be called.
- Specified by:
getNewVO in class BaseController