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 TypeMethodDescriptionvoid
addEqualsConstraint
(String name, Object value) Add equal constraintvoid
addGreaterConstraint
(String name, Object value) Add greater than constraintvoid
addGreaterOrEqualConstraint
(String name, Object value) Add greater than or equal constraintvoid
addInConstraint
(String name, Object value) Add in constraintvoid
addIsEmptyConstraint
(String name, Object value) Add is empty constraintvoid
addIsNotEmptyConstraint
(String name, Object value) Add is not emptyvoid
addLessConstraint
(String name, Object value) Add less than constraintvoid
addLessOrEqualsConstraint
(String name, Object value) Add less than or equal constraintvoid
addLikeConstraint
(String name, Object value) Add like constraintvoid
addNotEqualsConstraint
(String name, Object value) Add not equal constraintvoid
addNotInConstraint
(String name, Object value) Add not in constraintvoid
addNotLikeConstraint
(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 scopeint
Evaluate the request on the server scopeint
evaluateSize
(ICatalog catalog) Evaluate the request on the catalog scopeint
evaluateSize
(ILibrary library) Evaluate the request on the library scopeint
evaluateSize
(IResourceDefinition resourceDefinition) Evaluate the request on the resource definition scopeint
evaluateSize
(ITask task) Evaluate the request on the task scopeint
evaluateSize
(IWorkflow workflow) Evaluate the request on the workflow scopeint
evaluateSize
(IWorkflowContainer workflowContainer) Evaluate the request on the workflow container scopevoid
setAllowSystemCatalogs
(boolean allowSystemCatalogs) Specifies if the system catalogs should be part of the result.void
setCount
(int count) Sets the number of elements per pagevoid
setOrberBy
(String orberBy, Class<?> orderByType, boolean ascendant) Deprecated.Use setOrderBy insteadvoid
setOrderBy
(String orderBy, Class<?> orderByType, boolean ascendant) Sets order by and sort type propertiesvoid
setSecurityApplied
(boolean securityApplied) Specifies if the security should be applied.void
setStart
(int start) Sets the start pagevoid
setStatus
(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
- TheICatalog
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the workflow container scope- Parameters:
workflowContainer
- TheIWorkflowContainer
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the workflow scope- Parameters:
workflow
- TheIWorkflow
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the task scope- Parameters:
task
- TheITask
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the resource definition scope- Parameters:
resourceDefinition
- TheIResourceDefinition
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
-
evaluate
Evaluate the request on the library scope- Parameters:
library
- TheILibrary
object.- 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
- TheICatalog
object.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the workflow container scope- Parameters:
workflowContainer
- TheIWorkflowContainer
object.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the workflow scope- Parameters:
workflow
- TheIWorkflow
object.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the task scope- Parameters:
task
- TheITask
object.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the resource definition scope- Parameters:
resourceDefinition
- TheIResourceDefinition
object.- Returns:
- The number of elements
-
evaluateSize
Evaluate the request on the library scope- Parameters:
library
- TheILibrary
object.- 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 systemICatalog
object should be part of the result, false otherwise.
-