Modifier and Type | Method and Description |
---|---|
protected ActionContext |
BinaryMetadataServiceImpl.createActionContext(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
protected Set<MetadataRuleDescriptor> |
BinaryMetadataServiceImpl.checkFilter(ActionContext actionContext)
Check for each Binary Rule if the document is accepted or not.
|
Modifier and Type | Method and Description |
---|---|
protected ActionContext |
GetActions.getActionContext(DocumentModel currentDocument) |
Modifier and Type | Method and Description |
---|---|
protected ActionContext |
AbstractDirectoryOperation.createActionContext(OperationContext ctx) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractActionContext |
class |
ELActionContext
Default EL action context
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultActionFilter.accept(Action action,
ActionContext context) |
boolean |
ActionFilter.accept(Action action,
ActionContext context)
Checks whether this action is valid in the given context.
|
protected boolean |
DefaultActionFilter.checkConditions(ActionContext context,
String[] conditions)
Returns true if one of the conditions is verified, else false.
|
protected boolean |
DefaultActionFilter.checkFacets(ActionContext context,
String[] facets)
Returns true if document has one of the given facets, else false.
|
boolean |
ActionService.checkFilter(String filterId,
ActionContext context) |
boolean |
ActionService.checkFilters(Action action,
ActionContext context) |
protected boolean |
ActionService.checkFilters(Action action,
List<String> filterIds,
ActionContext context) |
boolean |
ActionService.checkFilters(List<String> filterIds,
ActionContext context) |
protected boolean |
DefaultActionFilter.checkGroups(ActionContext context,
String[] groups) |
protected boolean |
DefaultActionFilter.checkPermissions(ActionContext context,
String[] permissions)
Returns true if given document has one of the permissions, else false.
|
protected boolean |
DefaultActionFilter.checkRule(FilterRule rule,
ActionContext context)
Returns true if all conditions defined in the rule are true.
|
protected boolean |
DefaultActionFilter.checkSchemas(ActionContext context,
String[] schemas)
Returns true if document has one of the given schemas, else false.
|
protected boolean |
DefaultActionFilter.checkTypes(ActionContext context,
String[] types)
Returns true if document type is one of the given types, else false.
|
Action |
ActionService.getAction(String actionId,
ActionContext context,
boolean hideUnavailableAction) |
List<Action> |
ActionService.getActions(String category,
ActionContext context) |
List<Action> |
ActionService.getActions(String category,
ActionContext context,
boolean hideUnavailableActions) |
boolean |
ActionService.isEnabled(Action action,
ActionContext context) |
boolean |
ActionService.isEnabled(String actionId,
ActionContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
ActionManager.checkFilter(String filterId,
ActionContext context)
Returns false if given filter evaluation is supposed to deny access when checking for this filter.
|
boolean |
ActionManager.checkFilters(Action action,
ActionContext context) |
boolean |
ActionManager.checkFilters(List<String> filterIds,
ActionContext context)
Returns false if given filters evaluation is supposed to deny access when checking for this filter.
|
Action |
ActionManager.getAction(String actionId,
ActionContext context,
boolean hideUnavailableActions)
Returns action with given id, evaluating its filters in given context, and returning null if filters evaluation
denies access or if action is not found.
|
List<Action> |
ActionManager.getActions(String category,
ActionContext context)
Gets actions for a category (filters are evaluated).
|
List<Action> |
ActionManager.getActions(String category,
ActionContext context,
boolean hideUnavailableActions)
Gets actions for a category (filters are evaluated).
|
boolean |
ActionManager.isEnabled(String actionId,
ActionContext context) |
Modifier and Type | Class and Description |
---|---|
class |
JSFActionContext |
Modifier and Type | Class and Description |
---|---|
class |
SeamActionContext
Sample Seam action context, resolving components in Seam context (but not relying on faces context to do so)
|
Modifier and Type | Method and Description |
---|---|
protected ActionContext |
ContentViewActions.createContentViewActionContext(DocumentModel currentDocument,
ContentView contentView,
Object showPageSizeSelector,
Object showRefreshCommand,
Object showCSVExport,
Object showPDFExport,
Object showSyndicationLinks,
Object showSlideshow,
Object showEditColumns,
Object showEditRows,
Object showSpreadsheet) |
Modifier and Type | Method and Description |
---|---|
protected ActionContext |
ImagingComponent.createActionContext(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
protected ActionContext |
RenditionDefinitionRegistry.createActionContext(DocumentModel doc) |
protected ActionContext |
RenditionDefinitionProviderRegistry.createActionContext(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
protected static ActionContext |
TaskWriter.createActionContext(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
Action |
WebActions.getAction(ActionContext context,
String actionId,
boolean includeFiltered,
boolean postFilter)
Return action in given action context for given id.
|
Action |
WebActions.getAction(String actionId,
ActionContext context,
boolean removeFiltered) |
List<Action> |
WebActions.getActions(ActionContext context,
String category,
boolean includeFiltered,
boolean postFilter)
Return actions in given action context for given category.
|
List<Action> |
WebActions.getActionsList(String category,
ActionContext context)
Returns all filtered actions for a given category and given resolution context.
|
List<Action> |
WebActions.getActionsList(String category,
ActionContext context,
boolean removeFiltered)
Returns all filtered actions for a given category and given resolution context.
|
boolean |
WebActions.isAvailable(ActionContext context,
Action action)
Returns true if filters evaluation for given action, in given action context, grants access.
|
void |
TabActionsSelection.setCurrentTabId(ActionManager actionManager,
ActionContext actionContext,
String category,
String tabId,
String... subTabIds) |
void |
TabActionsSelection.setCurrentTabIds(ActionManager actionManager,
ActionContext actionContext,
String tabIds)
Sets current tab ids as a String, splitting on commas ',' and parsing each action information as is:
CATEGORY:[ACTION_ID[:OPTIONAL_SUB_ACTION_ID [:OPTIONAL_SUB_ACTION_ID]...]]
|
Modifier and Type | Method and Description |
---|---|
protected ActionContext |
WebActionsBean.createActionContext() |
ActionContext |
ActionContextProvider.createActionContext() |
protected ActionContext |
WebActionsBean.createActionContext(DocumentModel document) |
ActionContext |
ActionContextProvider.createActionContext(DocumentModel document)
Returns an action context computed from current core session and current user, and document given as parameter.
|
protected ActionContext |
PopupHelper.createActionContext(String popupDocId) |
Modifier and Type | Method and Description |
---|---|
Action |
WebActionsBean.getAction(ActionContext context,
String actionId,
boolean removeFiltered,
boolean postFilter) |
Action |
WebActionsBean.getAction(String actionId,
ActionContext context,
boolean removeFiltered) |
List<Action> |
WebActionsBean.getActions(ActionContext context,
String category,
boolean removeFiltered,
boolean postFilter) |
List<Action> |
WebActionsBean.getActionsList(String category,
ActionContext context) |
List<Action> |
WebActionsBean.getActionsList(String category,
ActionContext context,
boolean removeFiltered) |
boolean |
WebActionsBean.isAvailable(ActionContext context,
Action action) |
Modifier and Type | Method and Description |
---|---|
protected ActionContext |
DirectoryUIActionsBean.createDirectoryActionContext() |
protected ActionContext |
DirectoryUIActionsBean.createDirectoryActionContext(String directoryName) |
Modifier and Type | Method and Description |
---|---|
List<ContentViewHeader> |
SearchUIServiceImpl.getContentViewHeaders(ActionContext actionContext) |
List<ContentViewHeader> |
SearchUIService.getContentViewHeaders(ActionContext actionContext)
Returns the list of Content view headers associated to a search.
|
List<ContentViewHeader> |
SearchUIServiceImpl.getContentViewHeaders(ActionContext actionContext,
DocumentModel doc) |
List<ContentViewHeader> |
SearchUIService.getContentViewHeaders(ActionContext actionContext,
DocumentModel doc)
Returns the list of Content view headers associated to a search and depending of a local configuration.
|
Copyright © 2018 Nuxeo. All rights reserved.