Package com.axemble.vdoc.sdk.impl
Class ProcessViewController
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.ProcessViewController
- All Implemented Interfaces:
- IController,- IViewController,- Serializable
Process View Controller
- Author:
- vlygeros
- See Also:
- 
Field SummaryFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructorsConstructorDescriptionProcessViewController(IModule module) ConstructorProcessViewController(IModule module, IContext context, IProject project, com.axemble.vdp.views.query.Definition definition) Uses a view definition to builds the constraints.ProcessViewController(IModule module, IContext context, IProject project, InputStream inputStream) Uses an java.io.InputStream to build the constraints.ProcessViewController(IModule module, IContext context, Class natureClass) ConstructorProcessViewController(IModule module, IProject project, com.axemble.vdp.views.query.Definition definition) Deprecated.use ProcessViewController( IModule module, IContext context, IProject project, Definition definition ) instead.ProcessViewController(IModule module, IProject project, InputStream inputStream) Deprecated.use ProcessViewController( IModule module, IProject project, InputStream inputStream ) instead.ProcessViewController(IModule module, Class natureClass) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddEqualsConstraint(String name, Object value) Add equal constraintvoidaddGreaterConstraint(String name, Object value) Add greater than constraintvoidaddGreaterOrEqualConstraint(String name, Object value) Add greater than or equal constraintvoidaddInConstraint(String name, Object value) Add in constraintvoidaddIsEmptyConstraint(String name, Object value) Add is empty constraintvoidaddIsNotEmptyConstraint(String name, Object value) Add is not emptyvoidaddLessConstraint(String name, Object value) Add less than constraintvoidaddLessOrEqualsConstraint(String name, Object value) Add less than or equal constraintvoidaddLikeConstraint(String name, Object value) Add like constraintvoidaddNotEqualsConstraint(String name, Object value) Add not equal constraintvoidaddNotInConstraint(String name, Object value) Add not in constraintvoidaddNotLikeConstraint(String name, Object value) Add not like constraintprotected ObjectconvertParameter(Object parameter) evaluate()Evaluate the request on the server scopeEvaluate the request on the catalog scopeEvaluate the request on the library scopeevaluate(IResourceDefinition resourceDefinition) Evaluate the request on the resource definition scopeEvaluate the request on the task scopeEvaluate the request on the workflow scopeevaluate(IWorkflowContainer workflowContainer) Evaluate the request on the workflow container scopeintEvaluate the request on the server scopeintevaluateSize(ICatalog catalog) Evaluate the request on the catalog scopeintevaluateSize(ILibrary library) Evaluate the request on the library scopeintevaluateSize(IResourceDefinition resourceDefinition) Evaluate the request on the resource definition scopeintevaluateSize(ITask task) Evaluate the request on the task scopeintevaluateSize(IWorkflow workflow) Evaluate the request on the workflow scopeintevaluateSize(IWorkflowContainer workflowContainer) Evaluate the request on the workflow container scopeprotected Collection<?> initializeExtensionClasses(String extensionClassNames) voidsetAllowSystemCatalogs(boolean allowSystemCatalogs) Specifies if the system catalogs should be part of the result.voidsetCount(int count) Sets the number of elements per pagevoidsetOrberBy(String orberBy, Class orderByType, boolean ascendant) voidsetOrderBy(String orderBy, Class orderByType, boolean ascendant) Sets order by and sort type propertiesvoidsetSecurityApplied(boolean securityApplied) Specifies if the security should be applied.voidsetSpecialConstraint(String type) AddSpecialConstraintto request generator.voidsetStart(int start) Sets the start pagevoidsetStatus(int status) Sets the required statusMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModule
- 
Constructor Details- 
ProcessViewControllerConstructor- Parameters:
- module- the module
 
- 
ProcessViewControllerDeprecated.
- 
ProcessViewControllerConstructor- Parameters:
- module- the module
- context- the current context (default is sysadmin)
- natureClass- the nature class (default is IWorkflowInstance)
 
