public void setLookupCache() // EntityConstansts
      {
    if (lookIdMeaningMap == null) {
      lookIdMeaningMap = new HashMap<String, String>();
    }

    ILookUpService lookUpService = (ILookUpService) ServiceLocator.findService("lookUpService");

    try {

      List<String> types = new ArrayList<String>();
      types.add(CommonConstants.LookUpTypes.MASTER_DATA_STATUS);
      types.add(CommonConstants.LookUpTypes.COMPLIANCE_CLASS_TYPE);
      types.add(CommonConstants.LookUpTypes.MASTER_DATA_IS_REPORTABLE);

      Map<String, List<LookUp>> lookupMap = lookUpService.loadLookupByTypes(types);

      if (lookupMap != null && lookupMap.size() > 0) {
        for (Iterator it = lookupMap.values().iterator(); it.hasNext(); ) {
          List lookList = (List) it.next();
          for (Iterator it2 = lookList.iterator(); it2.hasNext(); ) {
            LookUp lkup = (LookUp) it2.next();
            lookIdMeaningMap.put(lkup.getId().toString(), lkup.getMeaning());
          }
        }
      } //

    } catch (ALNTBaseException e) {
      ALNTLogger.error(
          this.getClass().getName(),
          "Failed to load lookup value for master data status ",
          e.getMessage());
    }
  }
 public List getLookUpByCode(Locale locale, String type, Long code)
     throws ALNTApplicationException, ALNTSystemException {
   List values = null;
   values = lookupService.loadLookupByCodeNType(code.longValue(), type);
   return values;
 }
 public LookUp getLookUpByMeaning(Locale locale, String type, String meaning)
     throws ALNTApplicationException, ALNTSystemException {
   LookUp values = null;
   values = lookupService.getLookupByTypeMeaning(type, meaning);
   return values;
 }
 public List getLookUp(Locale locale, String type)
     throws ALNTApplicationException, ALNTSystemException {
   List values = null;
   values = lookupService.loadLookupByType(type);
   return values;
 }