Examples of deleteCustomField()


Examples of com.centraview.customfield.CustomField.deleteCustomField()

    CustomFieldHome customFieldHome =(CustomFieldHome)CVUtility.getHomeObject("com.centraview.customfield.CustomFieldHome","CustomField");//call to CustomFieldEJB
    try
    {
      CustomField remote=(CustomField)customFieldHome.create();
      remote.setDataSource(this.dataSource);
      remote.deleteCustomField(indvID,elementID);
    }
    catch(Exception e)
    {
      logger.error("[Exception] CustomFieldList.deleteElement( int indvID, String key ) ", e);
    }
View Full Code Here

Examples of com.centraview.customfield.CustomField.deleteCustomField()

      remote.setDataSource(this.dataSource);
      for (int i=0; i<recordID.length; i++)
      {
        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
          remote.deleteCustomField(individualID,elementID);
        }//end of if(recordID[i] != null && !recordID[i].equals(""))
      }//end of for (int i=0; i<recordID.length; i++)       
    }//end of try block
    catch( CreateException e )
    {
View Full Code Here

Examples of com.centraview.customfield.CustomField.deleteCustomField()

      int individualId = userObject.getIndividualID();
      try {
        CustomFieldHome customfieldHome = (CustomFieldHome)CVUtility.getHomeObject("com.centraview.customfield.CustomFieldHome","CustomField");
        CustomField customField = customfieldHome.create();
        customField.setDataSource(dataSource);
        customField.deleteCustomField(individualId, customFieldId.intValue());
      } catch (Exception e) {
        logger.error("[execute]: Failed trying to delete Custom Field ID: "+customFieldId, e);
        throw new ServletException(e);
      }
      // Figure out what module we are in and adjust the forward appropriately
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.