Package org.nuxeo.ecm.multi.tenant
Interface MultiTenantService
-
- All Known Implementing Classes:
MultiTenantServiceImpl
public interface MultiTenantService
- Since:
- 5.6
- Author:
- Thomas Roger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
isTenantIsolationEnabledByDefault
boolean isTenantIsolationEnabledByDefault()
-
getTenantDocumentType
String getTenantDocumentType()
-
isTenantIsolationEnabled
boolean isTenantIsolationEnabled(CoreSession session)
-
enableTenantIsolation
void enableTenantIsolation(CoreSession session)
-
disableTenantIsolation
void disableTenantIsolation(CoreSession session)
-
enableTenantIsolationFor
void enableTenantIsolationFor(CoreSession session, DocumentModel doc)
-
disableTenantIsolationFor
void disableTenantIsolationFor(CoreSession session, DocumentModel doc)
-
getTenants
List<DocumentModel> getTenants()
-
isTenantAdministrator
boolean isTenantAdministrator(Principal principal)
-
-