public class OwMultipleSelectionCall extends OwDocumentFunctionCall
Multiple selection document function call wrapper. Objects of this class perform additional validation on a multiple selection document function call :
OwDocumentFunction.isEnabled(OwObject, OwObject, int)
)
the document function is called
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Modifier and Type | Class and Description |
---|---|
class |
OwMultipleSelectionCall.OwValidatorMessageBox
YES/NO validating message box implementation
|
m_documentFunction
Constructor and Description |
---|
OwMultipleSelectionCall(OwDocumentFunction documentFunction_p,
Collection objects_p,
OwObject parent_p,
OwClientRefreshContext refreshCtx_p,
OwMainAppContext context_p)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
createDisabledObjectNamesString(StringBuffer namesBuffer_p)
If there are disabled objects in the selected collection a the given
StringBuffer will be filled with their HTML description list.
|
void |
invokeFunction()
Multiple selection document function call invocation method.
|
protected void |
invokeOnMultiselectClickEvent()
Document function invocation helper method
Delegates to
OwDocumentFunction.onMultiselectClickEvent(Collection, OwObject, OwClientRefreshContext) |
public OwMultipleSelectionCall(OwDocumentFunction documentFunction_p, Collection objects_p, OwObject parent_p, OwClientRefreshContext refreshCtx_p, OwMainAppContext context_p)
documentFunction_p
- objects_p
- parent_p
- refreshCtx_p
- context_p
- OwDocumentFunction.onMultiselectClickEvent(Collection, OwObject, OwClientRefreshContext)
protected final int createDisabledObjectNamesString(StringBuffer namesBuffer_p) throws Exception
namesBuffer_p
- a StringBuffer to be filled with the disabled objects HTML listException
public void invokeFunction() throws Exception
invokeFunction
in class OwDocumentFunctionCall
Exception
- if the invocation method fails (either wrapping
code or document function call code)protected final void invokeOnMultiselectClickEvent() throws Exception
OwDocumentFunction.onMultiselectClickEvent(Collection, OwObject, OwClientRefreshContext)
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.