ca.pjer.cm.api.cmf
Interface ContentManagementService
- public interface ContentManagementService
Root service for the Content Management Framework.
$Id: ContentManagementService.java,v 1.2 2004/05/19 03:29:16 pjer Exp $
$RCSfile: ContentManagementService.java,v $
$Revision: 1.2 $
$Author: pjer $
$Date: 2004/05/19 03:29:16 $
Method Summary |
java.lang.Object |
createObject(AccessToken accessToken,
java.lang.Object object)
|
AccessToken |
getAccessToken(AccessCredential accessCredential)
|
MetaData |
getMetaData(AccessToken accessToken,
java.lang.Class clazz)
|
java.lang.Object |
getObject(AccessToken accessToken,
java.lang.Class clazz,
java.io.Serializable id)
|
boolean |
hasAccess(AccessToken accessToken,
Permission permission,
java.lang.Class clazz)
|
java.util.List |
listObjects(AccessToken accessToken,
java.lang.Class clazz)
|
java.util.List |
listObjectsFromTemplate(AccessToken accessToken,
java.lang.Object template)
|
java.util.List |
listRootMetaData(AccessToken accessToken)
|
void |
removeObject(AccessToken accessToken,
java.lang.Object object)
|
java.lang.Object |
updateObject(AccessToken accessToken,
java.lang.Object object)
|
getAccessToken
public AccessToken getAccessToken(AccessCredential accessCredential)
throws AccessServiceSystemException,
InvalidAccessCredentialException
- Throws:
AccessServiceSystemException
InvalidAccessCredentialException
hasAccess
public boolean hasAccess(AccessToken accessToken,
Permission permission,
java.lang.Class clazz)
throws AccessServiceSystemException,
InvalidAccessTokenException,
InsufficientRightsException
- Throws:
AccessServiceSystemException
InvalidAccessTokenException
InsufficientRightsException
createObject
public java.lang.Object createObject(AccessToken accessToken,
java.lang.Object object)
throws AccessServiceSystemException,
InvalidAccessTokenException,
InsufficientRightsException,
StoreServiceSystemException,
DuplicateObjectException
- Throws:
AccessServiceSystemException
InvalidAccessTokenException
InsufficientRightsException
StoreServiceSystemException
DuplicateObjectException
updateObject
public java.lang.Object updateObject(AccessToken accessToken,
java.lang.Object object)
throws AccessServiceSystemException,
InvalidAccessTokenException,
InsufficientRightsException,
StoreServiceSystemException,
ObjectNotFoundException
- Throws:
AccessServiceSystemException
InvalidAccessTokenException
InsufficientRightsException
StoreServiceSystemException
ObjectNotFoundException
getObject
public java.lang.Object getObject(AccessToken accessToken,
java.lang.Class clazz,
java.io.Serializable id)
throws AccessServiceSystemException,
InvalidAccessTokenException,
InsufficientRightsException,
StoreServiceSystemException,
ObjectNotFoundException
- Throws:
AccessServiceSystemException
InvalidAccessTokenException
InsufficientRightsException
StoreServiceSystemException
ObjectNotFoundException
listObjects
public java.util.List listObjects(AccessToken accessToken,
java.lang.Class clazz)
throws AccessServiceSystemException,
InvalidAccessTokenException,
InsufficientRightsException,
StoreServiceSystemException
- Throws:
AccessServiceSystemException
InvalidAccessTokenException
InsufficientRightsException
StoreServiceSystemException
listObjectsFromTemplate
public java.util.List listObjectsFromTemplate(AccessToken accessToken,
java.lang.Object template)
throws AccessServiceSystemException,
InvalidAccessTokenException,
InsufficientRightsException,
StoreServiceSystemException
- Throws:
AccessServiceSystemException
InvalidAccessTokenException
InsufficientRightsException
StoreServiceSystemException
removeObject
public void removeObject(AccessToken accessToken,
java.lang.Object object)
throws AccessServiceSystemException,
InvalidAccessTokenException,
InsufficientRightsException,
StoreServiceSystemException,
ObjectNotFoundException
- Throws:
AccessServiceSystemException
InvalidAccessTokenException
InsufficientRightsException
StoreServiceSystemException
ObjectNotFoundException
getMetaData
public MetaData getMetaData(AccessToken accessToken,
java.lang.Class clazz)
throws AccessServiceSystemException,
InvalidAccessTokenException,
InsufficientRightsException,
MetaDataServiceSystemException,
MetaDataNotFoundException
- Throws:
AccessServiceSystemException
InvalidAccessTokenException
InsufficientRightsException
MetaDataServiceSystemException
MetaDataNotFoundException
listRootMetaData
public java.util.List listRootMetaData(AccessToken accessToken)
throws AccessServiceSystemException,
InvalidAccessTokenException,
InsufficientRightsException,
MetaDataServiceSystemException
- Throws:
AccessServiceSystemException
InvalidAccessTokenException
InsufficientRightsException
MetaDataServiceSystemException
Copyright © 2004 PjEr.ca. All Rights Reserved.