org.apache.portals.graffito.services.core.impl
Class AbstractModelServiceImpl
java.lang.Object
org.apache.portals.graffito.services.core.impl.BaseContentServiceImpl
org.apache.portals.graffito.services.core.impl.AbstractModelServiceImpl
public abstract class AbstractModelServiceImpl
- extends BaseContentServiceImpl
Astract class for all model service (ContentModelService, DocumentModelService, ...).
- Version:
- $Id: Exp $
Field Summary |
protected static org.apache.commons.logging.Log |
logger
|
Method Summary |
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 |
logger
protected static final org.apache.commons.logging.Log logger
AbstractModelServiceImpl
public AbstractModelServiceImpl(ContentPersistenceService persistenceService)
- Parameters:
persistenceService
-
validateUri
protected void validateUri(java.lang.String uri)
throws org.apache.portals.graffito.exception.CmsInvalidObjectException
- Check if the cms object uri is correct
- Overrides:
validateUri
in class BaseContentServiceImpl
- Parameters:
uri
- The uri to validate
- Throws:
org.apache.portals.graffito.exception.CmsInvalidObjectException
- when the uri is not correct
validateParentFolder
protected void validateParentFolder(org.apache.portals.graffito.model.core.CmsObject cmsObject)
throws org.apache.portals.graffito.exception.CmsInvalidUriException
- Check if the cms object parent folder is correct
- Overrides:
validateParentFolder
in class BaseContentServiceImpl
- Parameters:
cmsObject
- to validate
- Throws:
org.apache.portals.graffito.exception.CmsInvalidUriException
- when the parent folder is not correct
Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.