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 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 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- 
addEqualsConstraintAdd equal constraint- Parameters:
- name- the name
- value- the value
 
- 
addNotEqualsConstraintAdd not equal constraint- Parameters:
- name- the name
- value- the value
 
- 
addGreaterConstraintAdd greater than constraint- Parameters:
- name- the name
- value- the value
 
- 
addGreaterOrEqualConstraintAdd greater than or equal constraint- Parameters:
- name- the name
- value- the value
 
- 
addLessConstraintAdd less than constraint- Parameters:
- name- the name
- value- the value
 
- 
addLessOrEqualsConstraintAdd less than or equal constraint- Parameters:
- name- the name
- value- the value
 
- 
addLikeConstraintAdd like constraint- Parameters:
- name- the name
- value- the value
 
- 
addNotLikeConstraintAdd not like constraint- Parameters:
- name- the name
- value- the value
 
- 
addInConstraintAdd in constraint- Parameters:
- name- the name
- value- the value
 
- 
addNotInConstraintAdd not in constraint- Parameters:
- name- the name
- value- the value
 
- 
addIsEmptyConstraintAdd is empty constraint- Parameters:
- name- the name
- value- the value
 
- 
addIsNotEmptyConstraintAdd is not empty- Parameters:
- name- the name
- value- the value
 
- 
setStartvoid setStart(int start) Sets the start page- Parameters:
- start- the start index
 
- 
setCountvoid setCount(int count) Sets the number of elements per page- Parameters:
- count- the number of elements
 
- 
setOrberByDeprecated.Use setOrderBy instead
- 
setOrderBySets order by and sort type properties- Parameters:
- orderBy- the order name
- orderByType- the order type
- ascendant- the order direction (true for ascendant, false for descendant)
 
- 
setStatusvoid setStatus(int status) Sets the required status- Parameters:
- status- The status could be one of the following values:- IWorkflowInstance.IStatus.STARTED
- IWorkflowInstance.IStatus.ABORTED
- IWorkflowInstance.IStatus.TERMINATED
- IWorkflowInstance.IStatus.PAUSED
 
 
- 
evaluateCollection evaluate()Evaluate the request on the server scope- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateEvaluate the request on the catalog scope- Parameters:
- catalog- The- ICatalogobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateEvaluate the request on the workflow container scope- Parameters:
- workflowContainer- The- IWorkflowContainerobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateEvaluate the request on the workflow scope- Parameters:
- workflow- The- IWorkflowobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateEvaluate the request on the task scope- Parameters:
- task- The- ITaskobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateEvaluate the request on the resource definition scope- Parameters:
- resourceDefinition- The- IResourceDefinitionobject.
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
 
- 
evaluateEvaluate the request on the library scope- Parameters:
- library- The- ILibraryobject.
- Returns:
- The returned value is a collection of IFile instances
 
- 
evaluateSizeint evaluateSize()Evaluate the request on the server scope- Returns:
- The number of elements
 
- 
evaluateSizeEvaluate the request on the catalog scope- Parameters:
- catalog- The- ICatalogobject.
- Returns:
- The number of elements
 
- 
evaluateSizeEvaluate the request on the workflow container scope- Parameters:
- workflowContainer- The- IWorkflowContainerobject.
- Returns:
- The number of elements
 
- 
evaluateSizeEvaluate the request on the workflow scope- Parameters:
- workflow- The- IWorkflowobject.
- Returns:
- The number of elements
 
- 
evaluateSizeEvaluate the request on the task scope- Parameters:
- task- The- ITaskobject.
- Returns:
- The number of elements
 
- 
evaluateSizeEvaluate the request on the resource definition scope- Parameters:
- resourceDefinition- The- IResourceDefinitionobject.
- Returns:
- The number of elements
 
- 
evaluateSizeEvaluate the request on the library scope- Parameters:
- library- The- ILibraryobject.
- Returns:
- The returned value is a collection of IFile instances
 
- 
setSecurityAppliedvoid setSecurityApplied(boolean securityApplied) Specifies if the security should be applied.- Parameters:
- securityApplied- true if the security should be applied, false otherwise.
 
- 
setAllowSystemCatalogsvoid setAllowSystemCatalogs(boolean allowSystemCatalogs) Specifies if the system catalogs should be part of the result.- Parameters:
- allowSystemCatalogs- true if the system- ICatalogobject should be part of the result, false otherwise.
 
 
-