Merged DEV to HEAD

52217: MT code cleanup before continuing ALF-19172
          - @Override
          - deprecated TenantAdminService.getAllTenants
          - Add TenantAdminService.getTenants(enabledOnly) ... TODO: not implemented fully, yet
          - Remove unused methods
          - Make internal service methods private
          - Line endings


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2013-07-09 13:51:38 +00:00
parent a3f60b6596
commit b687de2f80
4 changed files with 377 additions and 355 deletions

View File

@@ -31,51 +31,33 @@ public interface TenantAdminDAO
{
/**
* Create tenant - note: tenant domain must be unique
*
* @param tenantEntity
* @return
*/
TenantEntity createTenant(TenantEntity tenantEntity);
/**
* Get tenant
*
* @param tenantEntity
* @return
*/
TenantEntity getTenant(String tenantDomain);
/**
* List tenants
*
* TODO add filter(s)
*
* @param tenantEntity
* @return
*/
List<TenantEntity> listTenants();
/**
* Get tenant for update
*
* @param tenantEntity
* @return
*/
TenantUpdateEntity getTenantForUpdate(String tenantDomain);
/**
* Update tenant
*
* <p/>
* Note: tenant domain cannot be changed
*
* @param tenantUpdateEntity
*/
void updateTenant(TenantUpdateEntity tenantUpdateEntity);
/**
* Delete tenant
*
* @param tenantEntity
*/
void deleteTenant(String tenantDomain);
}