public class OrgModelService extends java.lang.Object implements OrgModelService
COPYRIGHT: (C) 2007-2012 TIBCO Software Inc. All Rights Reserved.
| Modifier and Type | Method and Description |
|---|---|
com.tibco.bpm.de.api.orgmodel.GetCalendarReferencesResponseDocument.GetCalendarReferencesResponse |
getCalendarReferences(int aModelVersion,
com.tibco.n2.common.organisation.api.OrganisationalEntityType.Enum aEntityType,
java.lang.String aGuid)
Returns the Calendar references that identify the Base and Overlay
Calendars to be applied for deadline calculations involving the given
model-entity.
|
com.tibco.bpm.de.api.orgmodel.GetOrgModelResponseDocument.GetOrgModelResponse |
getOrgModel(int aModelVersion,
boolean includeResourceCounts)
Requests the details of the entities that form the organzation model
identified by the given major version.
|
com.tibco.bpm.de.api.orgmodel.GetOrgModelResponseDocument.GetOrgModelResponse |
getOrgModel(int aModelVersion,
boolean includeResourceCounts,
boolean includeCalendarAlias)
Requests the details of the entities that form the organzation model
identified by the given major version.
|
com.tibco.bpm.de.api.orgmodel.GetOrgModelResponseDocument.GetOrgModelResponse |
getOrgModel(int aModelVersion,
boolean includeResourceCounts,
boolean includeCalendarAlias,
boolean includeCandidateQueries,
boolean includeExtPoints)
Requests the details of the entities that form the organzation model
identified by the given major version.
|
com.tibco.bpm.de.api.orgmodel.GetOrgModelResponseDocument.GetOrgModelResponse |
getOrgModel(int aModelVersion,
boolean aIncludeResourceCounts,
boolean aIncludeCalendarAlias,
boolean aIncludeCandidateQueries,
boolean aIncludeExtPoints,
boolean aIncludeCategories)
Requests the details of the entities that form the organzation model
identified by the given major version.
|
com.tibco.bpm.de.api.orgmodel.GetOrgModelEntityResponseDocument.GetOrgModelEntityResponse |
getOrgModelEntity(int aModelVersion,
java.lang.String[] aGuids)
Requests the details of the entities identified by the given major version
and their GUID.
|
com.tibco.bpm.de.api.orgmodel.GetOrgModelRootsResponseDocument.GetOrgModelRootsResponse |
getOrgModelRoots(int aModelVersion)
Requests the details of the entities that form the root elements of the
organzation model identified by the given major version.
|
com.tibco.bpm.de.api.orgmodel.GetOrgModelRootsResponseDocument.GetOrgModelRootsResponse |
getOrgModelRoots(int aModelVersion,
boolean aIncludeCategories)
Requests the details of the entities that form the root elements of the
organzation model identified by the given major version.
|
com.tibco.bpm.de.api.orgmodel.XmlPushDestinationList[] |
getPushDestinations(com.tibco.n2.common.organisation.api.XmlModelEntityId[] parameterValues)
Retrieve the Push Destinations for the identified org-model entities (or
resource).
|
com.tibco.bpm.de.api.base.XmlOrgModelVersionDetail[] |
listOrgModelVersions()
This operation lists the available organization model major versions.
|
void |
processDynamicOrg()
Requests that the processing of the Extension Points and Candidate Queries
be performed as soon as possible.
|
void |
setCalendarReferences(com.tibco.n2.common.organisation.api.XmlCalendarAssignment[] aAssignments)
Assign Calendar References to model entities.
|
void |
setCandidateQueries(com.tibco.bpm.de.api.orgmodel.SetCandidateQueriesDocument.SetCandidateQueries.Remove aRemovals,
com.tibco.bpm.de.api.base.XmlCandidateQueryAssignment[] aAssignments)
Sets, or updates, the Candidate Query assignments to identified org-model
entities.
|
void |
setExtensionPoints(com.tibco.bpm.de.api.base.XmlExtensionPointAssignment[] aSettings)
Sets, or updates, the configurations for the identified Organisation
Model Extension Point entities.
|
void |
setExtensionPoints(com.tibco.bpm.de.api.base.XmlExtensionPointRemoval[] aSettings) |
void |
updatePushDestinations(int aModelVersion,
com.tibco.n2.common.organisation.api.OrganisationalEntityType.Enum aEntityType,
java.lang.String aGuid,
com.tibco.bpm.de.api.base.XmlPushDestinationId[] aRemovals,
com.tibco.bpm.de.api.base.XmlPushDestination[] aUpdates)
Updates the Push Destinations for the identified org-model entity (or
resource).
|
public com.tibco.bpm.de.api.base.XmlOrgModelVersionDetail[] listOrgModelVersions()
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServiceFor each major version, the organization model deployments that make up that version will be detailed - giving their full version number, name and date deployed.
listOrgModelVersions in interface OrgModelServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.orgmodel.GetOrgModelRootsResponseDocument.GetOrgModelRootsResponse getOrgModelRoots(int aModelVersion)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicegetOrgModelRoots in interface OrgModelServiceaModelVersion - identifies the major organization model version to be
returned.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.orgmodel.GetOrgModelRootsResponseDocument.GetOrgModelRootsResponse getOrgModelRoots(int aModelVersion,
boolean aIncludeCategories)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicegetOrgModelRoots in interface OrgModelServiceaModelVersion - identifies the major organization model version to be
returned.aIncludeCategories - Specifies whether the capabilities and
privileges should be grouped in the nested categories in which
they were deployed.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.orgmodel.GetOrgModelEntityResponseDocument.GetOrgModelEntityResponse getOrgModelEntity(int aModelVersion,
java.lang.String[] aGuids)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicegetOrgModelEntity in interface OrgModelServiceaModelVersion - identifies the major organization model version to be
returned.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.orgmodel.GetOrgModelResponseDocument.GetOrgModelResponse getOrgModel(int aModelVersion,
boolean includeResourceCounts)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicegetOrgModel(false, false).getOrgModel in interface OrgModelServiceaModelVersion - identifies the major organization model version to be
returned.includeResourceCounts - determines whether the number of resources
assigned to groups, positions and capabilities should be
included in the response. For performance reasons, the caller
may choose not to include these.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.orgmodel.GetOrgModelResponseDocument.GetOrgModelResponse getOrgModel(int aModelVersion,
boolean includeResourceCounts,
boolean includeCalendarAlias)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicegetOrgModel in interface OrgModelServiceaModelVersion - identifies the major organization model version to be
returned.includeResourceCounts - determines whether the number of resources
assigned to groups, positions and capabilities should be
included in the response. For performance reasons, the caller
may choose not to include these.includeCalendarAlias - determines whether the calendar alias
assigned to groups, positions, org-units and organizations
should be included in the response. For performance reasons,
the caller may choose not to include these.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.orgmodel.GetOrgModelResponseDocument.GetOrgModelResponse getOrgModel(int aModelVersion,
boolean includeResourceCounts,
boolean includeCalendarAlias,
boolean includeCandidateQueries,
boolean includeExtPoints)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicegetOrgModel in interface OrgModelServiceaModelVersion - identifies the major organization model version to be
returned.includeResourceCounts - determines whether the number of resources
assigned to groups, positions and capabilities should be
included in the response. For performance reasons, the caller
may choose not to include these.includeCalendarAlias - determines whether the calendar alias
assigned to groups, positions, org-units and organizations
should be included in the response. For performance reasons,
the caller may choose not to include these.includeCandidateQueries - determines whether the Candidate Queries
assigned to groups and positions, should be included in the
response.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.orgmodel.GetOrgModelResponseDocument.GetOrgModelResponse getOrgModel(int aModelVersion,
boolean aIncludeResourceCounts,
boolean aIncludeCalendarAlias,
boolean aIncludeCandidateQueries,
boolean aIncludeExtPoints,
boolean aIncludeCategories)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicegetOrgModel in interface OrgModelServiceaModelVersion - identifies the major organization model version to be
returned.aIncludeResourceCounts - determines whether the number of resources
assigned to groups, positions and capabilities should be
included in the response. For performance reasons, the caller
may choose not to include these.aIncludeCalendarAlias - determines whether the calendar alias
assigned to groups, positions, org-units and organizations
should be included in the response. For performance reasons,
the caller may choose not to include these.aIncludeCandidateQueries - determines whether the Candidate Queries
assigned to groups and positions, should be included in the
response.aIncludeCategories - Specifies whether the capabilities and
privileges should be grouped in the nested categories in which
they were deployed.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.orgmodel.GetCalendarReferencesResponseDocument.GetCalendarReferencesResponse getCalendarReferences(int aModelVersion,
com.tibco.n2.common.organisation.api.OrganisationalEntityType.Enum aEntityType,
java.lang.String aGuid)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicegetCalendarReferences in interface OrgModelServiceaModelVersion - the major model version of the org-model entity whose
Calendar references are to be returned.aEntityType - the type of org-model entity whose Calendar references
are to be returned.aGuid - the GUID of the org-model entity whose Calendar references
are to be returned.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic void setCalendarReferences(com.tibco.n2.common.organisation.api.XmlCalendarAssignment[] aAssignments)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicesetCalendarReferences in interface OrgModelServiceaAssignments - identifies the model-entities whose calendar alias
values are to be set, and the aliases to be set.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic void updatePushDestinations(int aModelVersion,
com.tibco.n2.common.organisation.api.OrganisationalEntityType.Enum aEntityType,
java.lang.String aGuid,
com.tibco.bpm.de.api.base.XmlPushDestinationId[] aRemovals,
com.tibco.bpm.de.api.base.XmlPushDestination[] aUpdates)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServiceupdatePushDestinations in interface OrgModelServiceaModelVersion - the major org-model version in which the entity
resides.aEntityType - the type of the org-model entity (group, position,
resource, etc).aGuid - the unique identifier of the org-model entity (or resource).aRemovals - the IDs of those push destinations to be removed from
the identified entity. If null, no push
destinations are removed.aUpdates - the push destinations to be create, or updated. If
null, no existing push destinations are updated.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic void setCandidateQueries(com.tibco.bpm.de.api.orgmodel.SetCandidateQueriesDocument.SetCandidateQueries.Remove aRemovals,
com.tibco.bpm.de.api.base.XmlCandidateQueryAssignment[] aAssignments)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicesetCandidateQueries in interface OrgModelServiceaRemovals - identifies the entities from which any existing
Candidate Queries are to be removed.aAssignments - identifies the entity which Candidate Queries are to
be set.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic void setExtensionPoints(com.tibco.bpm.de.api.base.XmlExtensionPointAssignment[] aSettings)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServiceAny existing configuration for the identified entities will be overwritten. Attempting to set the configuration for an org-model entity to which the caller does not have access, will cause a SecurityFault.
Changing an existing Extension Point configuration may invalidate any Model Template Instances that have previously been generated using the previous configuration; causing those invalud Model Template Instances to be deleted.
setExtensionPoints in interface OrgModelServiceaSettings - the collection of configurations to be applied.com.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic void setExtensionPoints(com.tibco.bpm.de.api.base.XmlExtensionPointRemoval[] aSettings)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
setExtensionPoints in interface OrgModelServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic void processDynamicOrg()
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServiceprocessDynamicOrg in interface OrgModelServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultpublic com.tibco.bpm.de.api.orgmodel.XmlPushDestinationList[] getPushDestinations(com.tibco.n2.common.organisation.api.XmlModelEntityId[] parameterValues)
throws com.tibco.n2.de.services.DirectoryEngineFault,
com.tibco.n2.de.services.SecurityFault
OrgModelServicegetPushDestinations in interface OrgModelServicecom.tibco.n2.de.services.DirectoryEngineFaultcom.tibco.n2.de.services.SecurityFaultCopyright © 2018 TIBCO Software Inc. All Rights Reserved.