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 Summary
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module -
Constructor Summary
ConstructorsConstructorDescriptionProcessViewController(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 Summary
Modifier 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.AbstractElement
getModule
-
Constructor Details
-
ProcessViewController
Constructor- Parameters:
module- the module
-
ProcessViewController
Deprecated. -
ProcessViewController
Constructor- Parameters:
module- the modulecontext- the current context (default is sysadmin)natureClass- the nature class (default is IWorkflowInstance)
-
ProcessViewController
Deprecated.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 projectinputStream- 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 projectdefinition- The internal view definition.
-
ProcessViewController
public 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 projectdefinition- The native definition.
-
ProcessViewController
public 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 projectinputStream- The java.io.InputStream XML entry.
-
-
Method Details
-
initializeExtensionClasses
-
setAllowSystemCatalogs
public void setAllowSystemCatalogs(boolean allowSystemCatalogs) Description copied from interface:IViewControllerSpecifies if the system catalogs should be part of the result.- Specified by:
setAllowSystemCatalogsin interfaceIViewController- Parameters:
allowSystemCatalogs- the allowSystemCatalogs to set
-
setSecurityApplied
public void setSecurityApplied(boolean securityApplied) Description copied from interface:IViewControllerSpecifies if the security should be applied.- Specified by:
setSecurityAppliedin interfaceIViewController- Parameters:
securityApplied- the securityApplied to set
-
addEqualsConstraint
Description copied from interface:IViewControllerAdd equal constraint- Specified by:
addEqualsConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addNotEqualsConstraint
Description copied from interface:IViewControllerAdd not equal constraint- Specified by:
addNotEqualsConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addGreaterConstraint
Description copied from interface:IViewControllerAdd greater than constraint- Specified by:
addGreaterConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addGreaterOrEqualConstraint
Description copied from interface:IViewControllerAdd greater than or equal constraint- Specified by:
addGreaterOrEqualConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addLessConstraint
Description copied from interface:IViewControllerAdd less than constraint- Specified by:
addLessConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addLessOrEqualsConstraint
Description copied from interface:IViewControllerAdd less than or equal constraint- Specified by:
addLessOrEqualsConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addLikeConstraint
Description copied from interface:IViewControllerAdd like constraint- Specified by:
addLikeConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addNotLikeConstraint
Description copied from interface:IViewControllerAdd not like constraint- Specified by:
addNotLikeConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addInConstraint
Description copied from interface:IViewControllerAdd in constraint- Specified by:
addInConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addNotInConstraint
Description copied from interface:IViewControllerAdd not in constraint- Specified by:
addNotInConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addIsEmptyConstraint
Description copied from interface:IViewControllerAdd is empty constraint- Specified by:
addIsEmptyConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
addIsNotEmptyConstraint
Description copied from interface:IViewControllerAdd is not empty- Specified by:
addIsNotEmptyConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value
-
convertParameter
-
evaluate
Description copied from interface:IViewControllerEvaluate the request on the server scope- Specified by:
evaluatein interfaceIViewController- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Description copied from interface:IViewControllerEvaluate the request on the catalog scope- Specified by:
evaluatein interfaceIViewController- Parameters:
catalog- TheICatalogobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Description copied from interface:IViewControllerEvaluate the request on the workflow container scope- Specified by:
evaluatein interfaceIViewController- Parameters:
workflowContainer- TheIWorkflowContainerobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Description copied from interface:IViewControllerEvaluate the request on the workflow scope- Specified by:
evaluatein interfaceIViewController- Parameters:
workflow- TheIWorkflowobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Description copied from interface:IViewControllerEvaluate the request on the task scope- Specified by:
evaluatein interfaceIViewController- Parameters:
task- TheITaskobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Description copied from interface:IViewControllerEvaluate the request on the resource definition scope- Specified by:
evaluatein interfaceIViewController- Parameters:
resourceDefinition- TheIResourceDefinitionobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Description copied from interface:IViewControllerEvaluate the request on the library scope- Specified by:
evaluatein interfaceIViewController- Parameters:
library- TheILibraryobject.- Returns:
- The returned value is a collection of IFile instances
- See Also:
-
evaluateSize
public int evaluateSize()Description copied from interface:IViewControllerEvaluate the request on the server scope- Specified by:
evaluateSizein interfaceIViewController- Returns:
- The number of elements
-
evaluateSize
Description copied from interface:IViewControllerEvaluate the request on the catalog scope- Specified by:
evaluateSizein interfaceIViewController- Parameters:
catalog- TheICatalogobject.- Returns:
- The number of elements
-
evaluateSize
Description copied from interface:IViewControllerEvaluate the request on the workflow container scope- Specified by:
evaluateSizein interfaceIViewController- Parameters:
workflowContainer- TheIWorkflowContainerobject.- Returns:
- The number of elements
-
evaluateSize
Description copied from interface:IViewControllerEvaluate the request on the workflow scope- Specified by:
evaluateSizein interfaceIViewController- Parameters:
workflow- TheIWorkflowobject.- Returns:
- The number of elements
-
evaluateSize
Description copied from interface:IViewControllerEvaluate the request on the task scope- Specified by:
evaluateSizein interfaceIViewController- Parameters:
task- TheITaskobject.- Returns:
- The number of elements
-
evaluateSize
Description copied from interface:IViewControllerEvaluate the request on the resource definition scope- Specified by:
evaluateSizein interfaceIViewController- Parameters:
resourceDefinition- TheIResourceDefinitionobject.- Returns:
- The number of elements
-
evaluateSize
Description copied from interface:IViewControllerEvaluate the request on the library scope- Specified by:
evaluateSizein interfaceIViewController- Parameters:
library- TheILibraryobject.- Returns:
- The returned value is a collection of IFile instances
- See Also:
-
setCount
public void setCount(int count) Description copied from interface:IViewControllerSets the number of elements per page- Specified by:
setCountin interfaceIViewController- Parameters:
count- the number of elements
-
setOrderBy
Description copied from interface:IViewControllerSets order by and sort type properties- Specified by:
setOrderByin interfaceIViewController- Parameters:
orderBy- the order nameorderByType- the order typeascendant- the order direction (true for ascendant, false for descendant)
-
setOrberBy
- Specified by:
setOrberByin interfaceIViewController
-
setStart
public void setStart(int start) Description copied from interface:IViewControllerSets the start page- Specified by:
setStartin interfaceIViewController- Parameters:
start- the start index
-
setStatus
public void setStatus(int status) Description copied from interface:IViewControllerSets the required status- Specified by:
setStatusin interfaceIViewController- Parameters:
status- The status could be one of the following values:IWorkflowInstance.IStatus.STARTEDIWorkflowInstance.IStatus.ABORTEDIWorkflowInstance.IStatus.TERMINATEDIWorkflowInstance.IStatus.PAUSED
-
setSpecialConstraint
AddSpecialConstraintto request generator.- Parameters:
type- can beSpecialConstraint.TYPE_DRAFTorSpecialConstraint.TYPE_IINTERVENED
-