示例#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 execDrawerOpened(Object[] drawer) throws BasicException {
   m_draweropened.exec(drawer);
 }
示例#3
0
 public final void execInsertCash(Object[] cash) throws BasicException {
   m_insertcash.exec(cash);
 }
示例#4
0
 public final void execChangePassword(Object[] userdata) throws BasicException {
   m_changepassword.exec(userdata);
 }
示例#5
0
 public final void execDummy() throws BasicException {
   m_dummy.exec();
 }