org.apache.portals.graffito.services.core.impl
Class ContentServerServiceImpl

java.lang.Object
  extended by org.apache.portals.graffito.services.core.impl.BaseContentServiceImpl
      extended by org.apache.portals.graffito.services.core.impl.ContentServerServiceImpl
All Implemented Interfaces:
org.apache.portals.graffito.services.core.ContentServerService

public class ContentServerServiceImpl
extends BaseContentServiceImpl
implements org.apache.portals.graffito.services.core.ContentServerService

Default implementation for ContentServerService

Version:
$Id: ContentServerServiceImpl.java,v 1.1 2004/12/22 20:37:00 christophe Exp $
Author:
Lombart Christophe

Field Summary
protected static org.apache.commons.logging.Log logger
           
 
Fields inherited from class org.apache.portals.graffito.services.core.impl.BaseContentServiceImpl
persistenceService
 
Constructor Summary
ContentServerServiceImpl(ContentPersistenceService persistenceService)
          Constructor
 
Method Summary
 void addServer(org.apache.portals.graffito.model.server.Server server)
           
 org.apache.portals.graffito.model.server.FileSystemServer createFileSystemServer()
           
 org.apache.portals.graffito.model.server.GraffitoServer createGraffitoServer()
           
 org.apache.portals.graffito.model.server.WebdavServer createWebdavServer()
           
 java.util.Collection getAllServers()
           
 org.apache.portals.graffito.model.server.Server getServer(java.lang.String scope)
           
 void removeServer(org.apache.portals.graffito.model.server.Server server)
           
 void updateServer(org.apache.portals.graffito.model.server.Server server)
           
 
Methods inherited from class org.apache.portals.graffito.services.core.impl.BaseContentServiceImpl
getPersistenceService, validateParentFolder, validateUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.commons.logging.Log logger
Constructor Detail

ContentServerServiceImpl

public ContentServerServiceImpl(ContentPersistenceService persistenceService)
Constructor

Parameters:
persistenceService - - Persistence Service used to access to the different persistenceService storages
Method Detail

createWebdavServer

public org.apache.portals.graffito.model.server.WebdavServer createWebdavServer()
                                                                         throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
createWebdavServer in interface org.apache.portals.graffito.services.core.ContentServerService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentServerService.createWebdavServer()

createGraffitoServer

public org.apache.portals.graffito.model.server.GraffitoServer createGraffitoServer()
                                                                             throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
createGraffitoServer in interface org.apache.portals.graffito.services.core.ContentServerService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentServerService.createGraffitoServer()

createFileSystemServer

public org.apache.portals.graffito.model.server.FileSystemServer createFileSystemServer()
                                                                                 throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
createFileSystemServer in interface org.apache.portals.graffito.services.core.ContentServerService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentServerService.createFileSystemServer()

addServer

public void addServer(org.apache.portals.graffito.model.server.Server server)
               throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
addServer in interface org.apache.portals.graffito.services.core.ContentServerService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentServerService.addServer(Server)

removeServer

public void removeServer(org.apache.portals.graffito.model.server.Server server)
                  throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
removeServer in interface org.apache.portals.graffito.services.core.ContentServerService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentServerService.removeServer(Server)

getServer

public org.apache.portals.graffito.model.server.Server getServer(java.lang.String scope)
                                                          throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
getServer in interface org.apache.portals.graffito.services.core.ContentServerService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentServerService.getServer(String)

updateServer

public void updateServer(org.apache.portals.graffito.model.server.Server server)
                  throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
updateServer in interface org.apache.portals.graffito.services.core.ContentServerService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentServerService.updateServer(Server)

getAllServers

public java.util.Collection getAllServers()
                                   throws org.apache.portals.graffito.exception.ContentManagementException
Specified by:
getAllServers in interface org.apache.portals.graffito.services.core.ContentServerService
Throws:
org.apache.portals.graffito.exception.ContentManagementException
See Also:
ContentServerService.getAllServers()


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.