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

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

public class ContentVersionControllerProxy
extends ContentVersionController

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
ContentVersionControllerProxy()
           
 
Method Summary
 ContentVersionVO acCreate(InfoGluePrincipal infogluePrincipal, java.lang.Integer contentId, java.lang.Integer languageId, ContentVersionVO contentVersionVO)
          This method creates a contentVersion after first checking that the user has rights to edit it.
 void acDelete(InfoGluePrincipal infogluePrincipal, ContentVersionVO contentVersionVO)
          This method deletes a content after first checking that the user has rights to edit it.
 ContentVersionVO acUpdate(InfoGluePrincipal infogluePrincipal, java.lang.Integer contentId, java.lang.Integer languageId, ContentVersionVO contentVersionVO)
          This method updates a content after first checking that the user has rights to edit it.
 ContentVersionVO getACContentVersionVOWithId(InfoGluePrincipal infogluePrincipal, java.lang.Integer contentVersionId)
          This method returns a specific content-object after checking that it is accessable by the given user
 ContentVersionVO getACLatestActiveContentVersionVO(InfoGluePrincipal infogluePrincipal, java.lang.Integer contentId, java.lang.Integer languageId)
          This method returns a specific content-object after checking that it is accessable by the given user
static ContentVersionControllerProxy getController()
           
 boolean getIsContentProtected(java.lang.Integer contentId, boolean inherit)
          This method returns true if the if the content in question is protected.
 
Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.ContentVersionController
copyDigitalAssets, create, create, create, delete, delete, delete, delete, deleteDigitalAsset, deleteDigitalAssetRelation, deleteDigitalAssetRelation, deleteVersionsForContent, deleteVersionsForContent, getAttributeValue, getAttributeValue, getContentAndAffectedItemsRecursive, getContentVersionController, getContentVersionWithId, getContentVersionWithId, getContentVersionWithParent, getContentVersionVOList, getContentVersionVOWithId, getContentVersionVOWithParent, getContentVersionVOWithParentRecursive, getContentVersionVOWithParentRecursiveAndRelated, getLatestActiveContentVersion, getLatestActiveContentVersionIfInState, getLatestActiveContentVersionVO, getLatestActiveContentVersionVO, getLatestContentVersion, getLatestContentVersionWithParent, getLatestContentVersionVO, getLatestContentVersionVOWithParent, getLatestPublishedContentVersion, getLatestPublishedContentVersion, getLatestPublishedContentVersion, getNewVO, getPreviousActiveContentVersionVO, getPreviousContentVersionVO, getPublishedActiveContentVersionVOList, getReadOnlyContentVersionWithId, update, updateAttributeValue
 
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

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

ContentVersionControllerProxy

public ContentVersionControllerProxy()
Method Detail

getController

public static ContentVersionControllerProxy getController()

getACContentVersionVOWithId

public ContentVersionVO getACContentVersionVOWithId(InfoGluePrincipal infogluePrincipal,
                                                    java.lang.Integer contentVersionId)
                                             throws ConstraintException,
                                                    SystemException,
                                                    Bug,
                                                    java.lang.Exception
This method returns a specific content-object after checking that it is accessable by the given user

Throws:
ConstraintException
SystemException
Bug
java.lang.Exception

getACLatestActiveContentVersionVO

public ContentVersionVO getACLatestActiveContentVersionVO(InfoGluePrincipal infogluePrincipal,
                                                          java.lang.Integer contentId,
                                                          java.lang.Integer languageId)
                                                   throws ConstraintException,
                                                          SystemException,
                                                          Bug,
                                                          java.lang.Exception
This method returns a specific content-object after checking that it is accessable by the given user

Throws:
ConstraintException
SystemException
Bug
java.lang.Exception

acCreate

public ContentVersionVO acCreate(InfoGluePrincipal infogluePrincipal,
                                 java.lang.Integer contentId,
                                 java.lang.Integer languageId,
                                 ContentVersionVO contentVersionVO)
                          throws ConstraintException,
                                 SystemException,
                                 Bug,
                                 java.lang.Exception
This method creates a contentVersion after first checking that the user has rights to edit it.

Throws:
ConstraintException
SystemException
Bug
java.lang.Exception

acUpdate

public ContentVersionVO acUpdate(InfoGluePrincipal infogluePrincipal,
                                 java.lang.Integer contentId,
                                 java.lang.Integer languageId,
                                 ContentVersionVO contentVersionVO)
                          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

acDelete

public void acDelete(InfoGluePrincipal infogluePrincipal,
                     ContentVersionVO contentVersionVO)
              throws ConstraintException,
                     SystemException,
                     Bug,
                     java.lang.Exception
This method deletes a content after first checking that the user has rights to edit it.

Throws:
ConstraintException
SystemException
Bug
java.lang.Exception

getIsContentProtected

public boolean getIsContentProtected(java.lang.Integer contentId,
                                     boolean inherit)
This method returns true if the if the content in question is protected.



Copyright © 2005 InfoGlue.org All Rights Reserved.