161 lines
5.0 KiB
Java
161 lines
5.0 KiB
Java
|
package com.kofax.kmc.klo.logistics.webservice;
|
||
|
|
||
|
import java.util.Hashtable;
|
||
|
import o.C15281gmQ;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class WscIndexFieldsRequest extends WscRequest {
|
||
|
public static final int PROPERTY_COUNT = 5;
|
||
|
private String backendId;
|
||
|
private String dataStoreName;
|
||
|
private String formTypeId;
|
||
|
private String shortcutName;
|
||
|
private int shortcutTypeOrdinal;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public interface FIELD_INDEXES {
|
||
|
public static final int IDX_BACKEND_ID = 0;
|
||
|
public static final int IDX_DATASTORE_NAME = 1;
|
||
|
public static final int IDX_FORM_TYPE_ID = 2;
|
||
|
public static final int IDX_SHORTCUT_NAME = 3;
|
||
|
public static final int IDX_SHORTCUT_TYPE_ORDINAL = 4;
|
||
|
}
|
||
|
|
||
|
private void initialize(WscDestination wscDestination) {
|
||
|
super.initialize();
|
||
|
setBackendId(wscDestination.getBackendId());
|
||
|
setDataStoreName(wscDestination.getDataStoreName());
|
||
|
setFormTypeId(wscDestination.getFormTypeId());
|
||
|
setShortcutName(wscDestination.getShortcutName());
|
||
|
setShortcutTypeOrdinal(wscDestination.getShortcutTypeOrdinal());
|
||
|
}
|
||
|
|
||
|
public static WscIndexFieldsRequest initializeRequest(WscDestination wscDestination, String str, String str2) {
|
||
|
WscIndexFieldsRequest wscIndexFieldsRequest = new WscIndexFieldsRequest();
|
||
|
wscIndexFieldsRequest.setUserName(str);
|
||
|
wscIndexFieldsRequest.setPassword(str2);
|
||
|
wscIndexFieldsRequest.initialize(wscDestination);
|
||
|
return wscIndexFieldsRequest;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.kmc.klo.logistics.webservice.WscRequest, com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ
|
||
|
public int getPropertyCount() {
|
||
|
return super.getPropertyCount() + 5;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.kmc.klo.logistics.webservice.WscRequest, com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ
|
||
|
public Object getProperty(int i) {
|
||
|
if (i >= 5) {
|
||
|
return super.getProperty(i - 5);
|
||
|
}
|
||
|
if (i == 0) {
|
||
|
return getBackendId();
|
||
|
}
|
||
|
if (i == 1) {
|
||
|
return getDataStoreName();
|
||
|
}
|
||
|
if (i == 2) {
|
||
|
return getFormTypeId();
|
||
|
}
|
||
|
if (i == 3) {
|
||
|
return getShortcutName();
|
||
|
}
|
||
|
if (i != 4) {
|
||
|
return null;
|
||
|
}
|
||
|
return Integer.valueOf(getShortcutTypeOrdinal());
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.kmc.klo.logistics.webservice.WscRequest, com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ
|
||
|
public void getPropertyInfo(int i, Hashtable hashtable, C15281gmQ c15281gmQ) {
|
||
|
if (i >= 5) {
|
||
|
super.getPropertyInfo(i - 5, hashtable, c15281gmQ);
|
||
|
} else if (i == 0) {
|
||
|
c15281gmQ.m = "backendId";
|
||
|
c15281gmQ.k = C15281gmQ.j;
|
||
|
} else if (i == 1) {
|
||
|
c15281gmQ.m = "dataStoreName";
|
||
|
c15281gmQ.k = C15281gmQ.j;
|
||
|
} else if (i == 2) {
|
||
|
c15281gmQ.m = "formTypeId";
|
||
|
c15281gmQ.k = C15281gmQ.j;
|
||
|
} else if (i == 3) {
|
||
|
c15281gmQ.m = "shortcutName";
|
||
|
c15281gmQ.k = C15281gmQ.j;
|
||
|
} else if (i == 4) {
|
||
|
c15281gmQ.m = "shortcutTypeOrdinal";
|
||
|
c15281gmQ.k = C15281gmQ.c;
|
||
|
}
|
||
|
c15281gmQ.a(getProperty(i));
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.kmc.klo.logistics.webservice.WscRequest, com.kofax.kmc.klo.logistics.webservice.KofaxWebServiceObjectBase, o.InterfaceC15276gmJ
|
||
|
public void setProperty(int i, Object obj) {
|
||
|
if (i < 5) {
|
||
|
String obj2 = obj != null ? obj.toString() : "";
|
||
|
if (i == 0) {
|
||
|
setBackendId(obj2);
|
||
|
return;
|
||
|
}
|
||
|
if (i == 1) {
|
||
|
setDataStoreName(obj2);
|
||
|
return;
|
||
|
}
|
||
|
if (i == 2) {
|
||
|
setFormTypeId(obj2);
|
||
|
return;
|
||
|
} else if (i == 3) {
|
||
|
setShortcutName(obj2);
|
||
|
return;
|
||
|
} else {
|
||
|
if (i == 4) {
|
||
|
setShortcutTypeOrdinal(getIntFromValue(obj2, 0));
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
super.setProperty(i - 5, obj);
|
||
|
}
|
||
|
|
||
|
public void setShortcutTypeOrdinal(int i) {
|
||
|
this.shortcutTypeOrdinal = i;
|
||
|
}
|
||
|
|
||
|
public void setShortcutName(String str) {
|
||
|
this.shortcutName = str;
|
||
|
}
|
||
|
|
||
|
public void setFormTypeId(String str) {
|
||
|
this.formTypeId = str;
|
||
|
}
|
||
|
|
||
|
public void setDataStoreName(String str) {
|
||
|
this.dataStoreName = str;
|
||
|
}
|
||
|
|
||
|
public void setBackendId(String str) {
|
||
|
this.backendId = str;
|
||
|
}
|
||
|
|
||
|
public int getShortcutTypeOrdinal() {
|
||
|
return this.shortcutTypeOrdinal;
|
||
|
}
|
||
|
|
||
|
public String getShortcutName() {
|
||
|
return this.shortcutName;
|
||
|
}
|
||
|
|
||
|
public String getFormTypeId() {
|
||
|
return this.formTypeId;
|
||
|
}
|
||
|
|
||
|
public String getDataStoreName() {
|
||
|
return this.dataStoreName;
|
||
|
}
|
||
|
|
||
|
public String getBackendId() {
|
||
|
return this.backendId;
|
||
|
}
|
||
|
}
|