public interface MultiTenantService
Modifier and Type | Method and Description |
---|---|
void |
disableTenantIsolation(CoreSession session) |
void |
disableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
enableTenantIsolation(CoreSession session) |
void |
enableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
String |
getTenantDocumentType() |
List<DocumentModel> |
getTenants() |
boolean |
isTenantAdministrator(Principal principal) |
boolean |
isTenantIsolationEnabled(CoreSession session) |
boolean |
isTenantIsolationEnabledByDefault() |
boolean isTenantIsolationEnabledByDefault()
String getTenantDocumentType()
boolean isTenantIsolationEnabled(CoreSession session) throws ClientException
ClientException
void enableTenantIsolation(CoreSession session) throws ClientException
ClientException
void disableTenantIsolation(CoreSession session) throws ClientException
ClientException
void enableTenantIsolationFor(CoreSession session, DocumentModel doc) throws ClientException
ClientException
void disableTenantIsolationFor(CoreSession session, DocumentModel doc) throws ClientException
ClientException
List<DocumentModel> getTenants() throws ClientException
ClientException
boolean isTenantAdministrator(Principal principal)
Copyright © 2013 Nuxeo SA. All Rights Reserved.