Package com.axemble.vdoc.sdk.impl
Class PortalLibraryViewController
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalLibraryViewController
- All Implemented Interfaces:
IController
,IViewController
,Serializable
Portal Library View Controller
- Author:
- vmartinon
- See Also:
-
Field Summary
Fields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module
-
Constructor Summary
ModifierConstructorDescriptionprotected
PortalLibraryViewController
(IModule module) ConstructorPortalLibraryViewController
(IModule module, IContext context, InputStream inputStream) Uses an java.io.InputStream to build the constraints.PortalLibraryViewController
(IModule module, IContext context, Class natureClass) ConstructorPortalLibraryViewController
(IModule module, InputStream inputStream) Uses an java.io.InputStream to build the constraints.PortalLibraryViewController
(IModule module, Class natureClass) Deprecated. -
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) void
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 statusMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModule
-
Constructor Details
-
PortalLibraryViewController
Constructor- Parameters:
module
- the module
-
PortalLibraryViewController
Deprecated.Constructor -
PortalLibraryViewController
Constructor- Parameters:
module
- the modulecontext
- the current contextnatureClass
- the nature class (default is IFile)
-
PortalLibraryViewController
Uses an java.io.InputStream to build the constraints.- Parameters:
module
- The current module.inputStream
- The java.io.InputStream XML entry.
-
PortalLibraryViewController
Uses an java.io.InputStream to build the constraints.- Parameters:
module
- The current module.context
- The current context.inputStream
- The java.io.InputStream XML entry.
-
-
Method Details
-
addEqualsConstraint
Description copied from interface:IViewController
Add equal constraint- Specified by:
addEqualsConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addGreaterConstraint
Description copied from interface:IViewController
Add greater than constraint- Specified by:
addGreaterConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addGreaterOrEqualConstraint
Description copied from interface:IViewController
Add greater than or equal constraint- Specified by:
addGreaterOrEqualConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addInConstraint
Description copied from interface:IViewController
Add in constraint- Specified by:
addInConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addLessConstraint
Description copied from interface:IViewController
Add less than constraint- Specified by:
addLessConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addLessOrEqualsConstraint
Description copied from interface:IViewController
Add less than or equal constraint- Specified by:
addLessOrEqualsConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addLikeConstraint
Description copied from interface:IViewController
Add like constraint- Specified by:
addLikeConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addIsEmptyConstraint
Description copied from interface:IViewController
Add is empty constraint- Specified by:
addIsEmptyConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addNotEqualsConstraint
Description copied from interface:IViewController
Add not equal constraint- Specified by:
addNotEqualsConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addNotInConstraint
Description copied from interface:IViewController
Add not in constraint- Specified by:
addNotInConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addNotLikeConstraint
Description copied from interface:IViewController
Add not like constraint- Specified by:
addNotLikeConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
addIsNotEmptyConstraint
Description copied from interface:IViewController
Add is not empty- Specified by:
addIsNotEmptyConstraint
in interfaceIViewController
- Parameters:
name
- the namevalue
- the value- See Also:
-
evaluate
Description copied from interface:IViewController
Evaluate the request on the server scope- Specified by:
evaluate
in interfaceIViewController
- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
- See Also:
-
evaluate
Description copied from interface:IViewController
Evaluate the request on the catalog scope- Specified by:
evaluate
in interfaceIViewController
- Parameters:
catalog
- TheICatalog
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
- See Also:
-
evaluate
Description copied from interface:IViewController
Evaluate the request on the workflow container scope- Specified by:
evaluate
in interfaceIViewController
- Parameters:
workflowContainer
- TheIWorkflowContainer
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
- See Also:
-
evaluate
Description copied from interface:IViewController
Evaluate the request on the workflow scope- Specified by:
evaluate
in interfaceIViewController
- Parameters:
workflow
- TheIWorkflow
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
- See Also:
-
evaluate
Description copied from interface:IViewController
Evaluate the request on the task scope- Specified by:
evaluate
in interfaceIViewController
- Parameters:
task
- TheITask
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
- See Also:
-
evaluate
Description copied from interface:IViewController
Evaluate the request on the resource definition scope- Specified by:
evaluate
in interfaceIViewController
- Parameters:
resourceDefinition
- TheIResourceDefinition
object.- Returns:
- The returned value is a collection of IWorkflowInstance, ITaskInstance or IResource instances
- See Also:
-
evaluate
Description copied from interface:IViewController
Evaluate the request on the library scope- Specified by:
evaluate
in interfaceIViewController
- Parameters:
library
- TheILibrary
object.- Returns:
- The returned value is a collection of IFile instances
-
evaluateSize
public int evaluateSize()Description copied from interface:IViewController
Evaluate the request on the server scope- Specified by:
evaluateSize
in interfaceIViewController
- Returns:
- The number of elements
- See Also:
-
evaluateSize
Description copied from interface:IViewController
Evaluate the request on the catalog scope- Specified by:
evaluateSize
in interfaceIViewController
- Parameters:
catalog
- TheICatalog
object.- Returns:
- The number of elements
- See Also:
-
evaluateSize
Description copied from interface:IViewController
Evaluate the request on the workflow container scope- Specified by:
evaluateSize
in interfaceIViewController
- Parameters:
workflowContainer
- TheIWorkflowContainer
object.- Returns:
- The number of elements
- See Also:
-
evaluateSize
Description copied from interface:IViewController
Evaluate the request on the workflow scope- Specified by:
evaluateSize
in interfaceIViewController
- Parameters:
workflow
- TheIWorkflow
object.- Returns:
- The number of elements
- See Also:
-
evaluateSize
Description copied from interface:IViewController
Evaluate the request on the task scope- Specified by:
evaluateSize
in interfaceIViewController
- Parameters:
task
- TheITask
object.- Returns:
- The number of elements
- See Also:
-
evaluateSize
Description copied from interface:IViewController
Evaluate the request on the resource definition scope- Specified by:
evaluateSize
in interfaceIViewController
- Parameters:
resourceDefinition
- TheIResourceDefinition
object.- Returns:
- The number of elements
- See Also:
-
evaluateSize
Description copied from interface:IViewController
Evaluate the request on the library scope- Specified by:
evaluateSize
in interfaceIViewController
- Parameters:
library
- TheILibrary
object.- Returns:
- The returned value is a collection of IFile instances
-
setAllowSystemCatalogs
public void setAllowSystemCatalogs(boolean allowSystemCatalogs) Description copied from interface:IViewController
Specifies if the system catalogs should be part of the result.- Specified by:
setAllowSystemCatalogs
in interfaceIViewController
- Parameters:
allowSystemCatalogs
- true if the systemICatalog
object should be part of the result, false otherwise.- See Also:
-
setCount
public void setCount(int count) Description copied from interface:IViewController
Sets the number of elements per page- Specified by:
setCount
in interfaceIViewController
- Parameters:
count
- the number of elements- See Also:
-
setOrberBy
- Specified by:
setOrberBy
in interfaceIViewController
- See Also:
-
setOrderBy
Description copied from interface:IViewController
Sets order by and sort type properties- Specified by:
setOrderBy
in interfaceIViewController
- Parameters:
orderBy
- the order nameorderByType
- the order typeascendant
- the order direction (true for ascendant, false for descendant)- See Also:
-
setSecurityApplied
public void setSecurityApplied(boolean securityApplied) Description copied from interface:IViewController
Specifies if the security should be applied.- Specified by:
setSecurityApplied
in interfaceIViewController
- Parameters:
securityApplied
- true if the security should be applied, false otherwise.- See Also:
-
setStart
public void setStart(int start) Description copied from interface:IViewController
Sets the start page- Specified by:
setStart
in interfaceIViewController
- Parameters:
start
- the start index- See Also:
-
setStatus
public void setStatus(int status) Description copied from interface:IViewController
Sets the required status- Specified by:
setStatus
in interfaceIViewController
- Parameters:
status
- The status could be one of the following values:IWorkflowInstance.IStatus
.STARTEDIWorkflowInstance.IStatus
.ABORTEDIWorkflowInstance.IStatus
.TERMINATEDIWorkflowInstance.IStatus
.PAUSED
- See Also:
-