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

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

public class SiteNodeStateController
extends BaseController


Constructor Summary
SiteNodeStateController()
           
 
Method Summary
 SiteNodeVersion changeState(java.lang.Integer oldSiteNodeVersionId, java.lang.Integer stateId, java.lang.String versionComment, boolean overrideVersionModifyer, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, org.exolab.castor.jdo.Database db, java.util.List resultingEvents)
          This method handles versioning and state-control of siteNodes.
 SiteNodeVersion changeState(java.lang.Integer oldSiteNodeVersionId, java.lang.Integer stateId, java.lang.String versionComment, boolean overrideVersionModifyer, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.util.List resultingEvents)
          This method handles versioning and state-control of siteNodes.
 SiteNodeVersion changeState(java.lang.Integer oldSiteNodeVersionId, java.lang.Integer stateId, java.lang.String versionComment, boolean overrideVersionModifyer, java.lang.String recipientFilter, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, org.exolab.castor.jdo.Database db, java.util.List resultingEvents)
          This method handles versioning and state-control of siteNodes.
 SiteNodeVersion changeState(java.lang.Integer oldSiteNodeVersionId, java.lang.Integer stateId, java.lang.String versionComment, boolean overrideVersionModifyer, java.lang.String recipientFilter, InfoGluePrincipal infoGluePrincipal, java.lang.Integer siteNodeId, java.util.List resultingEvents)
          This method handles versioning and state-control of siteNodes.
 void changeStateOnMetaInfo(org.exolab.castor.jdo.Database db, SiteNodeVersion siteNodeVersion, java.lang.Integer stateId, java.lang.String versionComment, boolean overrideVersionModifyer, InfoGluePrincipal infoGluePrincipal, java.util.List events)
          This method checks if the siteNodes latest metainfo is working - if so - it get published with the sitenode.
static SiteNodeStateController getController()
          Factory method
 BaseEntityVO getNewVO()
          This is a method that never should 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, getAllObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, 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
 

Constructor Detail

SiteNodeStateController

public SiteNodeStateController()
Method Detail

getController

public static SiteNodeStateController getController()
Factory method


changeState

public SiteNodeVersion changeState(java.lang.Integer oldSiteNodeVersionId,
                                   java.lang.Integer stateId,
                                   java.lang.String versionComment,
                                   boolean overrideVersionModifyer,
                                   InfoGluePrincipal infoGluePrincipal,
                                   java.lang.Integer siteNodeId,
                                   java.util.List resultingEvents)
                            throws ConstraintException,
                                   SystemException
This method handles versioning and state-control of siteNodes. Se inline documentation for further explainations.

Throws:
ConstraintException
SystemException

changeState

public SiteNodeVersion changeState(java.lang.Integer oldSiteNodeVersionId,
                                   java.lang.Integer stateId,
                                   java.lang.String versionComment,
                                   boolean overrideVersionModifyer,
                                   java.lang.String recipientFilter,
                                   InfoGluePrincipal infoGluePrincipal,
                                   java.lang.Integer siteNodeId,
                                   java.util.List resultingEvents)
                            throws ConstraintException,
                                   SystemException
This method handles versioning and state-control of siteNodes. Se inline documentation for further explainations.

Throws:
ConstraintException
SystemException

changeState

public SiteNodeVersion changeState(java.lang.Integer oldSiteNodeVersionId,
                                   java.lang.Integer stateId,
                                   java.lang.String versionComment,
                                   boolean overrideVersionModifyer,
                                   InfoGluePrincipal infoGluePrincipal,
                                   java.lang.Integer siteNodeId,
                                   org.exolab.castor.jdo.Database db,
                                   java.util.List resultingEvents)
                            throws ConstraintException,
                                   SystemException
This method handles versioning and state-control of siteNodes. Se inline documentation for further explainations.

Throws:
ConstraintException
SystemException

changeState

public SiteNodeVersion changeState(java.lang.Integer oldSiteNodeVersionId,
                                   java.lang.Integer stateId,
                                   java.lang.String versionComment,
                                   boolean overrideVersionModifyer,
                                   java.lang.String recipientFilter,
                                   InfoGluePrincipal infoGluePrincipal,
                                   java.lang.Integer siteNodeId,
                                   org.exolab.castor.jdo.Database db,
                                   java.util.List resultingEvents)
                            throws ConstraintException,
                                   SystemException
This method handles versioning and state-control of siteNodes. Se inline documentation for further explainations.

Throws:
ConstraintException
SystemException

changeStateOnMetaInfo

public void changeStateOnMetaInfo(org.exolab.castor.jdo.Database db,
                                  SiteNodeVersion siteNodeVersion,
                                  java.lang.Integer stateId,
                                  java.lang.String versionComment,
                                  boolean overrideVersionModifyer,
                                  InfoGluePrincipal infoGluePrincipal,
                                  java.util.List events)
                           throws ConstraintException,
                                  SystemException,
                                  java.lang.Exception
This method checks if the siteNodes latest metainfo is working - if so - it get published with the sitenode.

Parameters:
db -
Throws:
ConstraintException
SystemException
java.lang.Exception

getNewVO

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

Specified by:
getNewVO in class BaseController


Copyright © 2005 InfoGlue.org All Rights Reserved.