Package com.axemble.vdoc.sdk.impl
Class ProcessResource
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.ProcessElement
com.axemble.vdoc.sdk.impl.ProcessResource
- All Implemented Interfaces:
- IElement,- IResource,- SDKWrapper,- IDeletionSupport,- IProtocolSupport,- ISearchSupport,- ISecuritySupport,- com.axemble.vdp.resource.interfaces.InternalResource,- Serializable
- Direct Known Subclasses:
- ProcessLinkedResource,- ProcessStorageResource,- ProcessWorkflowInstance
public class ProcessResource
extends ProcessElement
implements com.axemble.vdp.resource.interfaces.InternalResource, SDKWrapper
- Author:
- vlygeros
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.axemble.vdp.ui.core.document.CoreDocumentFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedProcessResource(IModule module) protectedProcessResource(IModule module, com.axemble.vdp.ui.core.document.CoreDocument document) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaddLinkedResource(ILinkedResource linkedResource) Allows to add a linked resource.booleanaddLinkedResources(Collection<? extends ILinkedResource> linkedResources) Allows to add linked resources.voidAllows events to be thrown.createLinkedResource(String propertyName) Creates a linked resource within a property.voidDeletes theIElementobject.voiddeleteLinkedResource(ILinkedResource linkedResource) Allows to remove a linked resource.voiddeleteLinkedResources(Collection<? extends ILinkedResource> linkedResources) Allows to remove a collection of linked resources.voidPrevents from throwing events.booleanChecks if a property exists.Gets the creator of the resource.Gets the created date.Gets the definition of the resourcecom.axemble.vdp.ui.core.document.CoreDocumentcom.axemble.vdoc.core.utils.IntrospectionObjectGets the history of the resourcegetId()Gets the identifier object.Collection<? extends ILinkedResource> getLinkedResources(String propertyName) Retrieves all the linked resources of a property.Collection<? extends IOptionList.IOption> Gets the available values of a list property.Gets the last user who modified the resource.Gets the modified date.getName()Gets the name of a resource.com.axemble.vdoc.core.domain.BaseDomainGets the native object underneath.Gets the value of a property.com.axemble.vdoc.core.utils.IntrospectionObjectvoidrefresh()Refresh all children values cachevoidRefresh children cache for given propertybooleansave()Saves the resource.booleanSaves or updates the element.booleanSaves a specified property.booleanvoidsetCreatedBy(IUser user) Sets the creator of the resource.voidsetCreatedDate(Date date) Sets the created date.voidsetList(String propertyName, Collection<? extends IOptionList.IOption> values) Sets the available values for a list property.voidsetModifiedBy(IUser user) Sets last user who modified the resource.voidsetModifiedDate(Date date) Sets the modified date.voidSets a value to a propertyvoidsetValueNoEvents(String propertyName, Object value) Sets a value to a property without throwing any event.Methods inherited from class com.axemble.vdoc.sdk.impl.ProcessElementgetPath, getProtocolURI, getProtocolURI, getWorkflowModuleMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModuleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURI
- 
Field Details- 
documentprotected com.axemble.vdp.ui.core.document.CoreDocument document
 
- 
- 
Constructor Details- 
ProcessResource
- 
ProcessResource
 
- 
- 
Method Details- 
getIdDescription copied from interface:IElementGets the identifier object.- Specified by:
- getIdin interface- IElement
- Overrides:
- getIdin class- ProcessElement
- Returns:
- a IStorageKeyobject.
 
- 
getNativeObjectDescription copied from interface:IElementGets the native object underneath.- Specified by:
- getNativeObjectin interface- IElement
- Returns:
- an object.
 
- 
getNativeDomainpublic com.axemble.vdoc.core.domain.BaseDomain getNativeDomain()- Specified by:
- getNativeDomainin interface- SDKWrapper
 
- 
getDocumentpublic com.axemble.vdp.ui.core.document.CoreDocument getDocument()
- 
getCreatedDateDescription copied from interface:IResourceGets the created date.- Specified by:
- getCreatedDatein interface- IResource
- Returns:
- a Dateobject.
 
- 
setCreatedDateDescription copied from interface:IResourceSets the created date.- Specified by:
- setCreatedDatein interface- IResource
- Parameters:
- date- The- Dateto set.
 
- 
getModifiedDateDescription copied from interface:IResourceGets the modified date.- Specified by:
- getModifiedDatein interface- IResource
- Returns:
- a Dateobject.
 
- 
setModifiedDateDescription copied from interface:IResourceSets the modified date.- Specified by:
- setModifiedDatein interface- IResource
- Parameters:
- date- The- Dateto set.
 
- 
setCreatedByDescription copied from interface:IResourceSets the creator of the resource. Can only be set if the resource has not been created yet- Specified by:
- setCreatedByin interface- IResource
- Parameters:
- user- The creator- IUserof the resource.
 
- 
getCreatedByDescription copied from interface:IResourceGets the creator of the resource.- Specified by:
- getCreatedByin interface- IResource
- Returns:
- a IUserobject.
 
