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

java.lang.Object
  |
  +--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
        |
        +--org.infoglue.cms.controllers.kernel.impl.simple.ContentVersionController
              |
              +--org.infoglue.cms.controllers.kernel.impl.simple.ContentVersionControllerProxy

public class ContentVersionControllerProxy
extends ContentVersionController

Author:
Mattias Bogeblad

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, deleteDigitalAssetRelation, deleteDigitalAssetRelation, deleteVersionsForContent, getAttributeValue, getAttributeValue, getContentAndAffectedItemsRecursive, getContentVersionController, getContentVersionWithId, getContentVersionWithId, getContentVersionWithParent, getContentVersionVOList, getContentVersionVOWithId, getContentVersionVOWithParent, getContentVersionVOWithParentRecursive, getContentVersionVOWithParentRecursiveAndRelated, getLatestActiveContentVersion, getLatestActiveContentVersionIfInState, getLatestActiveContentVersionVO, getLatestContentVersion, getLatestContentVersionWithParent, getLatestContentVersionVO, getLatestContentVersionVOWithParent, getLatestPublishedContentVersion, getLatestPublishedContentVersion, getLatestPublishedContentVersion, getNewVO, getPreviousActiveContentVersionVO, getPreviousContentVersionVO, getReadOnlyContentVersionWithId, update, updateAttributeValue
 
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

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

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

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.

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.

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.

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.