public class PCCUtilBeanImpl extends Object
PortalOp.CUST_FIND
Constructor and Description |
---|
PCCUtilBeanImpl() |
Modifier and Type | Method and Description |
---|---|
PModelHandle |
appendModelHandle(PModelHandle mhExisting,
PModelHandle mhAdd) |
PModelHandle |
getAccount(String accNum)
Obtain the account poid using PCM_OP_CUST_FIND, given the account number
|
PModelHandle |
getBill(String billNum)
Retrieve the bill poid, given the bill number
|
PModelHandle[] |
getBillInfo(PModelHandle model) |
PModelHandle |
getObject(PModelHandle poidHandle,
boolean asPinFldResults)
Retrieves an object, given the object poid by using the READ_OBJ opcode.
|
ArrayList |
getRecords(PModelHandle mh,
Object[] fields)
Extracts the fields inside an FList specified by the pmodel handle and
stores each record of data (set of fields) in a vector, and each
vector in an array list that is finally returned.
|
PModelHandle |
getWholeObject(PModelHandle poidHandle,
boolean asPinFldResults)
Retrieve an entire object, given the object poid.
|
public PModelHandle getAccount(String accNum) throws PInfranetException
accNum
- account numberPInfranetException
public PModelHandle getBill(String billNum) throws PInfranetException
billNum
- bill numberPInfranetException
public PModelHandle getObject(PModelHandle poidHandle, boolean asPinFldResults) throws PInfranetException
poidHandle
- PModelHandle for the poidisPinFldResults
- true
if return type is as the pmodel handle of PinFldResults
enclosing the opcode output
false
if return type as the pmodel handle of opcode output.PInfranetException
public PModelHandle getWholeObject(PModelHandle poidHandle, boolean asPinFldResults) throws PInfranetException
poidHandle
- PModelHandle for the poidasPinFldResults
- true
if return type is as the
pmodel handle of PinFldResults, false
if return type
as the pmodel handle of opcode output.PInfranetException
public ArrayList getRecords(PModelHandle mh, Object[] fields)
mh
- model handlefields
- interested fields for display in the tablepublic PModelHandle[] getBillInfo(PModelHandle model) throws RemoteException
RemoteException
public PModelHandle appendModelHandle(PModelHandle mhExisting, PModelHandle mhAdd) throws RemoteException
RemoteException
Copyright © 2003, 2023, Oracle and/or its affiliates.