@Name(value="multiTenantActions") @Scope(value=STATELESS) @Install(precedence=10) public class MultiTenantActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected DirectoryUIActionsBean |
directoryUIActions |
protected CoreSession |
documentManager |
protected NavigationContext |
navigationContext |
static String |
TENANT_ADMINISTRATORS_VALIDATION_ERROR |
Constructor and Description |
---|
MultiTenantActions() |
Modifier and Type | Method and Description |
---|---|
void |
disableTenantIsolation() |
void |
enableTenantIsolation() |
List<DocumentModel> |
getTenants() |
boolean |
isReadOnlyDirectory(String directoryName) |
boolean |
isTenantIsolationEnabled() |
void |
validateTenantAdministrators(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value) |
public static final String TENANT_ADMINISTRATORS_VALIDATION_ERROR
@In(create=true) protected transient CoreSession documentManager
@In(create=true) protected NavigationContext navigationContext
@In(create=true) protected DirectoryUIActionsBean directoryUIActions
public MultiTenantActions()
public List<DocumentModel> getTenants()
public boolean isTenantIsolationEnabled()
public void enableTenantIsolation()
public void disableTenantIsolation()
public boolean isReadOnlyDirectory(String directoryName)
public void validateTenantAdministrators(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
Copyright © 2018 Nuxeo. All rights reserved.