Package com.centraview.preference

Examples of com.centraview.preference.PreferenceVO


    DynaActionForm mailForm = (DynaActionForm)form;
   
    try {
      Integer newValue = (Integer)mailForm.get("mailCheckInterval");
      if (newValue != null) {
        PreferenceVO prefVO = new PreferenceVO();
       
        prefVO.setModuleId(2);
        prefVO.setPreferenceName("emailCheckInterval");
        prefVO.setPreferenceValue(newValue.toString());
       
        Vector prefsVector = new Vector();
        prefsVector.addElement(prefVO);
       
        PreferenceHome prefHome = (PreferenceHome)CVUtility.getHomeObject("com.centraview.preference.PreferenceHome", "Preference");
View Full Code Here


      cvdl.setSqlQueryToNull();
      cvdl.setSql("authorization.insertdefaultlistpermission");
      cvdl.setInt(1, userTargetIndividualId);
      cvdl.executeUpdate();
      // Add the folder preference
      PreferenceVO preferenceVO = new PreferenceVO();
      preferenceVO.setPreferenceName("DEFAULTFOLDERID");
      preferenceVO.setPreferenceValue(String.valueOf(folderID));
      Vector preferenceVector = new Vector();
      preferenceVector.addElement(preferenceVO);
      InitialContext ic = CVUtility.getInitialContext();
      PreferenceLocalHome home = (PreferenceLocalHome) ic.lookup("local/Preference");
      PreferenceLocal localPreference = home.create();
View Full Code Here

TOP

Related Classes of com.centraview.preference.PreferenceVO

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.