- 
ProcessViewControllerDeprecated.use ProcessViewController( IModule module, IProject project, InputStream inputStream ) instead.Uses an java.io.InputStream to build the constraints.- Parameters:
- module- The current module.
- project- The current project
- inputStream- The java.io.InputStream XML entry.
 
- 
ProcessViewController@Deprecated public ProcessViewController(IModule module, IProject project, com.axemble.vdp.views.query.Definition definition) Deprecated.use ProcessViewController( IModule module, IContext context, IProject project, Definition definition ) instead.Uses a internal definition to build the contraints.- Parameters:
- module- The current module.
- project- The current project
- definition- The internal view definition.
 
- 
ProcessViewControllerpublic ProcessViewController(IModule module, IContext context, IProject project, com.axemble.vdp.views.query.Definition definition) Uses a view definition to builds the constraints.- Parameters:
- module- The current module.
- context- The current context.
- project- The current project
- definition- The native definition.
 
- 
ProcessViewControllerpublic ProcessViewController(IModule module, IContext context, IProject project, InputStream inputStream) Uses an java.io.InputStream to build the constraints.- Parameters:
- module- The current module.
- context- The current context.
- project- The current project
- inputStream- The java.io.InputStream XML entry.
 
 
- 
- 
Method Details- 
initializeExtensionClasses
- 
setAllowSystemCatalogspublic void setAllowSystemCatalogs(boolean allowSystemCatalogs) Description copied from interface:IViewControllerSpecifies if the system catalogs should be part of the result.- Specified by:
- setAllowSystemCatalogsin interface- IViewController
- Parameters:
- allowSystemCatalogs- the allowSystemCatalogs to set
 
- 
setSecurityAppliedpublic void setSecurityApplied(boolean securityApplied) Description copied from interface:IViewControllerSpecifies if the security should be applied.- Specified by:
- setSecurityAppliedin interface- IViewController
- Parameters:
- securityApplied- the securityApplied to set
 
- 
addEqualsConstraintDescription copied from interface:IViewControllerAdd equal constraint- Specified by:
- addEqualsConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addNotEqualsConstraintDescription copied from interface:IViewControllerAdd not equal constraint- Specified by:
- addNotEqualsConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addGreaterConstraintDescription copied from interface:IViewControllerAdd greater than constraint- Specified by:
- addGreaterConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addGreaterOrEqualConstraintDescription copied from interface:IViewControllerAdd greater than or equal constraint- Specified by:
- addGreaterOrEqualConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addLessConstraintDescription copied from interface:IViewControllerAdd less than constraint- Specified by:
- addLessConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addLessOrEqualsConstraintDescription copied from interface:IViewControllerAdd less than or equal constraint- Specified by:
- addLessOrEqualsConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addLikeConstraintDescription copied from interface:IViewControllerAdd like constraint- Specified by:
- addLikeConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addNotLikeConstraintDescription copied from interface:IViewControllerAdd not like constraint- Specified by:
- addNotLikeConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addInConstraintDescription copied from interface:IViewControllerAdd in constraint- Specified by:
- addInConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addNotInConstraintDescription copied from interface:IViewControllerAdd not in constraint- Specified by:
- addNotInConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addIsEmptyConstraintDescription copied from interface:IViewControllerAdd is empty constraint- Specified by:
- addIsEmptyConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
addIsNotEmptyConstraintDescription copied from interface:IViewControllerAdd is not empty- Specified by:
- addIsNotEmptyConstraintin interface- IViewController
- Parameters:
- name- the name
- value- the value
 
