Examples of updateProperty()


Examples of org.olat.properties.PropertyManager.updateProperty()

          p = pm.createUserPropertyInstance(curIdent, null, LATEST_EMAIL_USER_PROP, null, null, null, null);
          p.setLongValue(new Date().getTime());
          pm.saveProperty(p);
        } else {
          p.setLongValue(new Date().getTime());
          pm.updateProperty(p);
        }

        mailLog.append(curIdent.getName()).append(' ')
          .append(items.size()).append(' ')
          .append((System.currentTimeMillis() - start)).append("ms, ");
View Full Code Here

Examples of org.olat.properties.PropertyManager.updateProperty()

    if (property == null) {
      property = pm.createPropertyInstance(null, null, null, PROPERTY_CATEGORY, createPropertyName(clazz, propertyName), null, null, updateValue, null);
      pm.saveProperty(property);
    } else {
      property.setStringValue(updateValue);
      pm.updateProperty(property);
    }
  }

  /**
   * Find the configuration value for the given class and name or create a
View Full Code Here

Examples of org.olat.properties.PropertyManager.updateProperty()

        this.dbProperty = pm.createPropertyInstance(owner, null, null, null, DbStorage.USER_PROPERTY_KEY, null, null, null, props);
        pm.saveProperty(this.dbProperty);
      } else {
        // update exising property
        this.dbProperty.setTextValue(props);
        pm.updateProperty(this.dbProperty);
      }
    }
  }
   
  /**
 
View Full Code Here

Examples of org.olat.properties.PropertyManager.updateProperty()

      for (Property property : props) {
        try{
          String oldVal = property.getTextValue();
          String newVal = migrateStringSavely(oldVal);
          property.setTextValue(newVal);
          pm.updateProperty(property);
          counter++;
          DBFactory.getInstance().intermediateCommit();
        } catch (Exception e) {
          log.error("Error during Migration: "+e, e);
          DBFactory.getInstance().rollback();
View Full Code Here

Examples of org.xmlBlaster.util.dispatch.DispatchManager.updateProperty()

      I_Queue sessionQueue = this.sessionQueue;
      if (sessionQueue != null) sessionQueue.setProperties(cbQueueProperty);
      if (wantsCallbacks && hasCallback()) {
         DispatchManager dispatchManager = this.dispatchManager;
         if (dispatchManager != null) {
            dispatchManager.updateProperty(cbQueueProperty.getCallbackAddresses());
            log.info(ME+": Successfully reconfigured callback address with new settings, other reconfigurations are not yet implemented");
            dispatchManager.notifyAboutNewEntry();
         }
      }
      else if (wantsCallbacks && !hasCallback()) {
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.