Package org.olat.properties

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


   * @param courseRepoEntryKey
   * @return int number of deleted efficiency statements
   */
  public void deleteEfficiencyStatementsFromCourse(Long courseRepoEntryKey) {
    PropertyManager pm = PropertyManager.getInstance();
    pm.deleteProperties(null, null, null, PROPERTY_CATEGORY, getPropertyName(courseRepoEntryKey));
  }

  /**
   * Delete the given efficiency statement for this person
   * @param identity
View Full Code Here


   * @param efficiencyStatement
   */
  protected void deleteEfficiencyStatement(Identity identity, EfficiencyStatement efficiencyStatement) {
    PropertyManager pm = PropertyManager.getInstance();
    String crourseRepoEntryKey = getPropertyName(efficiencyStatement.getCourseRepoEntryKey());
    pm.deleteProperties(identity, null, null, PROPERTY_CATEGORY, crourseRepoEntryKey);
  }
 
 
  /**
   * Internal helper: convert the course repository entry key to a value that is used
View Full Code Here

   * Remove all disclaimer confirmations. This means that every user on the
   * system must accept the disclaimer again.
   */
  public void revokeAllconfirmedDisclaimers() {
    PropertyManager propertyMgr = PropertyManager.getInstance();
    propertyMgr.deleteProperties(null, null, null, "user", "dislaimer_accepted");   
  }

  /**
   * Remove the disclaimer confirmation for the specified identity. This means
   * that this user must accept the disclaimer again.
View Full Code Here

   *
   * @param identity
   */
  public void revokeConfirmedDisclaimer(Identity identity) {
    PropertyManager propertyMgr = PropertyManager.getInstance();
    propertyMgr.deleteProperties(identity, null, null, "user", "dislaimer_accepted");   
  }
 
  /**
   * Get a list of all users that did already confirm the disclaimer
   * @return
 
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.