Ignore:
Timestamp:
Jul 12, 2012, 3:01:32 PM (12 years ago)
Author:
casties
Branch:
default
Message:

more work on permissions...

File:
1 edited

Legend:

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

    r9 r10  
    5757    protected String created;
    5858
    59     protected String adminPermission;
     59    /**
     60     * The user or group that has admin permissions.
     61     * null means any user.
     62     */
     63    protected Actor adminPermission;
     64   
     65    /**
     66     * The user or group that has delete permissions.
     67     * null means any user.
     68     */
     69    protected Actor deletePermission;
     70   
     71    /**
     72     * The user or group that has update permissions.
     73     * null means any user.
     74     */
     75    protected Actor updatePermission;
     76   
     77    /**
     78     * The user or group that has read permissions.
     79     * null means any user.
     80     */
     81    protected Actor readPermission;
    6082   
    6183    /**
     
    190212        this.created = created;
    191213    }
     214
     215    /**
     216     * @return the adminPermission
     217     */
     218    public Actor getAdminPermission() {
     219        return adminPermission;
     220    }
     221
     222    /**
     223     * @param adminPermission the adminPermission to set
     224     */
     225    public void setAdminPermission(Actor adminPermission) {
     226        this.adminPermission = adminPermission;
     227    }
     228
     229    /**
     230     * @return the deletePermission
     231     */
     232    public Actor getDeletePermission() {
     233        return deletePermission;
     234    }
     235
     236    /**
     237     * @param deletePermission the deletePermission to set
     238     */
     239    public void setDeletePermission(Actor deletePermission) {
     240        this.deletePermission = deletePermission;
     241    }
     242
     243    /**
     244     * @return the updatePermission
     245     */
     246    public Actor getUpdatePermission() {
     247        return updatePermission;
     248    }
     249
     250    /**
     251     * @param updatePermission the updatePermission to set
     252     */
     253    public void setUpdatePermission(Actor updatePermission) {
     254        this.updatePermission = updatePermission;
     255    }
     256
     257    /**
     258     * @return the readPermission
     259     */
     260    public Actor getReadPermission() {
     261        return readPermission;
     262    }
     263
     264    /**
     265     * @param readPermission the readPermission to set
     266     */
     267    public void setReadPermission(Actor readPermission) {
     268        this.readPermission = readPermission;
     269    }
    192270   
    193271   
Note: See TracChangeset for help on using the changeset viewer.