com.irisel.oms.blapi.helpers
Class OMSActionHelper
java.lang.Object
com.irisel.oms.blapi.helpers.OMSActionHelper
public class OMSActionHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OMSActionHelper
public OMSActionHelper(CLBrowser clbrowser)
getActionId
public long getActionId(java.lang.String actionName)
throws QueryTreeException
- Throws:
QueryTreeException
newActionItem
public Instance newActionItem(java.lang.String actionName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getActionItemArguments
public InstanceSet getActionItemArguments(long actionItemId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPending
public InstanceSet getPending()
throws QueryTreeException
- Throws:
QueryTreeException
getActionById
public Instance getActionById(long actionid)
throws java.rmi.RemoteException,
java.sql.SQLException
- Throws:
java.rmi.RemoteException
java.sql.SQLException
insertActionItem
public void insertActionItem(Instance actionItem,
SvcContext sc,
Instance focus)
throws java.rmi.RemoteException,
java.sql.SQLException,
DataException
- Throws:
java.rmi.RemoteException
java.sql.SQLException
DataException
insertOrUpdateActionItem
public void insertOrUpdateActionItem(Instance ai,
SvcContext sc,
Instance focus)
throws QueryTreeException,
java.rmi.RemoteException,
DataException,
java.sql.SQLException
- Query for an action item for a focus. If not found, will create a new action item
- Parameters:
ai
- is the action item instance to be created or updatedsc
- is the service context that is used to record the action item argumentsfocus
- is the data instance related to this action item (such a case, order, contact)
- Throws:
QueryTreeException
java.rmi.RemoteException
DataException
java.sql.SQLException