|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationService
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
SerialNumberMapping |
addMapping(SerialNumberedConfiguredInstanceVersion instance,
PathOccurrence path,
SerialNumberedInstanceIfc instanceToAllocate)
Allocate this instanceToAllocate to this instance. |
BaselineConfigurationOverride |
addOverride(BaselineConfigurationVersion configuration,
PathOccurrence path,
ConfigurationManageable version)
Add the version as an override for the given path. |
BaselineConfigurationVersion |
assignToConfiguration(BaselineConfigurationVersion configuration,
ConfigurationManageable version)
Assigns the given version to the configuration. |
SerialNumberedConfiguredInstanceVersion |
changeConfiguration(SerialNumberedConfiguredInstanceVersion instance,
SerialNumberedBaselineConfigurationVersion configuration)
Assign a different configuration to this instance. |
QueryResult |
getAll(BaselineConfigurationVersion configuration,
boolean versionsOnly)
Get all versions, normal and overrides, assigned to this configuration. |
QueryResult |
getAllConfigurations(ConfiguredMaster configuredMaster)
Get all the configurations of this configured master. |
QueryResult |
getAllInstances(Configuration configuration)
Return all the instances that are assigned to this configuration. |
QueryResult |
getAllInstances(ConfigurationManageable version)
Get all the instances which use a configuration which configures this version. |
QueryResult |
getAllInstances(SerialNumbered serialNumbered)
Get all instances of this serial numbered object. |
QueryResult |
getConfigurations(ConfiguredVersion configuredVersion)
Get the configurations of this configured version that configure it. |
QueryResult |
getConfigurationsAll(ConfigurationManageable version,
boolean configurationsOnly)
Get all the configurations this version is assigned to, as normal or override. |
QueryResult |
getConfigurationsNormal(ConfigurationManageable version)
Get the configurations this version is assigned to. |
QueryResult |
getConfigurationsOverrides(ConfigurationManageable version,
boolean configurationsOnly)
Return the configurations this version is called out as an override in. |
ConfiguredVersion |
getConfiguredVersion(BaselineConfigurationVersion configuration)
Get the version of the ConfiguredVersion assigned to this configuration, or null if one was not assigned. |
Persistable |
getConfiguredVersionOrMaster(BaselineConfigurationVersion configuration)
Return the version of the ConfiguredVersion, if one is assigned to this configuration. |
QueryResult |
getIncorporatedInstances(ConfigurationManageable version,
Timestamp incorporatedSince)
Get all the incorporated instances which use a configuration which configures this version. |
QueryResult |
getIncorporatedInstances(SerialNumberedBaselineConfigurationVersion configuration,
Timestamp incorporatedSince)
Get all incorporated instances using this configuration. |
QueryResult |
getIncorporatedInstances(SerialNumberedConfiguredMaster serialNumbered,
Timestamp incorporatedSince)
Get all incorporated instances of this serial numbered object. |
QueryResult |
getMappedInstances(SerialNumberedConfiguredInstanceVersion serialNumbered,
Timestamp incorporated)
Returns the versions of the child instances allocated by this parent instance according to the provided incorporated date. |
SerialNumberedConfiguredInstanceVersion |
getMappedIntoInstance(SerialNumberedInstanceImpl serialNumbered,
Timestamp incorporated)
Get the instance, incorporated as of the given timestamp, that allocates this instance. |
QueryResult |
getMappedIntoInstances(SerialNumberedInstanceImpl serialNumbered)
Returns all the versions of the parent instance(s) which allocate this child instance and which were incorporated in the incorporated/unIncorporated range of this child instance. |
QueryResult |
getNormal(BaselineConfigurationVersion configuration)
Get all the versions assigned to this configuration. |
ConfigurationManageable |
getNormalVersion(BaselineConfigurationVersion configuration,
Mastered master)
Get the version, if any, that is assigned to this configuration. |
QueryResult |
getNormalVersions(BaselineConfigurationVersion configuration,
QueryResult masters)
Get the versions, if any, that are assigned to this configuration. |
QueryResult |
getOverrides(BaselineConfigurationVersion configuration,
QueryResult pathOccurrences,
boolean versionsOnly)
Get all overrides in this configuration. |
QueryResult |
getOverrideVersions(BaselineConfigurationVersion configuration,
Mastered master,
boolean versionsOnly)
Get all versions of this master, if any, that are assigned as overrides in this configuration. |
QueryResult |
getOverrideVersions(BaselineConfigurationVersion configuration,
QueryResult masters,
boolean versionsOnly)
Get all versions of these masters, if any, that are assigned as overrides in this configuration. |
QueryResult |
getPlannedInstances(ConfigurationManageable version,
Timestamp plannedFor)
Get all the planned instances which use a configuration which configures this version. |
QueryResult |
getPlannedInstances(SerialNumberedBaselineConfigurationVersion configuration,
Timestamp plannedFor)
Get all planned instances using this configuration. |
QueryResult |
getPlannedInstances(SerialNumberedConfiguredMaster serialNumbered,
Timestamp plannedFor)
Get all planned instances of this serial numbered object. |
QueryResult |
getUnmappedInstances(SerialNumbered serialNumbered,
Timestamp notIncorporatedByContextAsOf)
Get all the instances that have not been allocated into another instance. |
QueryResult |
getUnmappedInstances(SerialNumbered serialNumbered,
Timestamp notIncorporatedByContextAsOf,
QuerySpec instanceSpec)
Get all the instances that have not been allocated into another instance. |
SerialNumberedInstanceVersion |
incorporate(SerialNumberedInstanceVersion instance,
Timestamp incorporated)
Incorporate this instance. |
BaselineConfigurationVersion |
populateBasicConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec)
Populates a basic configuration, adding only the versions needed navigate paths to the traced children and creating those paths. |
BaselineConfigurationVersion |
populateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec)
Populates the configuration, starting at the configured version. |
BaselineConfigurationVersion |
populateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec,
ConfigurationManageable version)
Populates the configuration, starting at the version. |
BaselineConfigurationVersion |
populateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec,
Mastered master)
Populates the configuration, starting at the master. |
SerialNumberedInstanceVersion |
redoIncorporation(SerialNumberedInstanceVersion instance,
Timestamp incorporated,
Timestamp unIncorporated)
Given an incorporated instance, this API will allow the user to reassign the incorporated/unIncorporated dates. |
BaselineConfigurationVersion |
removeFromConfiguration(BaselineConfigurationVersion configuration,
ConfigurationManageable version)
Removes the given version from the configuration Supported API: true |
SerialNumberedConfiguredInstanceVersion |
removeMapping(SerialNumberedConfiguredInstanceVersion instance,
SerialNumberMapping mapping)
Remove the allocation. |
BaselineConfigurationVersion |
removeOverride(BaselineConfigurationVersion configuration,
BaselineConfigurationOverride override)
Remove the override. |
SerialNumberMapping |
replaceMapping(SerialNumberMapping mapping,
SerialNumberedInstanceIfc instanceToAllocate)
Assign a different instance to this allocation. |
BaselineConfigurationOverride |
replaceVersionForOverride(BaselineConfigurationOverride override,
ConfigurationManageable newVersion)
Assign a different version to this override. |
BaselineConfigurationVersion |
repopulateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec)
Repopulate the configuration, starting at the configured version. |
BaselineConfigurationVersion |
repopulateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec,
ConfigurationManageable version)
Repopulate the configuration, starting at the version. |
BaselineConfigurationVersion |
repopulateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec,
Mastered master)
Repopulate the configuration, starting at the master. |
SerialNumberedInstanceVersion |
setPlannedIncorporation(SerialNumberedInstanceVersion instance,
Timestamp plannedIncorporation)
Set the planned incorporation for this instance. |
BaselineConfigurationVersion |
storeNewConfiguration(BaselineConfigurationVersion configuration,
ConfiguredMaster configurationFor)
Stores the configuration. |
BaselineConfigurationVersion |
storeNewConfiguration(BaselineConfigurationVersion configuration,
ConfiguredVersion configurationFor)
Stores the configuration and adds the version (configurationFor) to it. |
void |
validateInstanceForIncorporation(SerialNumberedInstanceVersion instance,
Timestamp incorporated)
Validate this instance for incorporation. |
| Method Detail |
|---|
BaselineConfigurationVersion storeNewConfiguration(BaselineConfigurationVersion configuration,
ConfiguredMaster configurationFor)
throws WTException
configuration - configurationFor -
WTException
BaselineConfigurationVersion storeNewConfiguration(BaselineConfigurationVersion configuration,
ConfiguredVersion configurationFor)
throws WTException
configuration - configurationFor -
WTException
BaselineConfigurationVersion assignToConfiguration(BaselineConfigurationVersion configuration,
ConfigurationManageable version)
throws WTException
configuration - version -
WTException
BaselineConfigurationVersion removeFromConfiguration(BaselineConfigurationVersion configuration,
ConfigurationManageable version)
throws WTException
configuration - version -
WTException
BaselineConfigurationVersion populateBasicConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec)
throws WTException
configuration - configSpec -
WTException
BaselineConfigurationVersion populateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec)
throws WTException
configuration - configSpec -
WTException
BaselineConfigurationVersion repopulateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec)
throws WTException
configuration - configSpec -
WTException
BaselineConfigurationVersion populateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec,
Mastered master)
throws WTException
configuration - configSpec - master -
WTException
BaselineConfigurationVersion repopulateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec,
Mastered master)
throws WTException
configuration - configSpec - master -
WTException
BaselineConfigurationVersion populateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec,
ConfigurationManageable version)
throws WTException
configuration - configSpec - version -
WTException
BaselineConfigurationVersion repopulateConfiguration(BaselineConfigurationVersion configuration,
ConfigSpec configSpec,
ConfigurationManageable version)
throws WTException
configuration - configSpec - version -
WTException
BaselineConfigurationOverride addOverride(BaselineConfigurationVersion configuration,
PathOccurrence path,
ConfigurationManageable version)
throws WTException
configuration - path - version -
WTException
BaselineConfigurationVersion removeOverride(BaselineConfigurationVersion configuration,
BaselineConfigurationOverride override)
throws WTException
configuration - override -
WTException
BaselineConfigurationOverride replaceVersionForOverride(BaselineConfigurationOverride override,
ConfigurationManageable newVersion)
throws WTException
override - newVersion -
WTException
SerialNumberMapping addMapping(SerialNumberedConfiguredInstanceVersion instance,
PathOccurrence path,
SerialNumberedInstanceIfc instanceToAllocate)
throws WTException
instance - path - instanceToAllocate -
WTException
SerialNumberedConfiguredInstanceVersion removeMapping(SerialNumberedConfiguredInstanceVersion instance,
SerialNumberMapping mapping)
throws WTException
instance - mapping -
WTException
SerialNumberMapping replaceMapping(SerialNumberMapping mapping,
SerialNumberedInstanceIfc instanceToAllocate)
throws WTException
mapping - instanceToAllocate -
WTException
SerialNumberedConfiguredInstanceVersion changeConfiguration(SerialNumberedConfiguredInstanceVersion instance,
SerialNumberedBaselineConfigurationVersion configuration)
throws WTException
instance - configuration -
WTException
SerialNumberedInstanceVersion setPlannedIncorporation(SerialNumberedInstanceVersion instance,
Timestamp plannedIncorporation)
throws WTException
instance - plannedIncorporation -
WTException
void validateInstanceForIncorporation(SerialNumberedInstanceVersion instance,
Timestamp incorporated)
throws WTException
instance - incorporated -
WTException
SerialNumberedInstanceVersion incorporate(SerialNumberedInstanceVersion instance,
Timestamp incorporated)
throws WTException
instance - incorporated -
WTException
SerialNumberedInstanceVersion redoIncorporation(SerialNumberedInstanceVersion instance,
Timestamp incorporated,
Timestamp unIncorporated)
throws WTException
This API will validate that the new dates don't overlap with other dates and don't violate the ranges parent instances call them out in. For example, if the parent -- incorporated as of 1/1/2006 -- calls out the child, the child can not change its incorporation to anything greater than 1/1/2006, as that would invalidate the parent.
NOTE: If you only want to adust one value and not both, you
must pass in the original value -- (instance, newValue, instance.getUnIncorporated())
or (instance, instance.getIncorporated(), newValue).
Supported API: true
instance - incorporated - unIncorporated -
WTException
ConfiguredVersion getConfiguredVersion(BaselineConfigurationVersion configuration)
throws WTException
configuration -
WTException
Persistable getConfiguredVersionOrMaster(BaselineConfigurationVersion configuration)
throws WTException
configuration -
WTException
QueryResult getConfigurationsNormal(ConfigurationManageable version)
throws WTException
version -
WTException
QueryResult getConfigurationsOverrides(ConfigurationManageable version,
boolean configurationsOnly)
throws WTException
version - configurationsOnly -
WTException
QueryResult getConfigurationsAll(ConfigurationManageable version,
boolean configurationsOnly)
throws WTException
version - configurationsOnly -
WTException
QueryResult getNormal(BaselineConfigurationVersion configuration)
throws WTException
configuration -
WTException
QueryResult getOverrides(BaselineConfigurationVersion configuration,
QueryResult pathOccurrences,
boolean versionsOnly)
throws WTException
configuration - pathOccurrences - versionsOnly -
WTException
QueryResult getAll(BaselineConfigurationVersion configuration,
boolean versionsOnly)
throws WTException
configuration - versionsOnly -
WTException
ConfigurationManageable getNormalVersion(BaselineConfigurationVersion configuration,
Mastered master)
throws WTException
configuration - master -
WTException
QueryResult getNormalVersions(BaselineConfigurationVersion configuration,
QueryResult masters)
throws WTException
configuration - masters -
WTException
QueryResult getOverrideVersions(BaselineConfigurationVersion configuration,
Mastered master,
boolean versionsOnly)
throws WTException
configuration - master - versionsOnly -
WTException
QueryResult getOverrideVersions(BaselineConfigurationVersion configuration,
QueryResult masters,
boolean versionsOnly)
throws WTException
configuration - masters - versionsOnly -
WTException
QueryResult getAllInstances(Configuration configuration)
throws WTException
configuration -
WTException
QueryResult getPlannedInstances(SerialNumberedBaselineConfigurationVersion configuration,
Timestamp plannedFor)
throws WTException
configuration - plannedFor -
WTException
QueryResult getIncorporatedInstances(SerialNumberedBaselineConfigurationVersion configuration,
Timestamp incorporatedSince)
throws WTException
configuration - incorporatedSince -
WTException
QueryResult getAllInstances(SerialNumbered serialNumbered)
throws WTException
serialNumbered -
WTException
QueryResult getPlannedInstances(SerialNumberedConfiguredMaster serialNumbered,
Timestamp plannedFor)
throws WTException
serialNumbered - plannedFor -
WTException
QueryResult getIncorporatedInstances(SerialNumberedConfiguredMaster serialNumbered,
Timestamp incorporatedSince)
throws WTException
serialNumbered - incorporatedSince -
WTException
QueryResult getAllInstances(ConfigurationManageable version)
throws WTException
version -
WTException
QueryResult getPlannedInstances(ConfigurationManageable version,
Timestamp plannedFor)
throws WTException
version - plannedFor -
WTException
QueryResult getIncorporatedInstances(ConfigurationManageable version,
Timestamp incorporatedSince)
throws WTException
version - incorporatedSince -
WTException
QueryResult getUnmappedInstances(SerialNumbered serialNumbered,
Timestamp notIncorporatedByContextAsOf)
throws WTException
serialNumbered - notIncorporatedByContextAsOf -
WTException
QueryResult getUnmappedInstances(SerialNumbered serialNumbered,
Timestamp notIncorporatedByContextAsOf,
QuerySpec instanceSpec)
throws WTException
serialNumbered - notIncorporatedByContextAsOf - instanceSpec -
WTException
QueryResult getMappedInstances(SerialNumberedConfiguredInstanceVersion serialNumbered,
Timestamp incorporated)
throws WTException
serialNumbered - incorporated -
WTException
SerialNumberedConfiguredInstanceVersion getMappedIntoInstance(SerialNumberedInstanceImpl serialNumbered,
Timestamp incorporated)
throws WTException
serialNumbered - incorporated -
WTException
QueryResult getConfigurations(ConfiguredVersion configuredVersion)
throws WTException
configuredVersion -
WTException
QueryResult getAllConfigurations(ConfiguredMaster configuredMaster)
throws WTException
configuredMaster -
WTException
QueryResult getMappedIntoInstances(SerialNumberedInstanceImpl serialNumbered)
throws WTException
serialNumbered -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||