org.silverpeas.admin.domain
Class SQLDomainService

java.lang.Object
  extended by org.silverpeas.admin.domain.AbstractDomainService
      extended by org.silverpeas.admin.domain.SQLDomainService
All Implemented Interfaces:
DomainService

@Named(value="sqlDomainService")
public class SQLDomainService
extends AbstractDomainService


Constructor Summary
SQLDomainService()
           
 
Method Summary
 String createDomain(Domain domainToCreate)
          Create given Domain
 String deleteDomain(Domain domainToRemove)
          Remove given Domain
protected  String getTechnicalDomainName(Domain domain)
          Gets a file name without special characters and without accentued characters in the aim to create domain property files safely on file system.
 
Methods inherited from class org.silverpeas.admin.domain.AbstractDomainService
checkDomainName, getNextDomainId, registerDomain, unRegisterDomain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLDomainService

public SQLDomainService()
Method Detail

getTechnicalDomainName

protected String getTechnicalDomainName(Domain domain)
Gets a file name without special characters and without accentued characters in the aim to create domain property files safely on file system.

Parameters:
domain - with a name that may contain some special characters and/or accentued characters
Returns:

createDomain

public String createDomain(Domain domainToCreate)
                    throws DomainConflictException,
                           DomainCreationException
Description copied from interface: DomainService
Create given Domain

Returns:
Throws:
DomainConflictException
DomainCreationException

deleteDomain

public String deleteDomain(Domain domainToRemove)
                    throws DomainDeletionException
Description copied from interface: DomainService
Remove given Domain

Returns:
Throws:
DomainDeletionException


Copyright © 2016 Silverpeas. All Rights Reserved.