org.tolven.app.el
Class ELFunctions

java.lang.Object
  extended by org.tolven.app.el.ELFunctions

public class ELFunctions
extends java.lang.Object


Field Summary
static java.lang.String MENUDATA_ID
           
 
Constructor Summary
ELFunctions()
           
 
Method Summary
static java.lang.String computeIDRoot(Account account)
           
static DataType decode(java.lang.String encoded)
           
static java.lang.String encode(DataType dataType)
           
static Provider findProvider(java.lang.Long id)
           
static ProviderLocal getProviderBean()
           
static java.lang.String internalId(Account account, SETIISlot idSlot)
          Find the appropriate internal id for the given account
static java.lang.String TS(java.util.Date date)
          Return a proper TS given a Java date object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MENUDATA_ID

public static final java.lang.String MENUDATA_ID
See Also:
Constant Field Values
Constructor Detail

ELFunctions

public ELFunctions()
Method Detail

computeIDRoot

public static java.lang.String computeIDRoot(Account account)

getProviderBean

public static ProviderLocal getProviderBean()
                                     throws javax.naming.NamingException
Throws:
javax.naming.NamingException

internalId

public static java.lang.String internalId(Account account,
                                          SETIISlot idSlot)
Find the appropriate internal id for the given account

Parameters:
account -
idSlot - A Slot containing a set of IIs
Returns:
A String containing the path, eg echr:patient-123

TS

public static java.lang.String TS(java.util.Date date)
Return a proper TS given a Java date object

Parameters:
date -
Returns:
TS object

findProvider

public static Provider findProvider(java.lang.Long id)
                             throws javax.naming.NamingException
Throws:
javax.naming.NamingException

encode

public static java.lang.String encode(DataType dataType)

decode

public static DataType decode(java.lang.String encoded)