Ignore:
Timestamp:
Sep 25, 2012, 7:59:21 PM (12 years ago)
Author:
casties
Branch:
default
Message:

UI for editing groups and persons works now. (still no authorisation!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/Person.java

    r15 r32  
    33 */
    44package de.mpiwg.itgroup.annotations;
     5
     6import de.mpiwg.itgroup.annotations.restlet.BaseRestlet;
    57
    68/**
     
    5557        return null;
    5658    }
     59
     60    /**
     61     * Sets the name from the id using getFullNameFromLdap of the Application.
     62     * 
     63     * @param application
     64     * @return
     65     */
     66    public String updateName(BaseRestlet application) {
     67        if (id != null) {
     68            name = application.getFullNameFromLdap(id);
     69        }
     70        return name;
     71    }
    5772}
Note: See TracChangeset for help on using the changeset viewer.