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
ConstructorsModifierConstructorDescriptionprotectedPortalLibraryViewController(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 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) voidsetOrderBy(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 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:IViewControllerAdd equal constraint- Specified by:
addEqualsConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addGreaterConstraint
Description copied from interface:IViewControllerAdd greater than constraint- Specified by:
addGreaterConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addGreaterOrEqualConstraint
Description copied from interface:IViewControllerAdd greater than or equal constraint- Specified by:
addGreaterOrEqualConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addInConstraint
Description copied from interface:IViewControllerAdd in constraint- Specified by:
addInConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addLessConstraint
Description copied from interface:IViewControllerAdd less than constraint- Specified by:
addLessConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addLessOrEqualsConstraint
Description copied from interface:IViewControllerAdd less than or equal constraint- Specified by:
addLessOrEqualsConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addLikeConstraint
Description copied from interface:IViewControllerAdd like constraint- Specified by:
addLikeConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addIsEmptyConstraint
Description copied from interface:IViewControllerAdd is empty constraint- Specified by:
addIsEmptyConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addNotEqualsConstraint
Description copied from interface:IViewControllerAdd not equal constraint- Specified by:
addNotEqualsConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addNotInConstraint
Description copied from interface:IViewControllerAdd not in constraint- Specified by:
addNotInConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addNotLikeConstraint
Description copied from interface:IViewControllerAdd not like constraint- Specified by:
addNotLikeConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
addIsNotEmptyConstraint
Description copied from interface:IViewControllerAdd is not empty- Specified by:
addIsNotEmptyConstraintin interfaceIViewController- Parameters:
name- the namevalue- the value- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
-
evaluateSize
public int evaluateSize()Description copied from interface:IViewControllerEvaluate the request on the server scope- Specified by:
evaluateSizein interfaceIViewController- Returns:
- The number of elements
- See Also:
-
evaluateSize
Description copied from interface:IViewControllerEvaluate the request on the catalog scope- Specified by:
evaluateSizein interfaceIViewController- Parameters:
catalog- TheICatalogobject.- Returns:
- The number of elements
- See Also:
-
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
- See Also:
-
evaluateSize
Description copied from interface:IViewControllerEvaluate the request on the workflow scope- Specified by:
evaluateSizein interfaceIViewController- Parameters:
workflow- TheIWorkflowobject.- Returns:
- The number of elements
- See Also:
-
evaluateSize
Description copied from interface:IViewControllerEvaluate the request on the task scope- Specified by:
evaluateSizein interfaceIViewController- Parameters:
task- TheITaskobject.- Returns:
- The number of elements
- See Also:
-
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
- See Also:
-
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
-
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- true if the systemICatalogobject should be part of the result, false otherwise.- 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- See Also:
-
setOrberBy
- Specified by:
setOrberByin interfaceIViewController- See Also:
-
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)- See Also:
-
setSecurityApplied
public void setSecurityApplied(boolean securityApplied) Description copied from interface:IViewControllerSpecifies if the security should be applied.- Specified by:
setSecurityAppliedin interfaceIViewController- Parameters:
securityApplied- true if the security should be applied, false otherwise.- See Also:
-
setStart
public void setStart(int start) Description copied from interface:IViewControllerSets the start page- Specified by:
setStartin interfaceIViewController- Parameters:
start- the start index- See Also:
-
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
- See Also:
-