This action retrieves the value of a single behavior setting from within the ExtraView database.
Class |
Name |
Type |
Required |
Details |
GetAppDefaultRequest |
userId |
String |
Yes |
The callers user name |
GetAppDefaultRequest |
password |
String |
Yes |
The callers password |
GetAppDefaultRequest |
behaviorSettingName |
String |
Yes |
The field name you want the default values of |
Class |
Name |
Type |
Required |
Details |
GetAppDefaultResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
GetAppDefaultResponse |
returnCode |
String |
No |
See Appendix for details |
GetAppDefaultResponse |
returnMessage |
String |
No |
Human readable message |
GetAppDefaultResponse |
field |
Object |
No |
A single Field object |
Field |
id |
String |
Yes |
|
Field |
name |
String |
No |
|
Field |
value |
String |
No |
|
Field |
childOfFieldId |
String |
No |
|
Field |
repeatingRowField |
boolean |
No |
|
Field |
textAreaField |
boolean |
No |
|
Field |
typeOfUserField |
boolean |
No |
|
public static void testGetAppDefault(EVSystemServiceStub stub) {
try {
GetAppDefaultDocument reqEnvelope = GetAppDefaultDocument.Factory.newInstance();
GetAppDefaultRequest request = reqEnvelope.addNewGetAppDefault().addNewParam0();
request.setUserId(ServiceClientHelper.ADMIN_USER_ID);
request.setPassword(ServiceClientHelper.ADMIN_PASSWORD);
request.setAppDefaultName("DEFAULT_TEXT_REPORT_DELIMITER");
GetAppDefaultResponseDocument resEnvelope = stub.getAppDefault(reqEnvelope);
GetAppDefaultResponse response = resEnvelope.getGetAppDefaultResponse().getReturn();
if (response.getSuccess()) {
System.out.println("success: [" + response.getReturnCode() + "] : " +
response.getReturnMessage());
} else {
System.out.println("failure: [" + response.getReturnCode() + "] : " +
response.getReturnMessage());
}
} catch (Exception e) {
e.printStackTrace();
System.err.println("nnn");
}
}