From graffito-commits-return-611-apmail-incubator-graffito-commits-archive=www.apache.org@incubator.apache.org Wed Feb 22 21:50:19 2006 Return-Path: Delivered-To: apmail-incubator-graffito-commits-archive@www.apache.org Received: (qmail 23588 invoked from network); 22 Feb 2006 21:50:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 21:50:19 -0000 Received: (qmail 62630 invoked by uid 500); 22 Feb 2006 21:50:17 -0000 Mailing-List: contact graffito-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: graffito-dev@incubator.apache.org Delivered-To: mailing list graffito-commits@incubator.apache.org Received: (qmail 62441 invoked by uid 500); 22 Feb 2006 21:50:15 -0000 Delivered-To: apmail-incubator-graffito-cvs@incubator.apache.org Received: (qmail 62426 invoked by uid 99); 22 Feb 2006 21:50:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 13:50:14 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 22 Feb 2006 13:50:04 -0800 Received: (qmail 22721 invoked by uid 65534); 22 Feb 2006 21:49:42 -0000 Message-ID: <20060222214942.22720.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379929 [11/32] - in /incubator/graffito/site/components/apidocs/org/apache/portals/graffito: model/server/impl/ model/server/impl/class-use/ persistence/ persistence/class-use/ persistence/impl/ persistence/impl/class-use/ security/ securi... Date: Wed, 22 Feb 2006 21:49:21 -0000 To: graffito-cvs@incubator.apache.org From: clombart@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Modified: incubator/graffito/site/components/apidocs/org/apache/portals/graffito/persistence/impl/ContentPersistenceServiceImpl.html URL: http://svn.apache.org/viewcvs/incubator/graffito/site/components/apidocs/org/apache/portals/graffito/persistence/impl/ContentPersistenceServiceImpl.html?rev=379929&r1=379928&r2=379929&view=diff ============================================================================== --- incubator/graffito/site/components/apidocs/org/apache/portals/graffito/persistence/impl/ContentPersistenceServiceImpl.html (original) +++ incubator/graffito/site/components/apidocs/org/apache/portals/graffito/persistence/impl/ContentPersistenceServiceImpl.html Wed Feb 22 13:49:16 2006 @@ -1,983 +1,981 @@ - - - - - - - -ContentPersistenceServiceImpl (Graffito Components 1.0-a1-dev API) - - - - - - - - - - - - + + + + + + + +ContentPersistenceServiceImpl (Graffito Components 1.0-a1-dev API) + - + + + + + + + + + + + + - - - + + + + + +
- - -
- -

- -org.apache.portals.graffito.persistence.impl -
-Class ContentPersistenceServiceImpl

-
-java.lang.Object
-  extended byorg.apache.portals.graffito.persistence.impl.ContentPersistenceServiceImpl
-
-
-
All Implemented Interfaces:
ContentPersistenceService
-
-
-
-
public class ContentPersistenceServiceImpl
extends java.lang.Object
implements ContentPersistenceService
- -

+ + +


+ +

+ +org.apache.portals.graffito.persistence.impl +
+Class ContentPersistenceServiceImpl

+
+java.lang.Object
+  extended byorg.apache.portals.graffito.persistence.impl.ContentPersistenceServiceImpl
+
+
+
All Implemented Interfaces:
ContentPersistenceService
+
+
+
+
public class ContentPersistenceServiceImpl
extends java.lang.Object
implements ContentPersistenceService
+ +

Default implementation for - org.apache.portals.graffito.persistenceService.ContentPersistenceService -

- -

-


- -

- - - - - + org.apache.portals.graffito.persistenceService.ContentPersistenceService +

+ +

+


+ +

+ + + + + - - - - -
-Field Summary
+ + + + +
+Field Summary
  - - - - - - - -
Fields inherited from interface org.apache.portals.graffito.persistence.ContentPersistenceService
CONTENT, DOCUMENT, FILE_SYSTEM_SERVER, FOLDER, GRAFFITO_SERVER, HISTPORY, LINK, VERSIONNED_CONTENT, WEBDAV_SERVER
-  - - + + + + + + + +
Fields inherited from interface org.apache.portals.graffito.persistence.ContentPersistenceService
CONTENT, DOCUMENT, FILE_SYSTEM_SERVER, FOLDER, GRAFFITO_SERVER, HISTPORY, LINK, VERSIONNED_CONTENT, WEBDAV_SERVER
+  + + - - - - - +
-Constructor Summary
+ + + + - -
+Constructor Summary
ContentPersistenceServiceImpl(org.apache.portals.graffito.model.server.Server graffitoMasterServer, - ContentStoreService contentStoreService) - -
-          Constructor.
-  - - + ContentStoreService contentStoreService) + +
+          Constructor. + + +  + + - - - - - - - - - - - - - - - - - - +
-Method Summary
- java.lang.ObjectcreateObject(java.lang.String omName) - -
-          Factory method to create cms objects.
- voiddelete(java.lang.Object object) - -
-          Delete any kind of object from a persistenceService store (CmsObject, Server, ...) .
- voiddelete(java.lang.String uri) - -
-          Delete a CmsObject
- void
+ + + + + + + + + + + + + + + + + - - - - - - - - - - - + org.apache.portals.graffito.services.search.Filter filter) + +
+          Delete several objects from a persistenceService store. + + + + + + + + + + + - - - + version number. + + + - - - - - - - - - - - - - - - - - - - + org.apache.portals.graffito.services.search.Filter filter) + +
+          Get a collection of objects (CmsObject, Server, HistoryElement, ...) from the persistenceService store. + + + + + + + + + + + + + + + + + + + - - - - - - - + org.apache.portals.graffito.services.search.Filter filter) + +
+          Get an iterator of objects (CmsObject, Server, HistoryElement, ...) from the persistenceService store. + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+Method Summary
+ java.lang.ObjectcreateObject(java.lang.String omName) + +
+          Factory method to create cms objects.
+ voiddelete(java.lang.Object object) + +
+          Delete any kind of object from a persistenceService store (CmsObject, Server, ...) .
+ voiddelete(java.lang.String uri) + +
+          Delete a CmsObject
+ void deleteAll(java.lang.Class clazz, - org.apache.portals.graffito.services.search.Filter filter) - -
-          Delete several objects from a persistenceService store.
- java.util.CollectiongetChildren(java.lang.String parentUri) - -
-          Get all cms objects (documents & folders) found in an parent uri.
- org.apache.portals.graffito.model.core.CmsObjectgetCmsObject(java.lang.String uri) - -
-          Get a cms object from the persistent store depending on an uri.
- org.apache.portals.graffito.model.core.CmsObject
+ java.util.CollectiongetChildren(java.lang.String parentUri) + +
+          Get all cms objects (documents & folders) found in an parent uri.
+ org.apache.portals.graffito.model.core.CmsObjectgetCmsObject(java.lang.String uri) + +
+          Get a cms object from the persistent store depending on an uri.
+ org.apache.portals.graffito.model.core.CmsObject getCmsObject(java.lang.String uri, - java.lang.String versionNumber) - -
+ java.lang.String versionNumber) + +
          Get a cms object from the persistent store depending on an uri and a - version number.
- java.util.Collection
+ java.util.Collection getCollectionByQuery(java.lang.Class clazz, - org.apache.portals.graffito.services.search.Filter filter) - -
-          Get a collection of objects (CmsObject, Server, HistoryElement, ...) from the persistenceService store. -
- java.util.CollectiongetContents(java.lang.String uri) - -
-          Get contents found in a parent uri.
- java.util.CollectiongetFolders(java.lang.String uri) - -
-          Get folders found in a parent uri.
- ContentStoregetGraffitoMasterStore() - -
-          Get a persistenceService store associated to a scope.
- org.apache.portals.graffito.model.core.HistoryElementgetHistory(org.apache.portals.graffito.model.core.VersionnedContent versionnedContent) - -
-          Get the version history element defined from a versionned content.
- java.util.Iterator
+ java.util.CollectiongetContents(java.lang.String uri) + +
+          Get contents found in a parent uri.
+ java.util.CollectiongetFolders(java.lang.String uri) + +
+          Get folders found in a parent uri.
+ ContentStoregetGraffitoMasterStore() + +
+          Get a persistenceService store associated to a scope.
+ org.apache.portals.graffito.model.core.HistoryElementgetHistory(org.apache.portals.graffito.model.core.VersionnedContent versionnedContent) + +
+          Get the version history element defined from a versionned content.
+ java.util.Iterator getIteratorByQuery(java.lang.Class clazz, - org.apache.portals.graffito.services.search.Filter filter) - -
-          Get an iterator of objects (CmsObject, Server, HistoryElement, ...) from the persistenceService store. -
- java.util.CollectiongetLinks(java.lang.String uri) - -
-          Get links found in a parent uri.
- java.lang.Object
+ java.util.CollectiongetLinks(java.lang.String uri) + +
+          Get links found in a parent uri.
+ java.lang.Object getObjectbyQuery(java.lang.Class clazz, - org.apache.portals.graffito.services.search.Filter filter) - -
-          Get a cms related object from the persistent store (can be a document, a folder or Server, ...).
- org.apache.portals.graffito.model.server.ServergetServer(java.lang.String scope) - -
-          Get a server reference based on the scope
- java.util.CollectiongetServers(boolean withMasterServer) - -
-          Get all registered servers
- ContentStoregetStore(java.lang.String persistenceStoreName) - -
-          Get a content store associated to a scope.
- voidinsert(java.lang.Object object) - -
-          Insert any kind of object (CmsObject, Server, HistoryElement, ...)
- voidinsertHistoryElement(org.apache.portals.graffito.model.core.HistoryElement historyElement) - -
-          Add a new history element
- org.apache.portals.graffito.services.search.FilternewFilter() - -
-          Instantiate a new filter object.
- voidregisterServer(org.apache.portals.graffito.model.server.Server server) - -
-          Add a new Server reference into the content tree.
- voidunRegisterServer(org.apache.portals.graffito.model.server.Server server) - -
-          Drop a server from the content tree
- voidupdate(java.lang.Object object) - -
-          Update any kind of object (CmsObject, Server, HistoryElement, ...)
+ org.apache.portals.graffito.services.search.Filter filter) + +
+          Get a cms related object from the persistent store (can be a document, a folder or Server, ...). + + + + org.apache.portals.graffito.model.server.Server +getServer(java.lang.String scope) + +
+          Get a server reference based on the scope + + + + java.util.Collection +getServers(boolean withMasterServer) + +
+          Get all registered servers + + + + ContentStore +getStore(java.lang.String persistenceStoreName) + +
+          Get a content store associated to a scope. + + + + void +insert(java.lang.Object object) + +
+          Insert any kind of object (CmsObject, Server, HistoryElement, ...) + + + + void +insertHistoryElement(org.apache.portals.graffito.model.core.HistoryElement historyElement) + +
+          Add a new history element + + + + org.apache.portals.graffito.services.search.Filter +newFilter() + +
+          Instantiate a new filter object. + + + + void +registerServer(org.apache.portals.graffito.model.server.Server server) + +
+          Add a new Server reference into the content tree. + + + + void +unRegisterServer(org.apache.portals.graffito.model.server.Server server) + +
+          Drop a server from the content tree + + + + void +update(java.lang.Object object) + +
+          Update any kind of object (CmsObject, Server, HistoryElement, ...) + +   - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - + + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + - - - - -
-Constructor Detail
- -

-ContentPersistenceServiceImpl

-
+
+
+
+
+
+Constructor Detail
+ +

+ContentPersistenceServiceImpl

+
 public ContentPersistenceServiceImpl(org.apache.portals.graffito.model.server.Server graffitoMasterServer,
-                                     ContentStoreService contentStoreService)
-
-
Constructor. -

-

Parameters:
graffitoMasterServer - the Graffito Master Server.
contentStoreService - The content store service used by this persistenceService store
- - - + ContentStoreService contentStoreService)
+
+
Constructor. +

+

Parameters:
graffitoMasterServer - the Graffito Master Server.
contentStoreService - The content store service used by this persistenceService store
+ + + - - - - -
-Method Detail
- -

-createObject

-
+
+
+
+
+
+Method Detail
+ +

+createObject

+
 public java.lang.Object createObject(java.lang.String omName)
-                              throws org.apache.portals.graffito.exception.CmsInstantiateException
-
-
Description copied from interface: ContentPersistenceService
+ throws org.apache.portals.graffito.exception.CmsInstantiateException
+
+
Description copied from interface: ContentPersistenceService
Factory method to create cms objects. It is a generic factory used to - create all CMS related objects like Document, Folder but also Server, HistoryElement, ... . -

-

-
Specified by:
createObject in interface ContentPersistenceService
-
-
+ create all CMS related objects like Document, Folder but also Server, HistoryElement, ... . +

+

+
Specified by:
createObject in interface ContentPersistenceService
+
+
Parameters:
omName - The object interface name
Returns:
a new instantiated cms object
Throws: -
org.apache.portals.graffito.exception.CmsInstantiateException - when the cms object instance can't be created
See Also:
ContentPersistenceService.createObject(java.lang.String)
-
-
-
- -

-insert

-
+
org.apache.portals.graffito.exception.CmsInstantiateException - when the cms object instance can't be created
See Also:
ContentPersistenceService.createObject(java.lang.String)
+ + +
+ +

+insert

+
 public void insert(java.lang.Object object)
             throws ContentPersistenceException,
-                   org.apache.portals.graffito.exception.CmsPermissionException
-
-
Description copied from interface: ContentPersistenceService
-
Insert any kind of object (CmsObject, Server, HistoryElement, ...) -

-

-
Specified by:
insert in interface ContentPersistenceService
-
-
+ org.apache.portals.graffito.exception.CmsPermissionException +
+
Description copied from interface: ContentPersistenceService
+
Insert any kind of object (CmsObject, Server, HistoryElement, ...) +

+

+
Specified by:
insert in interface ContentPersistenceService
+
+
Parameters:
object - The object to be inserted
Throws: -
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges -
ContentPersistenceException - when it is not possible to insert the object
See Also:
ContentPersistenceService.insert(java.lang.Object)
-
-
-
- -

-update

-
+
ContentPersistenceException - when it is not possible to insert the object +
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges
See Also:
ContentPersistenceService.insert(java.lang.Object)
+
+
+
+ +

+update

+
 public void update(java.lang.Object object)
             throws ContentPersistenceException,
-                   org.apache.portals.graffito.exception.CmsPermissionException
-
-
Description copied from interface: ContentPersistenceService
-
Update any kind of object (CmsObject, Server, HistoryElement, ...) -

-

-
Specified by:
update in interface ContentPersistenceService
-
-
+ org.apache.portals.graffito.exception.CmsPermissionException +
+
Description copied from interface: ContentPersistenceService
+
Update any kind of object (CmsObject, Server, HistoryElement, ...) +

+

+
Specified by:
update in interface ContentPersistenceService
+
+
Parameters:
object - The object to be updated.
Throws: -
ContentPersistenceException - when it is not possible to insert the object -
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges
See Also:
ContentPersistenceService.update(java.lang.Object)
-
-
-
- -

-delete

-
+
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges +
ContentPersistenceException - when it is not possible to insert the object
See Also:
ContentPersistenceService.update(java.lang.Object)
+
+
+
+ +

+delete

+
 public void delete(java.lang.Object object)
             throws ContentPersistenceException,
-                   org.apache.portals.graffito.exception.CmsPermissionException
-
-
Description copied from interface: ContentPersistenceService
-
Delete any kind of object from a persistenceService store (CmsObject, Server, ...) . -

-

-
Specified by:
delete in interface ContentPersistenceService
-
-
+ org.apache.portals.graffito.exception.CmsPermissionException +
+
Description copied from interface: ContentPersistenceService
+
Delete any kind of object from a persistenceService store (CmsObject, Server, ...) . +

+

+
Specified by:
delete in interface ContentPersistenceService
+
+
Parameters:
object - the object to be delete
Throws: -
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges -
ContentPersistenceException - unknown object or system error
See Also:
ContentPersistenceService.delete(java.lang.Object)
-
-
-
- -

-delete

-
+
ContentPersistenceException - unknown object or system error +
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges
See Also:
ContentPersistenceService.delete(java.lang.Object)
+
+
+
+ +

+delete

+
 public void delete(java.lang.String uri)
             throws ContentPersistenceException,
-                   org.apache.portals.graffito.exception.CmsPermissionException
-
-
Description copied from interface: ContentPersistenceService
-
Delete a CmsObject -

-

-
Specified by:
delete in interface ContentPersistenceService
-
-
+ org.apache.portals.graffito.exception.CmsPermissionException +
+
Description copied from interface: ContentPersistenceService
+
Delete a CmsObject +

+

+
Specified by:
delete in interface ContentPersistenceService
+
+
Parameters:
uri - The uri of the cms object to delete
Throws: -
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges -
ContentPersistenceException - unknown object or system error
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#delete(java.lang.String)
-
-
-
- -

-deleteAll

-
+
ContentPersistenceException - unknown object or system error +
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#delete(java.lang.String)
+
+
+
+ +

+deleteAll

+
 public void deleteAll(java.lang.Class clazz,
                       org.apache.portals.graffito.services.search.Filter filter)
                throws ContentPersistenceException,
-                      org.apache.portals.graffito.exception.CmsPermissionException
-
-
Description copied from interface: ContentPersistenceService
-
Delete several objects from a persistenceService store. -

-

-
Specified by:
deleteAll in interface ContentPersistenceService
-
-
+ org.apache.portals.graffito.exception.CmsPermissionException +
+
Description copied from interface: ContentPersistenceService
+
Delete several objects from a persistenceService store. +

+

+
Specified by:
deleteAll in interface ContentPersistenceService
+
+
Parameters:
clazz - The class on wich the filter has to be executed
filter - Filter used to select the object to delete
Throws:
ContentPersistenceException - unknown object or system error
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#deleteAll(Class, - Filter)
-
-
-
- -

-getCmsObject

-
+      Filter)
+
+
+
+ +

+getCmsObject

+
 public org.apache.portals.graffito.model.core.CmsObject getCmsObject(java.lang.String uri)
                                                               throws ContentPersistenceException,
-                                                                     org.apache.portals.graffito.exception.CmsPermissionException
-
-
Description copied from interface: ContentPersistenceService
+ org.apache.portals.graffito.exception.CmsPermissionException +
+
Description copied from interface: ContentPersistenceService
Get a cms object from the persistent store depending on an uri. If the - cms object is a document, this method returns the lastest -

-

-
Specified by:
getCmsObject in interface ContentPersistenceService
-
-
+ cms object is a document, this method returns the lastest +

+

+
Specified by:
getCmsObject in interface ContentPersistenceService
+
+
Parameters:
uri - Object uri
Returns:
the object found or null
Throws:
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges -
ContentPersistenceException - when it is not possible to find the associated store
See Also:
ContentPersistenceService.getCmsObject(String)
-
-
-
- -

-getCmsObject

-
+
ContentPersistenceException - when it is not possible to find the associated store
See Also:
ContentPersistenceService.getCmsObject(String)
+ +
+
+ +

+getCmsObject

+
 public org.apache.portals.graffito.model.core.CmsObject getCmsObject(java.lang.String uri,
                                                                      java.lang.String versionNumber)
                                                               throws ContentPersistenceException,
-                                                                     org.apache.portals.graffito.exception.CmsPermissionException
-
-
Description copied from interface: ContentPersistenceService
+ org.apache.portals.graffito.exception.CmsPermissionException +
+
Description copied from interface: ContentPersistenceService
Get a cms object from the persistent store depending on an uri and a version number. If the cms object is a document, this method returns the - lastest -

-

-
Specified by:
getCmsObject in interface ContentPersistenceService
-
-
+ lastest +

+

+
Specified by:
getCmsObject in interface ContentPersistenceService
+
+
Parameters:
uri - object uri
versionNumber - The document version number
Returns:
the object found or null
Throws:
ContentPersistenceException - when it is not possible to find the associated store -
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges
See Also:
ContentPersistenceService.getCmsObject(String, String)
-
-
-
- -

-getChildren

-
+
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges
See Also:
ContentPersistenceService.getCmsObject(String, String)
+ +
+
+ +

+getChildren

+
 public java.util.Collection getChildren(java.lang.String parentUri)
-                                 throws ContentPersistenceException
-
-
Description copied from interface: ContentPersistenceService
-
Get all cms objects (documents & folders) found in an parent uri. -

-

-
Specified by:
getChildren in interface ContentPersistenceService
-
-
+ throws ContentPersistenceException +
+
Description copied from interface: ContentPersistenceService
+
Get all cms objects (documents & folders) found in an parent uri. +

+

+
Specified by:
getChildren in interface ContentPersistenceService
+
+
Parameters:
parentUri - The parent folder uri from which the cms objects have to be retrieved. it can be a server scope or a folder uri.
Returns:
the cms object children found
Throws: -
ContentPersistenceException - when it is not possible to find the associated store
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#getChildren(java.lang.String)
-
-
-
- -

