public class ContextMenuVisibility extends Object
Constructor and Description |
---|
ContextMenuVisibility(ResultSetViewImpl view,
User user)
Creates a new
ContextMenuVisibility instance for items that do not need
the result of the item analyzer. |
ContextMenuVisibility(ResultSetViewImpl view,
User user,
ItemAnalyzeResult analyze)
Creates a new
ContextMenuVisibility instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
canModifyIndex() |
boolean |
checkout(boolean multiselect) |
boolean |
containedInFolder(boolean multiselect) |
boolean |
delete(boolean multiselect) |
boolean |
deleteFolder(boolean multiselect) |
boolean |
deleteLookupItem(boolean multiselect) |
boolean |
docWfHistory(boolean multiselect) |
boolean |
download(boolean multiselect) |
boolean |
editAnnotations(boolean multiselect) |
boolean |
editFolder(boolean multiselect) |
boolean |
editLookupItem(boolean multiselect) |
boolean |
editStructure(boolean multiselect) |
boolean |
enableItemsThatRequireReadDocument() |
boolean |
indexData(boolean multiselect) |
boolean |
launch(boolean multiselect) |
boolean |
launchFolder(boolean multiselect) |
boolean |
mail(boolean multiselect) |
boolean |
newDocument(boolean multiselect) |
boolean |
newLookupItem(boolean multiselect) |
boolean |
openFolder(boolean multiselect) |
boolean |
printAsPdf(boolean multiselect) |
boolean |
release(boolean multiselect) |
boolean |
revisionHistory(boolean multiselect) |
boolean |
security(boolean multiselect) |
boolean |
securityForLookup(boolean multiselect) |
boolean |
unDelete(boolean multiselect) |
boolean |
viewDocument(boolean multiselect) |
boolean |
wfComments(boolean multiselect) |
boolean |
wfEditAnnotations(boolean multiSelect) |
boolean |
wfEditDocumentIndex(boolean multiselect) |
boolean |
wfEditWorkflowIndex(boolean multiselect) |
boolean |
workflowCommandNotRemovedByScript(com.saperion.constants.SaWFConstants.CommandId command,
boolean multiSelect)
Checks if the menuitem for the specified command was disabled by script.
|
boolean |
workflowMenu(boolean multiselect) |
public ContextMenuVisibility(ResultSetViewImpl view, User user, ItemAnalyzeResult analyze)
ContextMenuVisibility
instance.view
- parent view of the menuuser
- current useranalyze
- result of item analyzerpublic ContextMenuVisibility(ResultSetViewImpl view, User user)
ContextMenuVisibility
instance for items that do not need
the result of the item analyzer.view
- parent view of menuuser
- current userpublic boolean newLookupItem(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean editLookupItem(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean deleteLookupItem(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean newDocument(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean viewDocument(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean revisionHistory(boolean multiselect) throws NgcUiException, AuthenticationException
multiselect
- whether multiple items were selected or notNgcUiException
- exception to be handled by viewAuthenticationException
- re-logon requiredpublic boolean containedInFolder(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean download(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean mail(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean printAsPdf(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean indexData(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean delete(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean unDelete(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean editAnnotations(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean editStructure(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean security(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean securityForLookup(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean launch(boolean multiselect) throws NgcUiException
multiselect
- whether multiple items were selected or notNgcUiException
- exception to be handled by viewpublic boolean docWfHistory(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean checkout(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean release(boolean multiselect) throws NgcUiException, AuthenticationException
multiselect
- whether multiple items were selected or notNgcUiException
- exception to be handled by viewAuthenticationException
- re-logon requiredpublic boolean openFolder(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean deleteFolder(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean editFolder(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean launchFolder(boolean multiselect)
multiselect
- whether multiple items were selected or notpublic boolean workflowMenu(boolean multiselect) throws NgcUiException
multiselect
- whether multiple items were selected or notNgcUiException
- exception to be handled by viewpublic boolean enableItemsThatRequireReadDocument()
public boolean wfEditAnnotations(boolean multiSelect)
multiSelect
- multiple items selected or notpublic boolean wfEditWorkflowIndex(boolean multiselect)
multiselect
- multiple items selected or notpublic boolean wfEditDocumentIndex(boolean multiselect)
multiselect
- multiple items selected or notpublic boolean wfComments(boolean multiselect)
multiselect
- multiple items selected or notpublic boolean canModifyIndex()
public boolean workflowCommandNotRemovedByScript(com.saperion.constants.SaWFConstants.CommandId command, boolean multiSelect)
command
- command-idmultiSelect
- multiple items selected or notCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.