Пример #1
0
  public final void setResource(String name, int type, byte[] data) {

    Object[] value = new Object[] {UUID.randomUUID().toString(), name, new Integer(type), data};
    try {
      if (m_resourcebytesupdate.exec(value) == 0) {
        m_resourcebytesinsert.exec(value);
      }
      resourcescache.put(name, data);
    } catch (BasicException e) {
    }
  }
Пример #2
0
 public final void addOrder(
     String id,
     String orderId,
     Integer qty,
     String details,
     String attributes,
     String notes,
     String ticketId,
     Integer displayId)
     throws BasicException {
   m_addOrder.exec(id, orderId, qty, details, attributes, notes, ticketId, displayId);
 }
Пример #3
0
 public final void execDrawerOpened(Object[] drawer) throws BasicException {
   m_draweropened.exec(drawer);
 }
Пример #4
0
 public final void execInsertCash(Object[] cash) throws BasicException {
   m_insertcash.exec(cash);
 }
Пример #5
0
 public final void execChangePassword(Object[] userdata) throws BasicException {
   m_changepassword.exec(userdata);
 }
Пример #6
0
 public final void execDummy() throws BasicException {
   m_dummy.exec();
 }
Пример #7
0
 /**
  * @param csv
  * @throws BasicException
  */
 public final void execAddCSVEntry(Object[] csv) throws BasicException {
   m_insertCSVEntry.exec(csv);
 }
Пример #8
0
 /** @param line */
 public final void execLineRemoved(Object[] line) {
   try {
     m_lineremoved.exec(line);
   } catch (BasicException e) {
   }
 }
Пример #9
0
 /**
  * @param permissions
  * @throws BasicException
  */
 public final void execUpdatePermissions(Object[] permissions) throws BasicException {
   m_updatepermissions.exec(permissions);
 }