- 
setModifiedByDescription copied from interface:IResourceSets last user who modified the resource.- Specified by:
- setModifiedByin interface- IResource
- Parameters:
- user- The last- IUserwho modified the resource.
 
- 
getModifiedByDescription copied from interface:IResourceGets the last user who modified the resource.- Specified by:
- getModifiedByin interface- IResource
- Returns:
- a IUserobject.
 
- 
getNameDescription copied from interface:IResourceGets the name of a resource.
- 
existsDescription copied from interface:IResourceChecks if a property exists.
- 
setValueNoEventsDescription copied from interface:IResourceSets a value to a property without throwing any event.- Specified by:
- setValueNoEventsin interface- IResource
- Parameters:
- propertyName- The system name of the property.
- value- The value object to set.
 
- 
setValueDescription copied from interface:IResourceSets a value to a property
- 
getValueDescription copied from interface:IResourceGets the value of a property.
- 
setListDescription copied from interface:IResourceSets the available values for a list property.- Specified by:
- setListin interface- IResource
- Parameters:
- propertyName- The system name of the property.
- values- A java.util.Collection of- IOptionList.IOptionobjects..
 
- 
getListDescription copied from interface:IResourceGets the available values of a list property.- Specified by:
- getListin interface- IResource
- Parameters:
- propertyName- The system name of the property.
- Returns:
- A java.util.Collection of IOptionList.IOption.
 
- 
getDefinitionDescription copied from interface:IResourceGets the definition of the resource- Specified by:
- getDefinitionin interface- IResource
- Returns:
- A IResourceDefinitionobject.
 
- 
getCatalog
- 
createLinkedResourceDescription copied from interface:IResourceCreates a linked resource within a property.- Specified by:
- createLinkedResourcein interface- IResource
- Parameters:
- propertyName- The system name of the property.
- Returns:
- a ILinkedResourceobject.
 
- 
addLinkedResourceDescription copied from interface:IResourceAllows to add a linked resource.- Specified by:
- addLinkedResourcein interface- IResource
- Parameters:
- linkedResource- The- ILinkedResourceto add.
- Returns:
- true if succeed, 
} otherwise.invalid @link{@link false
 
- 
addLinkedResourcesDescription copied from interface:IResourceAllows to add linked resources.- Specified by:
- addLinkedResourcesin interface- IResource
- Parameters:
- linkedResources- The collection of- ILinkedResourceobjects to add.
- Returns:
- true if succeed, 
} otherwise.invalid @link{@link false
 
- 
getLinkedResourcesDescription copied from interface:IResourceRetrieves all the linked resources of a property.- Specified by:
- getLinkedResourcesin interface- IResource
- Parameters:
- propertyName- The system name of the property.
- Returns:
- A java.util.Collection of ILinkedResourceobjects.
 
- 
deleteLinkedResourceDescription copied from interface:IResourceAllows to remove a linked resource.- Specified by:
- deleteLinkedResourcein interface- IResource
- Parameters:
- linkedResource- The- ILinkedResourceto remove.
 
- 
deleteLinkedResourcesDescription copied from interface:IResourceAllows to remove a collection of linked resources.- Specified by:
- deleteLinkedResourcesin interface- IResource
- Parameters:
- linkedResources- The collection of- ILinkedResourceobjects.
 
- 
getHistoryDescription copied from interface:IResourceGets the history of the resource- Specified by:
- getHistoryin interface- IResource
- Returns:
- a IResourceHistoryobject.
 
- 
saveDescription copied from interface:IElementSaves or updates the element.- Specified by:
- savein interface- IElement
- Overrides:
- savein class- ProcessElement
- Parameters:
- context- The Execution context.
- Returns:
- return true if succeeded, false otherwise.
 
- 
savepublic boolean save()Description copied from interface:IResourceSaves the resource.
- 
saveDescription copied from interface:IResourceSaves a specified property.
- 
saveNoEventspublic boolean saveNoEvents()- Specified by:
- saveNoEventsin interface- com.axemble.vdp.resource.interfaces.InternalResource
 
- 
deleteDescription copied from interface:IDeletionSupportDeletes theIElementobject.- Specified by:
- deletein interface- IDeletionSupport
- Parameters:
- context- The Execution context.
 
- 
allowEventspublic void allowEvents()Description copied from interface:IResourceAllows events to be thrown.- Specified by:
- allowEventsin interface- IResource
 
- 
denyEventspublic void denyEvents()Description copied from interface:IResourcePrevents from throwing events.- Specified by:
- denyEventsin interface- IResource
 
- 
refreshpublic void refresh()Description copied from interface:IResourceRefresh all children values cache
- 
refreshDescription copied from interface:IResourceRefresh children cache for given property
- 
getText
- 
getValuespublic com.axemble.vdoc.core.utils.IntrospectionObject getValues()- Specified by:
- getValuesin interface- com.axemble.vdp.resource.interfaces.InternalResource
 
- 
getFieldspublic com.axemble.vdoc.core.utils.IntrospectionObject getFields()- Specified by:
- getFieldsin interface- com.axemble.vdp.resource.interfaces.InternalResource
 
 
-