|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.accpac.ServiceHelper
public final class ServiceHelper
Method Summary | |
---|---|
static java.util.List<ServiceField> |
getServiceFields(com.sage.accpac.sm.view.IView view,
boolean readOnly,
boolean calculated)
Get a list of service fields from a view. |
static void |
setFieldsValue(SDataView view,
SDataResourceElement payload,
boolean verify)
Set the value of the view fields using input payload |
static ServiceField |
viewFieldToServiceField(com.sage.accpac.sm.view.IViewField viewField)
Translate a view field into a service field |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<ServiceField> getServiceFields(com.sage.accpac.sm.view.IView view, boolean readOnly, boolean calculated)
view
- the SDataViewreadOnly
- whether or not to include readOnly fields in the list of service
fieldscalculated
- whether or not to include calculated fields in the list of
service fields
public static void setFieldsValue(SDataView view, SDataResourceElement payload, boolean verify)
view
- the SDataViewpayload
- the input payloadverify
- specifies whether the values should be verified at this stagepublic static ServiceField viewFieldToServiceField(com.sage.accpac.sm.view.IViewField viewField)
viewField
- the view field to be translated
java.lang.NullPointerException
- if the view field to be translated is disabled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |