|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.portals.graffito.services.core.impl.BaseContentServiceImpl
public abstract class BaseContentServiceImpl
Base class for all High level Graffito services : Model, Query, security, Version, ... .
Field Summary | |
---|---|
protected ContentPersistenceService |
persistenceService
|
Constructor Summary | |
---|---|
BaseContentServiceImpl(ContentPersistenceService persistenceService)
Constructor : initialise with the persistenceService service |
Method Summary | |
---|---|
protected ContentPersistenceService |
getPersistenceService()
Get the persistenceService service |
protected void |
validateParentFolder(org.apache.portals.graffito.model.core.CmsObject cmsObject)
Check if the cms object parent folder is correct |
protected void |
validateUri(java.lang.String uri)
Check if the cms object uri is correct |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ContentPersistenceService persistenceService
Constructor Detail |
---|
public BaseContentServiceImpl(ContentPersistenceService persistenceService)
persistenceService
- The reference to the PersistenceServiceMethod Detail |
---|
protected void validateUri(java.lang.String uri) throws org.apache.portals.graffito.exception.CmsInvalidObjectException
uri
- The uri to validate
org.apache.portals.graffito.exception.CmsInvalidObjectException
- when the uri is not correctprotected void validateParentFolder(org.apache.portals.graffito.model.core.CmsObject cmsObject) throws org.apache.portals.graffito.exception.CmsInvalidUriException
cmsObject
- to validate
org.apache.portals.graffito.exception.CmsInvalidUriException
- when the parent folder is not correctprotected ContentPersistenceService getPersistenceService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |