public class OrgResourceService extends java.lang.Object implements OrgResourceService
| Modifier and Type | Method and Description |
|---|---|
com.tibco.bpm.de.api.resource.CreateResourceResponseDocument.CreateResourceResponse |
createResource(com.tibco.bpm.de.api.resource.XmlCreateResource.Candidate[] candidateArray)
Having retrieved a list of the candidate Resources, this method will
allow the caller to create Resources from the LDAP references returned
with each candidate Resources.
|
java.lang.String[] |
deleteResource(java.lang.String[] guidArray)
Deletes the Resource identified by the given GUID.
|
com.tibco.bpm.de.api.resource.FindResourcesResponseDocument.FindResourcesResponse |
findResources(com.tibco.bpm.de.api.resource.FindResourcesDocument.FindResources aRequest)
Locates the resources associated with the org-model entities.
|
com.tibco.bpm.de.api.resource.GetDeletedResourcesResponseDocument.GetDeletedResourcesResponse |
getDeletedResources()
When resources are deleted, a summary of their records are maintained in
order to allow process and work-item administration to be completed.
|
com.tibco.bpm.de.api.resource.GetDeletedResourcesResponseDocument.GetDeletedResourcesResponse |
getDeletedResources(com.tibco.bpm.de.api.base.XmlPageControl aControl)
When resources are deleted, a summary of their records are maintained in
order to allow process and work-item administration to be completed.
|
com.tibco.bpm.de.api.base.XmlResourceDetail[] |
getResource(int modelVersion,
java.lang.String[] guidArray)
Returns detailed information for the Resource identified by its GUID.
|
com.tibco.bpm.de.api.base.XmlResourceDetail[] |
getResource(java.lang.String[] guidArray)
Returns detailed information for the Resource identified by its GUID.
|
int |
purgeDeletedResources(java.lang.String[] aGuids)
When resources are deleted, a summary of their records are maintained in
order to allow process and work-item administration to be completed.
|
com.tibco.bpm.de.api.base.XmlResourceDetail[] |
updateResource(int modelVersion,
com.tibco.bpm.de.api.resource.XmlUpdateResourceType[] candidateArray)
Updates the Resource identified by the given GUID.
|
com.tibco.bpm.de.api.base.XmlResourceDetail[] |
updateResource(com.tibco.bpm.de.api.resource.XmlUpdateResourceType[] candidateArray)
Updates the Resource identified by the given GUID.
|
public com.tibco.bpm.de.api.resource.CreateResourceResponseDocument.CreateResourceResponse createResource(com.tibco.bpm.de.api.resource.XmlCreateResource.Candidate[] candidateArray)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServiceIf a Resource already exists with a given LDAP references, no update is made to that Resource and the GUID of the existing Resource is returned in the response (along with a boolean attribute "already-present").
For those candidates for which a Resource could not be created (due to some logical error, rather than a system failure), the response will include a "failure" element identifying the candidate and giving a reason for the failure. System failures will be reported using a SOAP Fault response.
createResource in interface OrgResourceServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic java.lang.String[] deleteResource(java.lang.String[] guidArray)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServicedeleteResource in interface OrgResourceServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.base.XmlResourceDetail[] getResource(java.lang.String[] guidArray)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServicegetResource in interface OrgResourceServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.base.XmlResourceDetail[] getResource(int modelVersion,
java.lang.String[] guidArray)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServicegetResource in interface OrgResourceServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.base.XmlResourceDetail[] updateResource(com.tibco.bpm.de.api.resource.XmlUpdateResourceType[] candidateArray)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.PersistenceFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServiceupdateResource in interface OrgResourceServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.PersistenceFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.base.XmlResourceDetail[] updateResource(int modelVersion,
com.tibco.bpm.de.api.resource.XmlUpdateResourceType[] candidateArray)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.PersistenceFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServiceupdateResource in interface OrgResourceServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.PersistenceFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.resource.FindResourcesResponseDocument.FindResourcesResponse findResources(com.tibco.bpm.de.api.resource.FindResourcesDocument.FindResources aRequest)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServiceThe request may, alternatively, identify resources by their name.
The response will list those resources, giving their guid, name and label properties. If the same resource is associated with more than one of the entities identified in the request, that resource will only appear once in the response. The response will not indicate the entity from which the resource was located.
The model version, in the request, identifies the org-model major version in which the search for the entities should be performed. The default value of -1 indicates that the latest version should be used. *
As a resource's associations, and the resource itself, can be limited by a date range, the search can selectively include only those resources that are currently associated with the identified entities. When searching by resource name or associations, a true value will ensure that the response only includes those resources whose date restrictions fall within the current date/time.
findResources in interface OrgResourceServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.resource.GetDeletedResourcesResponseDocument.GetDeletedResourcesResponse getDeletedResources(com.tibco.bpm.de.api.base.XmlPageControl aControl)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServicegetDeletedResources in interface OrgResourceServiceaControl - optionally identifies the page of results to be returned.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.resource.GetDeletedResourcesResponseDocument.GetDeletedResourcesResponse getDeletedResources()
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServicegetDeletedResources in interface OrgResourceServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic int purgeDeletedResources(java.lang.String[] aGuids)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgResourceServicepurgeDeletedResources in interface OrgResourceServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultCopyright © 2018 TIBCO Software Inc. All Rights Reserved.