Package com.axemble.vdoc.sdk.interfaces
Interface IViewController
- All Superinterfaces:
IController,Serializable
- All Known Implementing Classes:
PortalLibraryViewController,ProcessViewController
This class allows to create functional queries based on field values and scopes such as
ICatalog,
IWorkflowContainer, IWorkflow and ITask.- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
-
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 constraintevaluate()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 scopevoidsetAllowSystemCatalogs(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) Deprecated.Use setOrderBy insteadvoidsetOrderBy(String orderBy, Class<?> orderByType, boolean ascendant) Sets order by and sort type propertiesvoidsetSecurityApplied(boolean securityApplied) Specifies if the security should be applied.voidsetStart(int start) Sets the start pagevoidsetStatus(int status) Sets the required status
-
Method Details
-
addEqualsConstraint
Add equal constraint- Parameters:
name- the namevalue- the value
-
addNotEqualsConstraint
Add not equal constraint- Parameters:
name- the namevalue- the value
-
addGreaterConstraint
Add greater than constraint- Parameters:
name- the namevalue- the value
-
addGreaterOrEqualConstraint
Add greater than or equal constraint- Parameters:
name- the namevalue- the value
-
addLessConstraint
Add less than constraint- Parameters:
name- the namevalue- the value
-
addLessOrEqualsConstraint
Add less than or equal constraint- Parameters:
name- the namevalue- the value
-
addLikeConstraint
Add like constraint- Parameters:
name- the namevalue- the value
-
addNotLikeConstraint
Add not like constraint- Parameters:
name- the namevalue- the value
-
addInConstraint
Add in constraint- Parameters:
name- the namevalue- the value
-
addNotInConstraint
Add not in constraint- Parameters:
name- the namevalue- the value
-
addIsEmptyConstraint
Add is empty constraint- Parameters:
name- the namevalue- the value
-
addIsNotEmptyConstraint
Add is not empty- Parameters:
name- the namevalue- the value
-
setStart
void setStart(int start) Sets the start page- Parameters:
start- the start index
-
setCount
void setCount(int count) Sets the number of elements per page- Parameters:
count- the number of elements
-
setOrberBy
Deprecated.Use setOrderBy instead -
setOrderBy
Sets order by and sort type properties- Parameters:
orderBy- the order nameorderByType- the order typeascendant- the order direction (true for ascendant, false for descendant)
-
setStatus
void setStatus(int status) Sets the required status- Parameters:
status- The status could be one of the following values:IWorkflowInstance.IStatus.STARTEDIWorkflowInstance.IStatus.ABORTEDIWorkflowInstance.IStatus.TERMINATEDIWorkflowInstance.IStatus.PAUSED
-
evaluate
Collection evaluate()Evaluate the request on the server scope- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the catalog scope- Parameters:
catalog- TheICatalogobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the workflow container scope- Parameters:
workflowContainer- TheIWorkflowContainerobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the workflow scope- Parameters:
workflow- TheIWorkflowobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the task scope- Parameters:
task- TheITaskobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the resource definition scope- Parameters:
resourceDefinition- TheIResourceDefinitionobject.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the library scope- Parameters:
library- TheILibraryobject.- Returns:
- The returned value is a collection of IFile instances
-
evaluateSize
int evaluateSize()Evaluate the request on the server scope- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the catalog scope- Parameters:
catalog- TheICatalogobject.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the workflow container scope- Parameters:
workflowContainer- TheIWorkflowContainerobject.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the workflow scope- Parameters:
workflow- TheIWorkflowobject.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the task scope- Parameters:
task- TheITaskobject.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the resource definition scope- Parameters:
resourceDefinition- TheIResourceDefinitionobject.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the library scope- Parameters:
library- TheILibraryobject.- Returns:
- The returned value is a collection of IFile instances
-
setSecurityApplied
void setSecurityApplied(boolean securityApplied) Specifies if the security should be applied.- Parameters:
securityApplied- true if the security should be applied, false otherwise.
-
setAllowSystemCatalogs
void setAllowSystemCatalogs(boolean allowSystemCatalogs) Specifies if the system catalogs should be part of the result.- Parameters:
allowSystemCatalogs- true if the systemICatalogobject should be part of the result, false otherwise.
-