Package open.dolphin.dto

Examples of open.dolphin.dto.MasterSearchSpec


    public Object[] getAdminClass() {
     
      Collection ret = null;

        try {
            MasterSearchSpec spec = new MasterSearchSpec();
            spec.setCode(MasterSearchSpec.ADMIN_CLASS);
            spec.setFrom("0");
            ret = getService().getMaster(spec);

        } catch (NamingException e) {
          e.printStackTrace();
          processError(e);
View Full Code Here


    public List<AdminValue> getAdministration(String h1) {
     
      List<AdminValue> collection = new ArrayList<AdminValue>();
       
        try {
            MasterSearchSpec spec = new MasterSearchSpec();
            spec.setCode(MasterSearchSpec.ADMINISTRATION);
            spec.setHierarchyCode1(h1 + "%");
            Collection result = getService().getMaster(spec);
           
            for (Iterator iter = result.iterator(); iter.hasNext(); ) {
              collection.add((AdminValue)iter.next());
            }
View Full Code Here

    public Object[] getAdminComment() {

      ArrayList<String> list = null;
     
        try {
            MasterSearchSpec spec = new MasterSearchSpec();
            spec.setCode(MasterSearchSpec.ADMIN_COMENT);
            Collection result = getService().getMaster(spec);
            Iterator iter = result.iterator();
            AdminComentValue value = null;
            list = new ArrayList<String>();
           
View Full Code Here

    public Object[] getRadiologyMethod() {                 //This was orginal

        Collection collection = null;

        try {
            MasterSearchSpec spec = new MasterSearchSpec();
            spec.setCode(MasterSearchSpec.RADIOLOGY_METHOD);
            spec.setFrom("0");
            collection  = getService().getMaster(spec);
           
        } catch (NamingException e) {
          e.printStackTrace();
          processError(e);
View Full Code Here

    public List<RadiologyMethodValue> getRadiologyComments(String h1) {

        List<RadiologyMethodValue> collection = null;

        try {
            MasterSearchSpec spec = new MasterSearchSpec();
            spec.setCode(MasterSearchSpec.RADIOLOGY_COMENT);
            spec.setHierarchyCode1(h1+ "%");
            Collection result = getService().getMaster(spec);
            collection = new ArrayList<RadiologyMethodValue>();

            for (Iterator iter = result.iterator(); iter.hasNext(); ) {
              RadiologyMethodValue value = (RadiologyMethodValue)iter.next();
View Full Code Here

TOP

Related Classes of open.dolphin.dto.MasterSearchSpec

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.