|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.configuration.StandardConfigurationService
Use the newStandardConfigurationService
static factory method(s),
not the StandardConfigurationService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
Nested Class Summary | |
(package private) static interface |
StandardConfigurationService.PathProcessor
|
(package private) class |
StandardConfigurationService.PathQuantityProcessor
|
(package private) class |
StandardConfigurationService.RecurseOperation
|
Field Summary | |
private static String |
ADD_OR_REPLACE_ALREADY_VALIDATED_KEY
|
private static String |
CLASSNAME
|
private static String |
DONT_PROCESS_POST_REMOVE_BASELINE_EVENT
|
private static String[] |
instanceTablesToLock
|
private static Boolean |
NULL
|
private static String |
RESOURCE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardConfigurationService()
|
Method Summary | |
protected void |
add(BaselineConfigurationVersion configuration,
ConfigurationManageable version)
|
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. |
protected void |
cleanupCommittedConfiguration(BaselineConfigurationVersion configuration)
|
protected void |
deleteConfigurationsOf(ConfiguredMaster configuration)
|
protected void |
deleteInstancesOf(SerialNumbered serialNumbered)
|
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. |
protected QueryResult |
getAllInstances(QueryResult configurations)
|
QueryResult |
getAllInstances(SerialNumbered serialNumbered)
Get all instances of this serial numbered object. |
QueryResult |
getAllOverrides(BaselineConfigurationVersion configuration,
boolean versionsOnly)
Supported API: false |
protected void |
getAndSetConfiguration(QueryResult qr)
|
String |
getConceptualClassname()
Deprecated. |
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. |
private void |
getIdentityParms(ConfigurationManageable version,
Object[] parms,
int index)
|
QueryResult |
getIncorporatedInstances(ConfigurationManageable version,
Timestamp incorporatedSince)
Get all the incorporated instances which use a configuration which configures this version. |
protected QueryResult |
getIncorporatedInstances(QueryResult configurations,
Timestamp incorporatedSince)
|
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)
Get all the instances of this serial numbered object that have been incorporated as of the given timestamp. |
SerialNumberedConfiguredInstanceVersion |
getMappedIntoInstance(SerialNumberedInstanceImpl serialNumbered,
Timestamp incorporated)
Get the instance, incorporated as of the given timestamp, that allocates this instance. |
protected Navigator |
getNavigator(BaselineConfigurationVersion configuration,
ConfigSpec configSpec)
|
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. |
protected QueryResult |
getPlannedInstances(QueryResult configurations,
Timestamp plannedFor)
|
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. |
protected Class |
getValidClassForRole(Class objectClass,
String role)
|
SerialNumberedInstanceVersion |
incorporate(SerialNumberedInstanceVersion instance,
Timestamp incorporated)
Incorporate this instance. |
protected void |
intValidateInstanceForIncorporation(SerialNumberedInstanceVersion instance,
Timestamp incorporated)
|
static StandardConfigurationService |
newStandardConfigurationService()
Default factory for the class. |
protected void |
performStartupProcess()
Dummy method to be overridden by subclasses. |
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. |
protected void |
potentiallyClearDates(SerialNumberedInstanceVersion version)
|
protected void |
potentiallyDeleteOverrides(BaselineConfigurationVersion configuration,
WTCollection configurationManageables)
Delete overrides that reference the same iterations as those replacing existing iterations in the configuration. |
protected void |
potentiallyMoveOverridesToNormal(BaselineConfigurationVersion configuration,
WTCollection configurationManageables)
If there are overrides for the base iterations being deleted, make one of them a base iteration. |
protected WTCollection |
preValidateCollectionForAddToConfiguration(BaselineConfigurationVersion configuration,
WTCollection baselineables,
boolean throwException)
Returns the sub-collection of valid objects for the configuration (if throwException is false) or throws an exception if there are invalid objects. |
void |
registerEvents(ManagerService managerService)
Register events with the passed ManagerService. |
protected void |
remove(BaselineConfigurationVersion configuration,
BaselineMember member)
|
protected QueryResult |
removeDupes(QueryResult qr,
boolean otherSideOnly)
|
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. |
protected void |
removeVersionRecursively(BaselineConfigurationVersion configuration,
ConfigurationManageable version,
ConfigurationDelegate delegate)
|
protected void |
replace(BaselineConfigurationVersion configuration,
ConfigurationManageable version,
BaselineMember member)
|
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. |
protected void |
setConfiguration(QueryResult qr,
Configuration configuration)
|
protected void |
setConfiguration(QueryResult qr,
Hashtable configurationHash)
|
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. |
protected void |
validateAddToConfiguration(BaselineConfigurationVersion configuration,
ConfigurationManageable version)
|
protected void |
validateAddToConfiguration(BaselineConfigurationVersion configuration,
WTCollection configurationManageables)
|
protected void |
validateConfigurationForModificationOrDeletion(Configuration version,
boolean forModification)
|
protected void |
validateConfigurationManageableForModificationOrDeletion(WTCollection configurationManageables)
Do not allow a configuration manageable object to be modified if it's an override in a configuration. |
protected void |
validateConfigurationsForModificationOrDeletion(WTCollection configurations,
boolean forModification)
Do not allow a configuration to be modified if it's associated to an incorporated instance. |
void |
validateInstanceForIncorporation(SerialNumberedInstanceVersion instance,
Timestamp incorporated)
Validate this instance for incorporation. |
protected boolean |
validateInstanceForModification(SerialNumberedInstanceImpl instance,
boolean throwException)
|
protected void |
validateInstanceForModificationOrDeletion(SerialNumberedInstanceVersion version)
|
protected void |
validateInstanceIfcForDeletion(SerialNumberedInstanceIfc instance)
|
protected boolean |
validatePath(BaselineConfigurationVersion configuration,
PathOccurrence path,
StandardConfigurationService.PathProcessor processor,
boolean throwException)
|
protected boolean |
validateTypeForAddToConfiguration(BaselineConfigurationVersion configuration,
Baselineable version,
boolean throwException)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String ADD_OR_REPLACE_ALREADY_VALIDATED_KEY
private static final String DONT_PROCESS_POST_REMOVE_BASELINE_EVENT
private static final Boolean NULL
private static String[] instanceTablesToLock
Constructor Detail |
public StandardConfigurationService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public void registerEvents(ManagerService managerService)
registerEvents
in interface Manager
registerEvents
in class StandardManager
managerService
- the ManagerService with which to register events.protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static StandardConfigurationService newStandardConfigurationService() throws WTException
WTException
public BaselineConfigurationVersion storeNewConfiguration(BaselineConfigurationVersion configuration, ConfiguredMaster configurationFor) throws WTException
storeNewConfiguration
in interface ConfigurationService
configuration
- configurationFor
-
WTException
public BaselineConfigurationVersion storeNewConfiguration(BaselineConfigurationVersion configuration, ConfiguredVersion configurationFor) throws WTException
storeNewConfiguration
in interface ConfigurationService
configuration
- configurationFor
-
WTException
public BaselineConfigurationVersion assignToConfiguration(BaselineConfigurationVersion configuration, ConfigurationManageable version) throws WTException
assignToConfiguration
in interface ConfigurationService
configuration
- version
-
WTException
public BaselineConfigurationVersion removeFromConfiguration(BaselineConfigurationVersion configuration, ConfigurationManageable version) throws WTException
removeFromConfiguration
in interface ConfigurationService
configuration
- version
-
WTException
public BaselineConfigurationVersion populateConfiguration(BaselineConfigurationVersion configuration, ConfigSpec configSpec) throws WTException
populateConfiguration
in interface ConfigurationService
configuration
- configSpec
-
WTException
public BaselineConfigurationVersion repopulateConfiguration(BaselineConfigurationVersion configuration, ConfigSpec configSpec) throws WTException
repopulateConfiguration
in interface ConfigurationService
configuration
- configSpec
-
WTException
public BaselineConfigurationVersion populateConfiguration(BaselineConfigurationVersion configuration, ConfigSpec configSpec, Mastered master) throws WTException
populateConfiguration
in interface ConfigurationService
configuration
- configSpec
- master
-
WTException
public BaselineConfigurationVersion repopulateConfiguration(BaselineConfigurationVersion configuration, ConfigSpec configSpec, Mastered master) throws WTException
repopulateConfiguration
in interface ConfigurationService
configuration
- configSpec
- master
-
WTException
public BaselineConfigurationVersion populateConfiguration(BaselineConfigurationVersion configuration, ConfigSpec configSpec, ConfigurationManageable version) throws WTException
populateConfiguration
in interface ConfigurationService
configuration
- configSpec
- version
-
WTException
public BaselineConfigurationVersion repopulateConfiguration(BaselineConfigurationVersion configuration, ConfigSpec configSpec, ConfigurationManageable version) throws WTException
repopulateConfiguration
in interface ConfigurationService
configuration
- configSpec
- version
-
WTException
public BaselineConfigurationOverride addOverride(BaselineConfigurationVersion configuration, PathOccurrence path, ConfigurationManageable version) throws WTException
addOverride
in interface ConfigurationService
configuration
- path
- version
-
WTException
public BaselineConfigurationVersion removeOverride(BaselineConfigurationVersion configuration, BaselineConfigurationOverride override) throws WTException
removeOverride
in interface ConfigurationService
configuration
- override
-
WTException
public BaselineConfigurationOverride replaceVersionForOverride(BaselineConfigurationOverride override, ConfigurationManageable newVersion) throws WTException
replaceVersionForOverride
in interface ConfigurationService
override
- newVersion
-
WTException
public SerialNumberMapping addMapping(SerialNumberedConfiguredInstanceVersion instance, PathOccurrence path, SerialNumberedInstanceIfc instanceToAllocate) throws WTException
addMapping
in interface ConfigurationService
instance
- path
- instanceToAllocate
-
WTException
public SerialNumberedConfiguredInstanceVersion removeMapping(SerialNumberedConfiguredInstanceVersion instance, SerialNumberMapping mapping) throws WTException
removeMapping
in interface ConfigurationService
instance
- mapping
-
WTException
public SerialNumberMapping replaceMapping(SerialNumberMapping mapping, SerialNumberedInstanceIfc instanceToAllocate) throws WTException
replaceMapping
in interface ConfigurationService
mapping
- instanceToAllocate
-
WTException
public SerialNumberedConfiguredInstanceVersion changeConfiguration(SerialNumberedConfiguredInstanceVersion instance, SerialNumberedBaselineConfigurationVersion configuration) throws WTException
changeConfiguration
in interface ConfigurationService
instance
- configuration
-
WTException
public SerialNumberedInstanceVersion setPlannedIncorporation(SerialNumberedInstanceVersion instance, Timestamp plannedIncorporation) throws WTException
setPlannedIncorporation
in interface ConfigurationService
instance
- plannedIncorporation
-
WTException
public void validateInstanceForIncorporation(SerialNumberedInstanceVersion instance, Timestamp incorporated) throws WTException
validateInstanceForIncorporation
in interface ConfigurationService
instance
- incorporated
-
WTException
public SerialNumberedInstanceVersion incorporate(SerialNumberedInstanceVersion instance, Timestamp incorporated) throws WTException
incorporate
in interface ConfigurationService
instance
- incorporated
-
WTException
public ConfiguredVersion getConfiguredVersion(BaselineConfigurationVersion configuration) throws WTException
getConfiguredVersion
in interface ConfigurationService
configuration
-
WTException
public Persistable getConfiguredVersionOrMaster(BaselineConfigurationVersion configuration) throws WTException
getConfiguredVersionOrMaster
in interface ConfigurationService
configuration
-
WTException
public QueryResult getConfigurationsNormal(ConfigurationManageable version) throws WTException
getConfigurationsNormal
in interface ConfigurationService
version
-
WTException
public QueryResult getConfigurationsOverrides(ConfigurationManageable version, boolean configurationsOnly) throws WTException
getConfigurationsOverrides
in interface ConfigurationService
version
- configurationsOnly
-
WTException
public QueryResult getConfigurationsAll(ConfigurationManageable version, boolean configurationsOnly) throws WTException
getConfigurationsAll
in interface ConfigurationService
version
- configurationsOnly
-
WTException
public QueryResult getNormal(BaselineConfigurationVersion configuration) throws WTException
getNormal
in interface ConfigurationService
configuration
-
WTException
public QueryResult getOverrides(BaselineConfigurationVersion configuration, QueryResult pathOccurrences, boolean versionsOnly) throws WTException
getOverrides
in interface ConfigurationService
configuration
- pathOccurrences
- versionsOnly
-
WTException
public QueryResult getAllOverrides(BaselineConfigurationVersion configuration, boolean versionsOnly) throws WTException
getAllOverrides
in interface ConfigurationService
configuration
- versionsOnly
-
WTException
public QueryResult getAll(BaselineConfigurationVersion configuration, boolean versionsOnly) throws WTException
getAll
in interface ConfigurationService
configuration
- versionsOnly
-
WTException
public ConfigurationManageable getNormalVersion(BaselineConfigurationVersion configuration, Mastered master) throws WTException
getNormalVersion
in interface ConfigurationService
configuration
- master
-
WTException
public QueryResult getNormalVersions(BaselineConfigurationVersion configuration, QueryResult masters) throws WTException
getNormalVersions
in interface ConfigurationService
configuration
- masters
-
WTException
public QueryResult getOverrideVersions(BaselineConfigurationVersion configuration, Mastered master, boolean versionsOnly) throws WTException
getOverrideVersions
in interface ConfigurationService
configuration
- master
- versionsOnly
-
WTException
public QueryResult getOverrideVersions(BaselineConfigurationVersion configuration, QueryResult masters, boolean versionsOnly) throws WTException
getOverrideVersions
in interface ConfigurationService
configuration
- masters
- versionsOnly
-
WTException
public QueryResult getAllInstances(Configuration configuration) throws WTException
getAllInstances
in interface ConfigurationService
configuration
-
WTException
public QueryResult getPlannedInstances(SerialNumberedBaselineConfigurationVersion configuration, Timestamp plannedFor) throws WTException
getPlannedInstances
in interface ConfigurationService
configuration
- plannedFor
-
WTException
public QueryResult getIncorporatedInstances(SerialNumberedBaselineConfigurationVersion configuration, Timestamp incorporatedSince) throws WTException
getIncorporatedInstances
in interface ConfigurationService
configuration
- incorporatedSince
-
WTException
public QueryResult getAllInstances(SerialNumbered serialNumbered) throws WTException
getAllInstances
in interface ConfigurationService
serialNumbered
-
WTException
public QueryResult getPlannedInstances(SerialNumberedConfiguredMaster serialNumbered, Timestamp plannedFor) throws WTException
getPlannedInstances
in interface ConfigurationService
serialNumbered
- plannedFor
-
WTException
public QueryResult getIncorporatedInstances(SerialNumberedConfiguredMaster serialNumbered, Timestamp incorporatedSince) throws WTException
getIncorporatedInstances
in interface ConfigurationService
serialNumbered
- incorporatedSince
-
WTException
public QueryResult getAllInstances(ConfigurationManageable version) throws WTException
getAllInstances
in interface ConfigurationService
version
-
WTException
public QueryResult getPlannedInstances(ConfigurationManageable version, Timestamp plannedFor) throws WTException
getPlannedInstances
in interface ConfigurationService
version
- plannedFor
-
WTException
public QueryResult getIncorporatedInstances(ConfigurationManageable version, Timestamp incorporatedSince) throws WTException
getIncorporatedInstances
in interface ConfigurationService
version
- incorporatedSince
-
WTException
public QueryResult getUnmappedInstances(SerialNumbered serialNumbered, Timestamp notIncorporatedByContextAsOf) throws WTException
getUnmappedInstances
in interface ConfigurationService
serialNumbered
- notIncorporatedByContextAsOf
-
WTException
public QueryResult getUnmappedInstances(SerialNumbered serialNumbered, Timestamp notIncorporatedByContextAsOf, QuerySpec instanceSpec) throws WTException
getUnmappedInstances
in interface ConfigurationService
serialNumbered
- notIncorporatedByContextAsOf
- instanceSpec
-
WTException
public QueryResult getMappedInstances(SerialNumberedConfiguredInstanceVersion serialNumbered, Timestamp incorporated) throws WTException
getMappedInstances
in interface ConfigurationService
serialNumbered
- incorporated
-
WTException
public SerialNumberedConfiguredInstanceVersion getMappedIntoInstance(SerialNumberedInstanceImpl serialNumbered, Timestamp incorporated) throws WTException
getMappedIntoInstance
in interface ConfigurationService
serialNumbered
- incorporated
-
WTException
public QueryResult getConfigurations(ConfiguredVersion configuredVersion) throws WTException
getConfigurations
in interface ConfigurationService
configuredVersion
-
WTException
public QueryResult getAllConfigurations(ConfiguredMaster configuredMaster) throws WTException
getAllConfigurations
in interface ConfigurationService
configuredMaster
-
WTException
protected QueryResult removeDupes(QueryResult qr, boolean otherSideOnly)
protected Class getValidClassForRole(Class objectClass, String role) throws WTIntrospectionException
WTIntrospectionException
protected void setConfiguration(QueryResult qr, Configuration configuration) throws WTPropertyVetoException, WTException
WTPropertyVetoException
WTException
protected void setConfiguration(QueryResult qr, Hashtable configurationHash) throws WTPropertyVetoException, WTException
WTPropertyVetoException
WTException
protected void getAndSetConfiguration(QueryResult qr) throws WTPropertyVetoException, WTException
WTPropertyVetoException
WTException
protected QueryResult getAllInstances(QueryResult configurations) throws WTException
WTException
protected QueryResult getPlannedInstances(QueryResult configurations, Timestamp plannedFor) throws WTException
WTException
protected QueryResult getIncorporatedInstances(QueryResult configurations, Timestamp incorporatedSince) throws WTException
WTException
protected boolean validatePath(BaselineConfigurationVersion configuration, PathOccurrence path, StandardConfigurationService.PathProcessor processor, boolean throwException) throws WTException
WTException
private void getIdentityParms(ConfigurationManageable version, Object[] parms, int index)
protected void add(BaselineConfigurationVersion configuration, ConfigurationManageable version) throws WTException
WTException
protected void remove(BaselineConfigurationVersion configuration, BaselineMember member) throws WTException
WTException
protected void replace(BaselineConfigurationVersion configuration, ConfigurationManageable version, BaselineMember member) throws WTException
WTException
protected boolean validateTypeForAddToConfiguration(BaselineConfigurationVersion configuration, Baselineable version, boolean throwException) throws WTException
WTException
protected WTCollection preValidateCollectionForAddToConfiguration(BaselineConfigurationVersion configuration, WTCollection baselineables, boolean throwException) throws WTException
WTException
protected Navigator getNavigator(BaselineConfigurationVersion configuration, ConfigSpec configSpec) throws WTException
WTException
protected void validateAddToConfiguration(BaselineConfigurationVersion configuration, ConfigurationManageable version) throws WTException
WTException
protected void validateAddToConfiguration(BaselineConfigurationVersion configuration, WTCollection configurationManageables) throws WTException
WTException
protected void potentiallyDeleteOverrides(BaselineConfigurationVersion configuration, WTCollection configurationManageables) throws WTException
WTException
protected void potentiallyMoveOverridesToNormal(BaselineConfigurationVersion configuration, WTCollection configurationManageables) throws WTException
WTException
protected void potentiallyClearDates(SerialNumberedInstanceVersion version) throws WTException
WTException
protected void validateConfigurationForModificationOrDeletion(Configuration version, boolean forModification) throws WTException
WTException
protected void validateInstanceForModificationOrDeletion(SerialNumberedInstanceVersion version) throws WTException
WTException
protected void validateConfigurationsForModificationOrDeletion(WTCollection configurations, boolean forModification) throws WTException
WTException
protected void validateConfigurationManageableForModificationOrDeletion(WTCollection configurationManageables) throws WTException
WTException
protected void validateInstanceIfcForDeletion(SerialNumberedInstanceIfc instance) throws WTException
WTException
protected void deleteInstancesOf(SerialNumbered serialNumbered) throws WTException
WTException
protected void deleteConfigurationsOf(ConfiguredMaster configuration) throws WTException
WTException
protected void removeVersionRecursively(BaselineConfigurationVersion configuration, ConfigurationManageable version, ConfigurationDelegate delegate) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
protected void cleanupCommittedConfiguration(BaselineConfigurationVersion configuration) throws WTException
WTException
protected boolean validateInstanceForModification(SerialNumberedInstanceImpl instance, boolean throwException) throws WTException
WTException
protected void intValidateInstanceForIncorporation(SerialNumberedInstanceVersion instance, Timestamp incorporated) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |