org.infoglue.cms.controllers.kernel.impl.simple
Class ContentStateController

java.lang.Object
  extended by org.infoglue.cms.controllers.kernel.impl.simple.BaseController
      extended by org.infoglue.cms.controllers.kernel.impl.simple.ContentStateController

public class ContentStateController
extends BaseController


Field Summary
static ContentCategoryController contentCategoryController
           
static int LEAVE_WORKING
           
static int OVERIDE_WORKING
           
 
Constructor Summary
ContentStateController()
           
 
Method Summary
static ContentVersion changeState(java.lang.Integer oldContentVersionId, java.lang.Integer stateId, java.lang.String versionComment, boolean overrideVersionModifyer, 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, boolean overrideVersionModifyer, 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
beginTransaction, beginTransaction, closeDatabase, commitTransaction, createEntity, createEntity, createQuery, deleteEntity, deleteEntity, deleteEntity, deleteEntity, executeQuery, executeQuery, executeQuery, executeQuery, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getLogger, getObjectWithId, getObjectWithId, getObjectWithIdAsReadOnly, getVOWithId, getVOWithId, getVOWithId, getVOWithId, intercept, intercept, rollbackTransaction, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, updateEntity, validateEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ContentStateController

public ContentStateController()
Method Detail

changeState

public static ContentVersion changeState(java.lang.Integer oldContentVersionId,
                                         java.lang.Integer stateId,
                                         java.lang.String versionComment,
                                         boolean overrideVersionModifyer,
                                         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.

Throws:
ConstraintException
SystemException

changeState

public static ContentVersion changeState(java.lang.Integer oldContentVersionId,
                                         java.lang.Integer stateId,
                                         java.lang.String versionComment,
                                         boolean overrideVersionModifyer,
                                         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.

Throws:
SystemException

getNewVO

public BaseEntityVO getNewVO()
This method should never be called.

Specified by:
getNewVO in class BaseController


Copyright © 2005 InfoGlue.org All Rights Reserved.