- 
convertParameter
- 
evaluateDescription copied from interface:IViewControllerEvaluate the request on the server scope- Specified by:
- evaluatein interface- IViewController
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateDescription copied from interface:IViewControllerEvaluate the request on the catalog scope- Specified by:
- evaluatein interface- IViewController
- Parameters:
- catalog- The- ICatalogobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateDescription copied from interface:IViewControllerEvaluate the request on the workflow container scope- Specified by:
- evaluatein interface- IViewController
- Parameters:
- workflowContainer- The- IWorkflowContainerobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateDescription copied from interface:IViewControllerEvaluate the request on the workflow scope- Specified by:
- evaluatein interface- IViewController
- Parameters:
- workflow- The- IWorkflowobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateDescription copied from interface:IViewControllerEvaluate the request on the task scope- Specified by:
- evaluatein interface- IViewController
- Parameters:
- task- The- ITaskobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateDescription copied from interface:IViewControllerEvaluate the request on the resource definition scope- Specified by:
- evaluatein interface- IViewController
- Parameters:
- resourceDefinition- The- IResourceDefinitionobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateDescription copied from interface:IViewControllerEvaluate the request on the library scope- Specified by:
- evaluatein interface- IViewController
- Parameters:
- library- The- ILibraryobject.
- Returns:
- The returned value is a collection of IFile instances
- See Also:
 
- 
evaluateSizepublic int evaluateSize()Description copied from interface:IViewControllerEvaluate the request on the server scope- Specified by:
- evaluateSizein interface- IViewController
- Returns:
- The number of elements
 
- 
evaluateSizeDescription copied from interface:IViewControllerEvaluate the request on the catalog scope- Specified by:
- evaluateSizein interface- IViewController
- Parameters:
- catalog- The- ICatalogobject.
- Returns:
- The number of elements
 
- 
evaluateSizeDescription copied from interface:IViewControllerEvaluate the request on the workflow container scope- Specified by:
- evaluateSizein interface- IViewController
- Parameters:
- workflowContainer- The- IWorkflowContainerobject.
- Returns:
- The number of elements
 
- 
evaluateSizeDescription copied from interface:IViewControllerEvaluate the request on the workflow scope- Specified by:
- evaluateSizein interface- IViewController
- Parameters:
- workflow- The- IWorkflowobject.
- Returns:
- The number of elements
 
- 
evaluateSizeDescription copied from interface:IViewControllerEvaluate the request on the task scope- Specified by:
- evaluateSizein interface- IViewController
- Parameters:
- task- The- ITaskobject.
- Returns:
- The number of elements
 
- 
evaluateSizeDescription copied from interface:IViewControllerEvaluate the request on the resource definition scope- Specified by:
- evaluateSizein interface- IViewController
- Parameters:
- resourceDefinition- The- IResourceDefinitionobject.
- Returns:
- The number of elements
 
- 
evaluateSizeDescription copied from interface:IViewControllerEvaluate the request on the library scope- Specified by:
- evaluateSizein interface- IViewController
- Parameters:
- library- The- ILibraryobject.
- Returns:
- The returned value is a collection of IFile instances
- See Also:
 
- 
setCountpublic void setCount(int count) Description copied from interface:IViewControllerSets the number of elements per page- Specified by:
- setCountin interface- IViewController
- Parameters:
- count- the number of elements
 
- 
setOrderByDescription copied from interface:IViewControllerSets order by and sort type properties- Specified by:
- setOrderByin interface- IViewController
- Parameters:
- orderBy- the order name
- orderByType- the order type
- ascendant- the order direction (true for ascendant, false for descendant)
 
- 
setOrberBy- Specified by:
- setOrberByin interface- IViewController
 
- 
setStartpublic void setStart(int start) Description copied from interface:IViewControllerSets the start page- Specified by:
- setStartin interface- IViewController
- Parameters:
- start- the start index
 
- 
setStatuspublic void setStatus(int status) Description copied from interface:IViewControllerSets the required status- Specified by:
- setStatusin interface- IViewController
- Parameters:
- status- The status could be one of the following values:- IWorkflowInstance.IStatus.STARTED
- IWorkflowInstance.IStatus.ABORTED
- IWorkflowInstance.IStatus.TERMINATED
- IWorkflowInstance.IStatus.PAUSED
 
 
- 
setSpecialConstraintAddSpecialConstraintto request generator.- Parameters:
- type- can be- SpecialConstraint.TYPE_DRAFTor- SpecialConstraint.TYPE_IINTERVENED
 
 
-