Package org.olat.properties

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


   
    //set new auth token as the string value of the property
    tokenProperty.setStringValue(authToken);
   
    // update the property
    npm.updateProperty(tokenProperty);
   
    //return the new token
    return authToken;
  }
 
View Full Code Here


    if (property == null) { // create a new one
      Property nP = npm.createPropertyInstance(null, null, PROP_CAT_BG_COLLABTOOLS, KEY_NEWS, null, null, null, news);
      npm.saveProperty(nP);
    } else { // modify the existing one
      property.setTextValue(news);
      npm.updateProperty(property);
    }
  }
 
  public Long lookupCalendarAccess() {
    NarrowedPropertyManager npm = NarrowedPropertyManager.getInstance(ores);
View Full Code Here

    if (property == null) { // create a new one
      Property nP = npm.createPropertyInstance(null, null, PROP_CAT_BG_COLLABTOOLS, KEY_CALENDAR_ACCESS, null, calendarAccess, null, null);
      npm.saveProperty(nP);
    } else { // modify the existing one
      property.setLongValue(calendarAccess);
      npm.updateProperty(property);
    }
  }
 
  public class CollabSecCallback implements VFSSecurityCallback {
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.