public class OrgModelService extends java.lang.Object implements OrgModelService
COPYRIGHT: (C) 2007-2012 Cloud Software Group, 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
OrgModelService
For 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 OrgModelService
com.tibco.n2.de.services.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public com.tibco.bpm.de.api.orgmodel.GetOrgModelRootsResponseDocument.GetOrgModelRootsResponse getOrgModelRoots(int aModelVersion) throws com.tibco.n2.de.services.DirectoryEngineFault, com.tibco.n2.de.services.SecurityFault
OrgModelService
getOrgModelRoots
in interface OrgModelService
aModelVersion
- identifies the major organization model version to be
returned.com.tibco.n2.de.services.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
getOrgModelRoots
in interface OrgModelService
aModelVersion
- 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.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
getOrgModelEntity
in interface OrgModelService
aModelVersion
- identifies the major organization model version to be
returned.com.tibco.n2.de.services.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
getOrgModel(false, false)
.getOrgModel
in interface OrgModelService
aModelVersion
- 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.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
getOrgModel
in interface OrgModelService
aModelVersion
- 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.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
getOrgModel
in interface OrgModelService
aModelVersion
- 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.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
getOrgModel
in interface OrgModelService
aModelVersion
- 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.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
getCalendarReferences
in interface OrgModelService
aModelVersion
- 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.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public void setCalendarReferences(com.tibco.n2.common.organisation.api.XmlCalendarAssignment[] aAssignments) throws com.tibco.n2.de.services.DirectoryEngineFault, com.tibco.n2.de.services.SecurityFault
OrgModelService
setCalendarReferences
in interface OrgModelService
aAssignments
- identifies the model-entities whose calendar alias
values are to be set, and the aliases to be set.com.tibco.n2.de.services.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
updatePushDestinations
in interface OrgModelService
aModelVersion
- 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.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
setCandidateQueries
in interface OrgModelService
aRemovals
- 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.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public void setExtensionPoints(com.tibco.bpm.de.api.base.XmlExtensionPointAssignment[] aSettings) throws com.tibco.n2.de.services.DirectoryEngineFault, com.tibco.n2.de.services.SecurityFault
OrgModelService
Any 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 OrgModelService
aSettings
- the collection of configurations to be applied.com.tibco.n2.de.services.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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 OrgModelService
com.tibco.n2.de.services.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public void processDynamicOrg() throws com.tibco.n2.de.services.DirectoryEngineFault, com.tibco.n2.de.services.SecurityFault
OrgModelService
processDynamicOrg
in interface OrgModelService
com.tibco.n2.de.services.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
public 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
OrgModelService
getPushDestinations
in interface OrgModelService
com.tibco.n2.de.services.DirectoryEngineFault
com.tibco.n2.de.services.SecurityFault
Copyright © 2018 Cloud Software Group, Inc. All Rights Reserved.