|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.units.service.UnitsServiceFwd
Provides Units services. The remote Units client deals with the lightweight
version of all the units objects, not the actual heavyweight version.
This service delegates all requests to the UnitsDBService.
Supported API: false
Extendable: false
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 | |
UnitsServiceFwd()
|
Method Summary | |
MeasurementSystemDefaultView |
createMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
Creates a new Measurement System. |
QuantityOfMeasureDefaultView |
createQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
Creates the QuantityOfMeasure object given its lite version QuantityOfMeasureDefaultView object. |
void |
deleteMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
Deletes this measurement system given its name. |
void |
deleteQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
Deletes the QuantityOfMeasure object given its name. |
private static Manager |
getManager()
|
MeasurementSystemDefaultView |
getMeasurementSystemDefaultView(String name)
Gets a measurement system by its name. |
MeasurementSystemDefaultView[] |
getMeasurementSystemDefaultViews()
Gets all Measurement Systems . |
String[] |
getMeasurementSystemNames()
Gets all the measurement system names in persistence store. |
QuantityOfMeasureDefaultView |
getQuantityOfMeasureDefaultView(String name)
Gets a lightweight QuantityOfMeasure object given its name. |
QuantityOfMeasureDefaultView[] |
getQuantityOfMeasureDefaultViews()
Gets all the quantity of measures from datastore. |
String[] |
getQuantityOfMeasureNames()
Gets all QuantityOfMeasure names. |
MeasurementSystemDefaultView |
refreshMeasurementSystemDefaultView(MeasurementSystemDefaultView measurementSystemDefaultView)
Refresh the current fMeasurementSystemDefaultView by reloading its state from datastore. |
QuantityOfMeasureDefaultView |
refreshQuantityOfMeasureDefaultView(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
Refresh the current QuantityOfMeasureDefaultView by reloading its state from datastore. |
MeasurementSystemDefaultView |
updateMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
Updates a Measurement System by saving the current object to datastore. |
QuantityOfMeasureDefaultView |
updateQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
Update the QuantityOfMeasure by saving its state to datastore. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final boolean SERVER
private static final String FC_RESOURCE
private static final String CLASSNAME
Constructor Detail |
public UnitsServiceFwd()
Method Detail |
private static Manager getManager() throws WTException
WTException
public MeasurementSystemDefaultView createMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView) throws RemoteException, IncompatibleUnitsException, UnitFormatException, NotAuthorizedException, WTException
createMeasurementSystem
in interface UnitsService
measurementSystemDefaultView
-
RemoteException
IncompatibleUnitsException
UnitFormatException
NotAuthorizedException
WTException
public QuantityOfMeasureDefaultView createQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView) throws RemoteException, IncompatibleUnitsException, UnitFormatException, NotAuthorizedException, WTException
createQuantityOfMeasure
in interface UnitsService
quantityOfMeasureDefaultView
-
RemoteException
IncompatibleUnitsException
UnitFormatException
NotAuthorizedException
WTException
public void deleteMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView) throws RemoteException, IncompatibleUnitsException, UnitFormatException, NotAuthorizedException, WTException
deleteMeasurementSystem
in interface UnitsService
measurementSystemDefaultView
-
RemoteException
IncompatibleUnitsException
UnitFormatException
NotAuthorizedException
WTException
public void deleteQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView) throws RemoteException, IncompatibleUnitsException, UnitFormatException, NotAuthorizedException, WTException
deleteQuantityOfMeasure
in interface UnitsService
quantityOfMeasureDefaultView
-
RemoteException
IncompatibleUnitsException
UnitFormatException
NotAuthorizedException
WTException
public String[] getMeasurementSystemNames() throws RemoteException, WTException
getMeasurementSystemNames
in interface UnitsService
RemoteException
WTException
public MeasurementSystemDefaultView getMeasurementSystemDefaultView(String name) throws RemoteException, WTException
getMeasurementSystemDefaultView
in interface UnitsService
name
-
RemoteException
WTException
public MeasurementSystemDefaultView[] getMeasurementSystemDefaultViews() throws RemoteException, WTException
getMeasurementSystemDefaultViews
in interface UnitsService
RemoteException
WTException
public QuantityOfMeasureDefaultView getQuantityOfMeasureDefaultView(String name) throws RemoteException, WTException
getQuantityOfMeasureDefaultView
in interface UnitsService
name
-
RemoteException
WTException
public QuantityOfMeasureDefaultView[] getQuantityOfMeasureDefaultViews() throws RemoteException, WTException
getQuantityOfMeasureDefaultViews
in interface UnitsService
RemoteException
WTException
public String[] getQuantityOfMeasureNames() throws RemoteException, WTException
getQuantityOfMeasureNames
in interface UnitsService
RemoteException
WTException
public MeasurementSystemDefaultView refreshMeasurementSystemDefaultView(MeasurementSystemDefaultView measurementSystemDefaultView) throws RemoteException, WTException
refreshMeasurementSystemDefaultView
in interface UnitsService
measurementSystemDefaultView
-
RemoteException
WTException
public QuantityOfMeasureDefaultView refreshQuantityOfMeasureDefaultView(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView) throws RemoteException, WTException
refreshQuantityOfMeasureDefaultView
in interface UnitsService
quantityOfMeasureDefaultView
-
RemoteException
WTException
public MeasurementSystemDefaultView updateMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView) throws RemoteException, IncompatibleUnitsException, UnitFormatException, NotAuthorizedException, WTException
updateMeasurementSystem
in interface UnitsService
measurementSystemDefaultView
-
RemoteException
IncompatibleUnitsException
UnitFormatException
NotAuthorizedException
WTException
public QuantityOfMeasureDefaultView updateQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView) throws RemoteException, IncompatibleUnitsException, UnitFormatException, NotAuthorizedException, WTException
updateQuantityOfMeasure
in interface UnitsService
quantityOfMeasureDefaultView
-
RemoteException
IncompatibleUnitsException
UnitFormatException
NotAuthorizedException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |