wt.iba.value.service
Class IBAValueServiceFwd

java.lang.Object
  extended bywt.iba.value.service.IBAValueServiceFwd
All Implemented Interfaces:
IBAValueService, RemoteAccess, Serializable

public class IBAValueServiceFwd
extends Object
implements RemoteAccess, IBAValueService, Serializable

Provides operations to update, save, refresh, and delete attribute container. Modifications on values are first localized to within the container. Changes to the container will only be permanent after making operations on this service.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
IBAValueServiceFwd()
           
 
Method Summary
 void copyAttributes(WTKeyedMap ibaHoldersMap, boolean replace)
          Deprecated. Use copyAttributes(WTValuedMap)
 void copyAttributes(WTValuedMap ibaHoldersMap, boolean replace)
          Copy all soft attributes from source IBAHolder to the Target IBAHoler.
 IBAHolder createIBAHolder(IBAHolder ibaHolder, Object constraintParam)
          Deletes this IBAHolder business object and its associated IBA attributes.
 void deleteIBAHolder(IBAHolder ibaHolder, Object constraintParam)
          Deletes this IBAHolder business object and its associated IBA attributes.
private static Manager getManager()
           
 IBAHolder refreshAttributeConstraint(IBAHolder ibaHolder, Object constraintParam, Locale locale)
          Refreshes the IBA attribute container only, not the IBAHolder business objec

Supported API: false
 IBAHolder[] refreshAttributeContainer(IBAHolder[] ibaHolders)
          Refreshes the IBA attribute container only, not the IBAHolder business object.
 IBAHolder refreshAttributeContainer(IBAHolder ibaHolder, Object constraintParam, Locale locale, MeasurementSystemDefaultView measurementSystem)
          Refreshes the IBA attribute container only, not the IBAHolder business object.
 WTCollection refreshAttributeContainer(WTCollection ibaHolders)
          Refreshes the IBA attribute container only, not the IBAHolder business object.
 IBAHolder refreshAttributeContainerWithoutConstraints(IBAHolder ibaHolder)
          Refreshes the IBA attribute container only, not the IBAHolder business object.
 IBAHolder[] refreshAttributeContainerWithoutConstraints(IBAHolder[] ibaHolders)
          Refreshes the IBA attribute container only, not the IBAHolder business object.
 WTCollection refreshAttributeContainerWithoutConstraints(WTCollection ibaHolders)
          Refreshes the IBA attribute container only, not the IBAHolder business object.
 IBAHolder refreshIBAHolder(IBAHolder ibaHolder, Object constraintParam, Locale locale, MeasurementSystemDefaultView measurementSystem)
          Refresh both the IBAHolder business object and its associated IBA attributes.
 IBAHolder updateIBAHolder(IBAHolder ibaHolder, Object constraintParam, Locale locale, MeasurementSystemDefaultView measurementSystem)
          UpdateIBAHolder does the followings on container: Value -- Checks for changes.
 void updateIBAReferenceableReferenceID(IBAReferenceable ibaReferenceable)
          Refreshes the IBA attribute container only, not the IBAHolder business object

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

IBAValueServiceFwd

public IBAValueServiceFwd()
Method Detail

getManager

private static Manager getManager()
                           throws WTException
Returns:
Manager
Throws:
WTException

createIBAHolder

public IBAHolder createIBAHolder(IBAHolder ibaHolder,
                                 Object constraintParam)
                          throws IBAContainerException,
                                 WTException,
                                 RemoteException,
                                 NotAuthorizedException
Deletes this IBAHolder business object and its associated IBA attributes.

Supported API: false

Specified by:
createIBAHolder in interface IBAValueService
Parameters:
ibaHolder -
constraintParam -
Returns:
IBAHolder
Throws:
IBAContainerException
WTException
RemoteException
NotAuthorizedException

updateIBAHolder

public IBAHolder updateIBAHolder(IBAHolder ibaHolder,
                                 Object constraintParam,
                                 Locale locale,
                                 MeasurementSystemDefaultView measurementSystem)
                          throws IBAContainerException,
                                 WTException,
                                 RemoteException
UpdateIBAHolder does the followings on container: Value -- Checks for changes. Updates any changed values. Saves any new values. Throws away any unitialilzed or deleted values. Contraints:

Supported API: false

Specified by:
updateIBAHolder in interface IBAValueService
Parameters:
ibaHolder -
constraintParam -
locale -
measurementSystem -
Returns:
IBAHolder
Throws:
IBAContainerException
WTException
RemoteException

deleteIBAHolder

public void deleteIBAHolder(IBAHolder ibaHolder,
                            Object constraintParam)
                     throws IBAContainerException,
                            WTException,
                            RemoteException,
                            NotAuthorizedException
Deletes this IBAHolder business object and its associated IBA attributes.

Supported API: false

Specified by:
deleteIBAHolder in interface IBAValueService
Parameters:
ibaHolder -
constraintParam -
Throws:
IBAContainerException
WTException
RemoteException
NotAuthorizedException

refreshIBAHolder

public IBAHolder refreshIBAHolder(IBAHolder ibaHolder,
                                  Object constraintParam,
                                  Locale locale,
                                  MeasurementSystemDefaultView measurementSystem)
                           throws WTException,
                                  RemoteException
Refresh both the IBAHolder business object and its associated IBA attributes.

Supported API: false

Specified by:
refreshIBAHolder in interface IBAValueService
Parameters:
ibaHolder -
constraintParam -
locale -
measurementSystem -
Returns:
IBAHolder
Throws:
WTException
RemoteException

refreshAttributeContainer

public IBAHolder refreshAttributeContainer(IBAHolder ibaHolder,
                                           Object constraintParam,
                                           Locale locale,
                                           MeasurementSystemDefaultView measurementSystem)
                                    throws WTException,
                                           RemoteException
Refreshes the IBA attribute container only, not the IBAHolder business object.

Supported API: false

Specified by:
refreshAttributeContainer in interface IBAValueService
Parameters:
ibaHolder -
constraintParam -
locale -
measurementSystem -
Returns:
IBAHolder
Throws:
WTException
RemoteException

refreshAttributeContainer

public IBAHolder[] refreshAttributeContainer(IBAHolder[] ibaHolders)
                                      throws WTException,
                                             RemoteException
Refreshes the IBA attribute container only, not the IBAHolder business object.

Supported API: false

Specified by:
refreshAttributeContainer in interface IBAValueService
Parameters:
ibaHolders -
Returns:
IBAHolder[]
Throws:
WTException
RemoteException

refreshAttributeContainer

public WTCollection refreshAttributeContainer(WTCollection ibaHolders)
                                       throws WTException,
                                              RemoteException
Refreshes the IBA attribute container only, not the IBAHolder business object.

Supported API: false

Specified by:
refreshAttributeContainer in interface IBAValueService
Parameters:
ibaHolders -
Returns:
WTCollection
Throws:
WTException
RemoteException

refreshAttributeContainerWithoutConstraints

public IBAHolder refreshAttributeContainerWithoutConstraints(IBAHolder ibaHolder)
                                                      throws WTException,
                                                             RemoteException
Refreshes the IBA attribute container only, not the IBAHolder business object.

Supported API: false

Specified by:
refreshAttributeContainerWithoutConstraints in interface IBAValueService
Parameters:
ibaHolder -
Returns:
IBAHolder
Throws:
WTException
RemoteException

refreshAttributeContainerWithoutConstraints

public IBAHolder[] refreshAttributeContainerWithoutConstraints(IBAHolder[] ibaHolders)
                                                        throws WTException,
                                                               RemoteException
Refreshes the IBA attribute container only, not the IBAHolder business object.

Supported API: false

Specified by:
refreshAttributeContainerWithoutConstraints in interface IBAValueService
Parameters:
ibaHolders -
Returns:
IBAHolder[]
Throws:
WTException
RemoteException

refreshAttributeContainerWithoutConstraints

public WTCollection refreshAttributeContainerWithoutConstraints(WTCollection ibaHolders)
                                                         throws WTException,
                                                                RemoteException
Refreshes the IBA attribute container only, not the IBAHolder business object.

Supported API: false

Specified by:
refreshAttributeContainerWithoutConstraints in interface IBAValueService
Parameters:
ibaHolders -
Returns:
WTCollection
Throws:
WTException
RemoteException

refreshAttributeConstraint

public IBAHolder refreshAttributeConstraint(IBAHolder ibaHolder,
                                            Object constraintParam,
                                            Locale locale)
                                     throws WTException,
                                            RemoteException
Refreshes the IBA attribute container only, not the IBAHolder business objec

Supported API: false

Specified by:
refreshAttributeConstraint in interface IBAValueService
Parameters:
ibaHolder -
constraintParam -
locale -
Returns:
IBAHolder
Throws:
WTException
RemoteException

updateIBAReferenceableReferenceID

public void updateIBAReferenceableReferenceID(IBAReferenceable ibaReferenceable)
                                       throws WTException,
                                              RemoteException
Refreshes the IBA attribute container only, not the IBAHolder business object

Supported API: false

Specified by:
updateIBAReferenceableReferenceID in interface IBAValueService
Parameters:
ibaReferenceable -
Throws:
WTException
RemoteException

copyAttributes

public void copyAttributes(WTKeyedMap ibaHoldersMap,
                           boolean replace)
                    throws WTException,
                           RemoteException
Deprecated. Use copyAttributes(WTValuedMap)

Copy all soft attributes from source IBAHolder to the Target IBAHoler. If 'replace' is true then deletes any IBAs that the target may have before the copy is performed. The Map contains target IBAHolder as map Key and source IBAHolder as map value.

Supported API: false

Specified by:
copyAttributes in interface IBAValueService
Parameters:
ibaHoldersMap -
replace -
Throws:
WTException
RemoteException

copyAttributes

public void copyAttributes(WTValuedMap ibaHoldersMap,
                           boolean replace)
                    throws WTException,
                           RemoteException
Copy all soft attributes from source IBAHolder to the Target IBAHoler. If 'replace' is true then deletes any IBAs that the target may have before the copy is performed. The Map contains target IBAHolder as map Key and source IBAHolder as map value.

Supported API: false

Specified by:
copyAttributes in interface IBAValueService
Parameters:
ibaHoldersMap - Map containing target IBAHolder keys and associated IBAHolder source values.
replace -
Throws:
WTException
RemoteException