|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.units.service.StandardUnitsService
Implements IBAMeasurementSystemQueryService
Use the newStandardUnitsService
static factory method(s),
not the StandardUnitsService
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
Field Summary | |
private static String |
CLASSNAME
|
private int |
hashtableSize
|
private static String |
RESOURCE
|
private Unit |
theUnit
|
private UnitDBService |
theUnitDBService
|
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 | |
StandardUnitsService()
|
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. |
String |
getConceptualClassname()
Deprecated. |
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. |
static StandardUnitsService |
newStandardUnitsService()
Default factory for the class. |
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, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private final Unit theUnit
private final UnitDBService theUnitDBService
private final int hashtableSize
Constructor Detail |
public StandardUnitsService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardUnitsService newStandardUnitsService() 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 |