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) |
List<String> |
getProhibitedGroups() |
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 © 2015 Nuxeo SA. All rights reserved.