|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.iba.value.service.MultiObjIBAValueDBService
Use the newMultiObjIBAValueDBService
static factory method(s),
not the MultiObjIBAValueDBService
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: false
Extendable: false
Nested Class Summary | |
(package private) static class |
MultiObjIBAValueDBService.CopyResultProcessor
|
Field Summary | |
private static String |
CLASSNAME
|
protected static int |
CONTEXT_ID_INDEX
|
static String |
COPY_METHOD_CONTEXT_KEY
|
private static Class[] |
DATA_TYPE_CLASS
|
protected static int |
DEFINITION_ID_INDEX
|
protected static int |
HIERARCHY_ID_INDEX
|
protected static int |
HOLDER_ID_INDEX
|
private static int |
IBA_COPY_BATCH_PROC
|
private static String |
IBA_COPY_BATCH_STORED_PROCEDURE_NAME
|
private static int |
IBA_COPY_FULL
|
private static int |
IBA_COPY_IMPL
|
private static int |
IBA_COPY_PROC
|
private static String |
IBA_COPY_STORED_PROCEDURE_NAME
|
private static int |
IBA_COPY_VIEW
|
protected static int |
ID_INDEX
|
private static String |
KEY_CLASS
|
private static String |
KEY_ID
|
static String |
METHOD_CONTEXT_KEY
|
protected static int |
NUMBER_INDEX
|
protected static int |
NUMBER_PRECISION_INDEX
|
private static String |
RESOURCE
|
protected static int |
STRING_INDEX
|
protected static int |
STRING2_INDEX
|
private static IBADefinitionDBService |
theIBADefinitionDBService
|
static IBAValueDBService |
theStandardIBAValueDBService
Supported API: false |
protected static int |
TIMESTAMP_INDEX
|
protected static int |
VALUE_TYPE_INDEX
|
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 | |
MultiObjIBAValueDBService()
|
Method Summary | |
private void |
addToValueIBAHolderMap(HashMap valueToIBAHolderMap,
AbstractValueView avv,
IBAHolder iba)
|
private String |
avvToString(AbstractValueView value)
|
private void |
copyAllIBAs(String a_name,
StatementParameterFactory a_factory,
StatementParameter a_returnValue,
IdOidObjectList a_copyList)
|
private void |
copyAllIBAs(WTCollection a_targetIBAholders)
|
private void |
copyAllIBAs(WTValuedMap ibaHoldersSrcTargetMap)
|
private void |
copyAllIBAs(WTValuedMap ibaHoldersSrcTargetMap,
boolean replace)
|
private void |
copyAllIBAs(WTValuedMap ibaHoldersSrcTargetMap,
Map replacements)
|
private void |
copyAllIBAsValueView(WTValuedMap ibaHoldersSrcTargetMap,
Map replacements)
|
void |
copyAttributes(WTValuedMap ibaHoldersMap,
boolean replace)
Copy all soft attributes from source IBAHolder to the Target IBAHoler. |
private void |
deleteAllIBAsForIBAHolders(long[] ibaholderIDs)
|
private void |
deleteAllIBAsForIBAReferenceables(long[] ibaholderRefIDs)
|
private void |
deleteAllIBAsForIDs(long[] ids)
|
void |
deleteAttributeContainer(IBAHolder ibaHolder,
Object constraintParam)
Supported API: false |
private WTCollection |
getAttributeValuesToUpdate(ArrayList updateList,
HashMap valueToIBAHolderMap,
HashMap refreshMap,
HashMap definitionMap,
HashMap referenceMap,
HashMap newReferenceMap,
HashMap IBAReferenceableMap)
|
String |
getConceptualClassname()
Deprecated. |
private WTCollection |
getContextualAttributeValues(ArrayList newContextualList,
HashMap valueToIBAHolderMap,
HashMap referenceMap,
HashMap newReferenceMap)
|
private WTArrayList |
getCopyValues(long[] srcIBAholderRefIDs,
Map srcTargetMap,
WTKeyedMap srcTargetRefMap,
WTKeyedMap replacementMap)
|
private HashMap |
getDefinitionClassMap(WTHashSet definitionSet)
|
private QueryResult |
getIBAValues(Class ibaValueClass,
long[] ids)
|
private HashMap |
getReferenceableMap(WTHashSet IBAReferenceableSet)
|
private HashMap |
getReferenceAttributeValueMap(ArrayList newReferenceList,
WTArrayList newReferenceListHeavy,
HashMap valueToIBAHolderMap,
HashMap definitionMap,
HashMap IBAReferenceableMap)
|
private HashMap |
getRefreshMap(WTHashSet refreshSet,
HashMap valueToIBAHolderMap)
|
static MultiObjIBAValueDBService |
newMultiObjIBAValueDBService()
Default factory for the class. |
protected void |
performStartupProcess()
Supported API: false |
AttributeContainer |
refreshAttributeConstraint(IBAHolder ibaHolder,
Object constraintParam,
Locale locale)
Supported API: false |
IBAHolder[] |
refreshAttributeContainer(IBAHolder[] ibaHolders)
Supported API: false |
AttributeContainer |
refreshAttributeContainer(IBAHolder ibaHolder,
Object constraintParam,
Locale locale,
MeasurementSystemDefaultView measurementSystem)
Supported API: false |
WTCollection |
refreshAttributeContainer(WTCollection ibaHolders)
Supported API: false |
AttributeContainer |
refreshAttributeContainerWithoutConstraints(IBAHolder ibaHolder)
Supported API: false |
IBAHolder[] |
refreshAttributeContainerWithoutConstraints(IBAHolder[] ibaHolders)
Supported API: false |
WTCollection |
refreshAttributeContainerWithoutConstraints(WTCollection ibaHolders)
Supported API: false |
AttributeContainer |
updateAttributeContainer(IBAHolder ibaHolder,
Object constraintParam,
Locale locale,
MeasurementSystemDefaultView measurementSystem)
Supported API: false |
WTCollection |
updateAttributeContainer(WTCollection ibaHolders)
|
void |
updateIBAReferenceableReferenceID(IBAReferenceable ibaReferenceable)
Supported API: false |
private void |
updateValueDefinitionReference(AbstractAttributeDefinition definition)
|
protected void |
validateMasteredDelete(WTCollection target)
|
protected void |
validateModifiable(long[] ibaholderRefIDs)
|
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
public static final IBAValueDBService theStandardIBAValueDBService
private static final Class[] DATA_TYPE_CLASS
private static final String KEY_ID
private static final String KEY_CLASS
private static final IBADefinitionDBService theIBADefinitionDBService
public static final String METHOD_CONTEXT_KEY
public static final String COPY_METHOD_CONTEXT_KEY
protected static final int ID_INDEX
protected static final int VALUE_TYPE_INDEX
protected static final int HIERARCHY_ID_INDEX
protected static final int DEFINITION_ID_INDEX
protected static final int HOLDER_ID_INDEX
protected static final int CONTEXT_ID_INDEX
protected static final int NUMBER_INDEX
protected static final int NUMBER_PRECISION_INDEX
protected static final int STRING_INDEX
protected static final int STRING2_INDEX
protected static final int TIMESTAMP_INDEX
private static final String IBA_COPY_STORED_PROCEDURE_NAME
private static final String IBA_COPY_BATCH_STORED_PROCEDURE_NAME
private static final int IBA_COPY_IMPL
private static final int IBA_COPY_FULL
private static final int IBA_COPY_VIEW
private static final int IBA_COPY_PROC
private static final int IBA_COPY_BATCH_PROC
Constructor Detail |
public MultiObjIBAValueDBService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static MultiObjIBAValueDBService newMultiObjIBAValueDBService() throws WTException
WTException
public AttributeContainer updateAttributeContainer(IBAHolder ibaHolder, Object constraintParam, Locale locale, MeasurementSystemDefaultView measurementSystem) throws IBAContainerException, WTException
updateAttributeContainer
in interface IBAValueDBServiceInterface
ibaHolder
- constraintParam
- locale
- measurementSystem
-
IBAContainerException
WTException
public void deleteAttributeContainer(IBAHolder ibaHolder, Object constraintParam) throws IBAContainerException, WTException, NotAuthorizedException
deleteAttributeContainer
in interface IBAValueDBServiceInterface
ibaHolder
- constraintParam
-
IBAContainerException
WTException
NotAuthorizedException
public AttributeContainer refreshAttributeContainer(IBAHolder ibaHolder, Object constraintParam, Locale locale, MeasurementSystemDefaultView measurementSystem) throws WTException
refreshAttributeContainer
in interface IBAValueDBServiceInterface
ibaHolder
- constraintParam
- locale
- measurementSystem
-
WTException
public IBAHolder[] refreshAttributeContainer(IBAHolder[] ibaHolders) throws WTException
refreshAttributeContainer
in interface IBAValueDBServiceInterface
ibaHolders
-
WTException
public WTCollection refreshAttributeContainer(WTCollection ibaHolders) throws WTException
refreshAttributeContainer
in interface IBAValueDBServiceInterface
ibaHolders
-
WTException
public AttributeContainer refreshAttributeContainerWithoutConstraints(IBAHolder ibaHolder) throws WTException
refreshAttributeContainerWithoutConstraints
in interface IBAValueDBServiceInterface
ibaHolder
-
WTException
public IBAHolder[] refreshAttributeContainerWithoutConstraints(IBAHolder[] ibaHolders) throws WTException
refreshAttributeContainerWithoutConstraints
in interface IBAValueDBServiceInterface
ibaHolders
-
WTException
public WTCollection refreshAttributeContainerWithoutConstraints(WTCollection ibaHolders) throws WTException
refreshAttributeContainerWithoutConstraints
in interface IBAValueDBServiceInterface
ibaHolders
-
WTException
public AttributeContainer refreshAttributeConstraint(IBAHolder ibaHolder, Object constraintParam, Locale locale) throws WTException
refreshAttributeConstraint
in interface IBAValueDBServiceInterface
ibaHolder
- constraintParam
- locale
-
WTException
public void updateIBAReferenceableReferenceID(IBAReferenceable ibaReferenceable) throws WTException
updateIBAReferenceableReferenceID
in interface IBAValueDBServiceInterface
ibaReferenceable
-
WTException
public void copyAttributes(WTValuedMap ibaHoldersMap, boolean replace) throws WTException, RemoteException
copyAttributes
in interface IBAValueDBServiceInterface
ibaHoldersMap
- Map containing target IBAHolder keys and associated IBAHolder source values.replace
-
WTException
RemoteException
private void updateValueDefinitionReference(AbstractAttributeDefinition definition) throws WTException
WTException
protected void validateMasteredDelete(WTCollection target) throws WTException
WTException
private void deleteAllIBAsForIBAHolders(long[] ibaholderIDs) throws WTException
WTException
private void deleteAllIBAsForIBAReferenceables(long[] ibaholderRefIDs) throws WTException
WTException
private void deleteAllIBAsForIDs(long[] ids) throws WTException
WTException
private QueryResult getIBAValues(Class ibaValueClass, long[] ids) throws WTException
WTException
protected void validateModifiable(long[] ibaholderRefIDs) throws WTException
WTException
public WTCollection updateAttributeContainer(WTCollection ibaHolders) throws IBAContainerException, WTException
IBAContainerException
WTException
private void addToValueIBAHolderMap(HashMap valueToIBAHolderMap, AbstractValueView avv, IBAHolder iba) throws IBAContainerException
IBAContainerException
private HashMap getRefreshMap(WTHashSet refreshSet, HashMap valueToIBAHolderMap) throws IBAContainerException, WTException
IBAContainerException
WTException
private HashMap getReferenceableMap(WTHashSet IBAReferenceableSet) throws WTException
WTException
private HashMap getDefinitionClassMap(WTHashSet definitionSet) throws WTException
WTException
private HashMap getReferenceAttributeValueMap(ArrayList newReferenceList, WTArrayList newReferenceListHeavy, HashMap valueToIBAHolderMap, HashMap definitionMap, HashMap IBAReferenceableMap) throws WTException
WTException
private WTCollection getContextualAttributeValues(ArrayList newContextualList, HashMap valueToIBAHolderMap, HashMap referenceMap, HashMap newReferenceMap) throws WTException
WTException
private WTCollection getAttributeValuesToUpdate(ArrayList updateList, HashMap valueToIBAHolderMap, HashMap refreshMap, HashMap definitionMap, HashMap referenceMap, HashMap newReferenceMap, HashMap IBAReferenceableMap) throws WTException
WTException
private void copyAllIBAs(WTCollection a_targetIBAholders) throws WTException
WTException
private void copyAllIBAs(WTValuedMap ibaHoldersSrcTargetMap, boolean replace) throws WTException
WTException
private void copyAllIBAs(WTValuedMap ibaHoldersSrcTargetMap) throws WTException
WTException
private void copyAllIBAs(String a_name, StatementParameterFactory a_factory, StatementParameter a_returnValue, IdOidObjectList a_copyList) throws WTException
WTException
private void copyAllIBAs(WTValuedMap ibaHoldersSrcTargetMap, Map replacements) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private void copyAllIBAsValueView(WTValuedMap ibaHoldersSrcTargetMap, Map replacements) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private WTArrayList getCopyValues(long[] srcIBAholderRefIDs, Map srcTargetMap, WTKeyedMap srcTargetRefMap, WTKeyedMap replacementMap) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private String avvToString(AbstractValueView value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |