public final String findRolePermissions(String sRole) { try { return Formats.BYTEA.formatValue(m_rolepermissions.find(sRole)); } catch (BasicException e) { return null; } }
private int getMaxSortOrder() { try { Object result = m_sentmaxsortorder.find(); if (result != null) return (int) result; } catch (BasicException e) { } return 0; }
// private final byte[] getResource(String name) { private byte[] getResource(String name) { byte[] resource; resource = resourcescache.get(name); if (resource == null) { // Primero trato de obtenerlo de la tabla de recursos try { resource = (byte[]) m_resourcebytes.find(name); resourcescache.put(name, resource); } catch (BasicException e) { resource = null; } } return resource; }
public final String findLocationName(String iLocation) throws BasicException { return (String) m_locationfind.find(iLocation); }
public final Object[] findActiveCash(String sActiveCashIndex) throws BasicException { return (Object[]) m_activecash.find(sActiveCashIndex); }
public final int getSequenceCash(String host) throws BasicException { Integer i = (Integer) m_sequencecash.find(host); return (i == null) ? 1 : i.intValue(); }
public final AppUser findPeopleByCard(String card) throws BasicException { return (AppUser) m_peoplebycard.find(card); }
public final String findVersion() throws BasicException { return (String) m_version.find(AppLocal.APP_ID); }