Package org.silverpeas.core.admin.domain
Interface DomainService
-
- All Known Implementing Classes:
AbstractDomainService
,ExternalDomainService
,SQLDomainService
public interface DomainService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
createDomain(Domain domainToCreate)
Create given Domain.String
deleteDomain(Domain domainToRemove)
Remove given Domain.
-
-
-
Method Detail
-
createDomain
String createDomain(Domain domainToCreate) throws DomainCreationException, DomainConflictException
Create given Domain.- Parameters:
domainToCreate
- the domain to create.- Returns:
- the identifier of the created domain.
- Throws:
DomainCreationException
DomainConflictException
-
deleteDomain
String deleteDomain(Domain domainToRemove) throws DomainDeletionException
Remove given Domain.- Parameters:
domainToRemove
- the domain to remove.- Returns:
- the identifier of the removed domain.
- Throws:
DomainDeletionException
-
-