-getContents

-
+
ContentPersistenceException - when it is not possible to find the associated store
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#getChildren(java.lang.String)
+
+
+
+ +

+getContents

+
 public java.util.Collection getContents(java.lang.String uri)
-                                 throws ContentPersistenceException
-
-
Description copied from interface: ContentPersistenceService
-
Get contents found in a parent uri. -

-

-
Specified by:
getContents in interface ContentPersistenceService
-
-
+ throws ContentPersistenceException +
+
Description copied from interface: ContentPersistenceService
+
Get contents found in a parent uri. +

+

+
Specified by:
getContents in interface ContentPersistenceService
+
+
Parameters:
uri - The parent folder uri from which the contents have to be retrieved. it can be a server scope or a parent folder uri.
Returns:
the folder children found
Throws: -
ContentPersistenceException - when it is not possible to find the associated store
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#getContents(java.lang.String)
-
-
-
- -

-getLinks

-
+
ContentPersistenceException - when it is not possible to find the associated store
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#getContents(java.lang.String)
+
+
+
+ +

+getLinks

+
 public java.util.Collection getLinks(java.lang.String uri)
-                              throws ContentPersistenceException
-
-
Description copied from interface: ContentPersistenceService
-
Get links found in a parent uri. -

-

-
Specified by:
getLinks in interface ContentPersistenceService
-
-
+ throws ContentPersistenceException +
+
Description copied from interface: ContentPersistenceService
+
Get links found in a parent uri. +

+

+
Specified by:
getLinks in interface ContentPersistenceService
+
+
Parameters:
uri - The parent folder uri from which the links have to be retrieved. it can be a server scope or a parent folder uri.
Returns:
the children found
Throws: -
ContentPersistenceException - when it is not possible to find the associated store
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#getLinks(java.lang.String)
-
-
-
- -

-getFolders

-
+
ContentPersistenceException - when it is not possible to find the associated store
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#getLinks(java.lang.String)
+
+
+
+ +

+getFolders

+
 public java.util.Collection getFolders(java.lang.String uri)
-                                throws ContentPersistenceException
-
-
Description copied from interface: ContentPersistenceService
-
Get folders found in a parent uri. -

-

-
Specified by:
getFolders in interface ContentPersistenceService
-
-
+ throws ContentPersistenceException +
+
Description copied from interface: ContentPersistenceService
+
Get folders found in a parent uri. +

+

+
Specified by:
getFolders in interface ContentPersistenceService
+
+
Parameters:
uri - The parent folder uri from which the folders have to be retrieved. it can be a server scope or a parent folder uri.
Returns:
the folder children found
Throws: -
ContentPersistenceException - when it is not possible to find the associated store
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#getFolders(java.lang.String)
-
-
-
- -

-getHistory

-
+
ContentPersistenceException - when it is not possible to find the associated store
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#getFolders(java.lang.String)
+
+
+
+ +

+getHistory

+
 public org.apache.portals.graffito.model.core.HistoryElement getHistory(org.apache.portals.graffito.model.core.VersionnedContent versionnedContent)
                                                                  throws ContentPersistenceException,
-                                                                        org.apache.portals.graffito.exception.CmsPermissionException
-
-
Description copied from interface: ContentPersistenceService
-
Get the version history element defined from a versionned content. From this history element, it is possible to find previous version history element by calling HistoryElement.getPrevious() -

-

-
Specified by:
getHistory in interface ContentPersistenceService
-
-
+ org.apache.portals.graffito.exception.CmsPermissionException +
+
Description copied from interface: ContentPersistenceService
+
Get the version history element defined from a versionned content. From this history element, it is possible to find previous version history element by calling HistoryElement.getPrevious() +

+

+
Specified by:
getHistory in interface ContentPersistenceService
+
+
Parameters:
versionnedContent - The content for which the history has to be retrieved
Returns:
The History element found
Throws:
org.apache.portals.graffito.exception.CmsPermissionException - when the user has not suffisiant privileges -
ContentPersistenceException - when it is not possible to find the store associated to the associated document
See Also:
org.apache.portals.graffito.persistenceService.ContentPersistenceService#getHistory(org.apache.portals.graffito.model.core.VersionnedContent)
-
-
-
- [... 542 lines stripped ...]