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

java.lang.Object
  |
  +--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
        |
        +--org.infoglue.cms.controllers.kernel.impl.simple.SiteNodeVersionController
              |
              +--org.infoglue.cms.controllers.kernel.impl.simple.SiteNodeVersionControllerProxy

public class SiteNodeVersionControllerProxy
extends SiteNodeVersionController

Author:
Mattias Bogeblad

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
 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, getLatestPublishedSiteNodeVersion, getLatestPublishedSiteNodeVersion, getLatestSiteNodeVersion, getLatestSiteNodeVersionVO, getMetaInfoContentVersionVOList, getNewVO, getPreviousActiveSiteNodeVersionVO, getPreviousSiteNodeVersionVO, getPublishedSiteNodeVersionVOWithParentRecursive, getServiceBindningVOList, getSiteNodeAndAffectedItemsRecursive, getSiteNodeVersionWithId, getSiteNodeVersionWithIdAsReadOnly, getSiteNodeVersionVOList, getSiteNodeVersionVOWithId, getSiteNodeVersionVOWithParentRecursive, update, update, updateStateId
 
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
 

Constructor Detail

SiteNodeVersionControllerProxy

public SiteNodeVersionControllerProxy()
Method Detail

getSiteNodeVersionControllerProxy

public static SiteNodeVersionControllerProxy getSiteNodeVersionControllerProxy()

getACLatestActiveSiteNodeVersionVO

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

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.

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.

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.