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

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

public class SiteNodeVersionControllerProxy
extends SiteNodeVersionController

Author:
Mattias Bogeblad

Field Summary
protected static java.lang.Integer INHERITED
           
protected static java.lang.Integer NO
           
protected static java.lang.Integer YES
           
 
Constructor Summary
SiteNodeVersionControllerProxy()
           
 
Method Summary
 SiteNodeVersionVO acUpdate(InfoGluePrincipal infogluePrincipal, SiteNodeVersionVO siteNodeVersionVO)
          This method updates a content after first checking that the user has rights to edit it.
 SiteNodeVersionVO acUpdate(InfoGluePrincipal infogluePrincipal, SiteNodeVersionVO siteNodeVersionVO, org.exolab.castor.jdo.Database db)
          This method updates a content after first checking that the user has rights to edit it.
 SiteNodeVersionVO getACLatestActiveSiteNodeVersionVO(InfoGluePrincipal infogluePrincipal, java.lang.Integer siteNodeId)
          This method returns a specific siteNodeVersion-object
 SiteNodeVersionVO getACLatestActiveSiteNodeVersionVO(InfoGluePrincipal infogluePrincipal, java.lang.Integer siteNodeId, org.exolab.castor.jdo.Database db)
          This method returns a specific siteNodeVersion-object
 boolean getIsSiteNodeVersionProtected(java.lang.Integer siteNodeVersionId)
          This method returns true if the if the siteNode in question is protected.
 boolean getIsSiteNodeVersionProtected(java.lang.Integer siteNodeVersionId, org.exolab.castor.jdo.Database db)
          This method returns true if the if the siteNode in question is protected.
 java.lang.Integer getProtectedSiteNodeVersionId(java.lang.Integer siteNodeVersionId)
          This method returns true if the if the siteNode in question is protected.
 java.lang.Integer getProtectedSiteNodeVersionId(java.lang.Integer siteNodeVersionId, org.exolab.castor.jdo.Database db)
          This method returns true if the if the siteNode in question is protected within a transaction.
static SiteNodeVersionControllerProxy getSiteNodeVersionControllerProxy()
           
 
Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.SiteNodeVersionController
create, create, createInitialSiteNodeVersion, delete, delete, deleteVersionsForSiteNode, deleteVersionsForSiteNodeWithId, getController, getLatestActiveSiteNodeVersion, getLatestActiveSiteNodeVersionIfInState, getLatestActiveSiteNodeVersionVO, getLatestActiveSiteNodeVersionVO, getLatestPublishedSiteNodeVersion, getLatestPublishedSiteNodeVersion, getLatestSiteNodeVersion, getLatestSiteNodeVersionVO, getLatestSiteNodeVersionVO, getMetaInfoContentVersionVOList, getNewVO, getPreviousActiveSiteNodeVersion, getPreviousActiveSiteNodeVersionVO, getPreviousSiteNodeVersionVO, getPublishedActiveSiteNodeVersionVOList, getPublishedActiveSiteNodeVersionVOList, getPublishedSiteNodeVersionVOWithParentRecursive, getServiceBindningList, getServiceBindningVOList, getServiceBindningVOList, getSiteNodeAndAffectedItemsRecursive, getSiteNodeVersionWithId, getSiteNodeVersionWithIdAsReadOnly, getSiteNodeVersionVOList, getSiteNodeVersionVOWithId, getSiteNodeVersionVOWithParentRecursive, update, update, updateStateId, updateStateId
 
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, 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

NO

protected static final java.lang.Integer NO

YES

protected static final java.lang.Integer YES

INHERITED

protected static final java.lang.Integer INHERITED
Constructor Detail

SiteNodeVersionControllerProxy

public SiteNodeVersionControllerProxy()
Method Detail

getSiteNodeVersionControllerProxy

public static SiteNodeVersionControllerProxy getSiteNodeVersionControllerProxy()

getACLatestActiveSiteNodeVersionVO

public SiteNodeVersionVO getACLatestActiveSiteNodeVersionVO(InfoGluePrincipal infogluePrincipal,
                                                            java.lang.Integer siteNodeId,
                                                            org.exolab.castor.jdo.Database db)
                                                     throws ConstraintException,
                                                            SystemException,
                                                            Bug,
                                                            java.lang.Exception
This method returns a specific siteNodeVersion-object

Throws:
ConstraintException
SystemException
Bug
java.lang.Exception

getACLatestActiveSiteNodeVersionVO

public SiteNodeVersionVO getACLatestActiveSiteNodeVersionVO(InfoGluePrincipal infogluePrincipal,
                                                            java.lang.Integer siteNodeId)
                                                     throws ConstraintException,
                                                            SystemException,
                                                            Bug,
                                                            java.lang.Exception
This method returns a specific siteNodeVersion-object

Throws:
ConstraintException
SystemException
Bug
java.lang.Exception

acUpdate

public SiteNodeVersionVO acUpdate(InfoGluePrincipal infogluePrincipal,
                                  SiteNodeVersionVO siteNodeVersionVO)
                           throws ConstraintException,
                                  SystemException,
                                  Bug,
                                  java.lang.Exception
This method updates a content after first checking that the user has rights to edit it.

Throws:
ConstraintException
SystemException
Bug
java.lang.Exception

acUpdate

public SiteNodeVersionVO acUpdate(InfoGluePrincipal infogluePrincipal,
                                  SiteNodeVersionVO siteNodeVersionVO,
                                  org.exolab.castor.jdo.Database db)
                           throws ConstraintException,
                                  SystemException,
                                  Bug,
                                  java.lang.Exception
This method updates a content after first checking that the user has rights to edit it.

Throws:
ConstraintException
SystemException
Bug
java.lang.Exception

getProtectedSiteNodeVersionId

public java.lang.Integer getProtectedSiteNodeVersionId(java.lang.Integer siteNodeVersionId)
This method returns true if the if the siteNode in question is protected.


getProtectedSiteNodeVersionId

public java.lang.Integer getProtectedSiteNodeVersionId(java.lang.Integer siteNodeVersionId,
                                                       org.exolab.castor.jdo.Database db)
This method returns true if the if the siteNode in question is protected within a transaction.


getIsSiteNodeVersionProtected

public boolean getIsSiteNodeVersionProtected(java.lang.Integer siteNodeVersionId)
This method returns true if the if the siteNode in question is protected.


getIsSiteNodeVersionProtected

public boolean getIsSiteNodeVersionProtected(java.lang.Integer siteNodeVersionId,
                                             org.exolab.castor.jdo.Database db)
This method returns true if the if the siteNode in question is protected.



Copyright © 2005 InfoGlue.org All Rights Reserved.