private long getProgID ( final String _typeName ) throws EFapsException { long id = 0 ; final QueryBuilder queryBldr = new QueryBuilder ( CIAdminProgram . Java ) ; queryBldr . addWhereAttrEqValue ( CIAdminProgram . Java . Name , this . program ) ; final InstanceQuery query = queryBldr . getQuery ( ) ; query . executeWithoutAccessCheck ( ) ; if ( query . next ( ) ) { id = query . getCurrentValue ( ) . getId ( ) ; } else { Event . LOG . error ( "type[" + _typeName + "]." + "Program [" + this . program + "]: " + "' not found" ) ; } return id ; }
Get the id of the program .