Ignore:
Timestamp:
08/11/14 16:07:55 (10 years ago)
Author:
olhsha@mpi.nl
Message:

Added group service. Tested via the tomcat on loclahots (test URI and postman), old unit tests are adjusted and work well. Todo: retest on localhost tomcat, look at run-time exceptions, add new unit tests, adjust front-end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/impl/database/GroupService.java

    r4098 r5549  
    11package clarin.cmdi.componentregistry.impl.database;
    22
     3import clarin.cmdi.componentregistry.UserUnauthorizedException;
    34import java.util.List;
    45
     
    9596     * @param componentId
    9697     */
    97     void transferItemOwnershipFromUserToGroup(String principal, String groupId, String componentId);
     98    void transferItemOwnershipFromUserToGroup(String principal, String groupId, String componentId) throws UserUnauthorizedException;
    9899
    99100    /**
     
    103104     * @param componentId
    104105     */
    105     void transferItemOwnershipFromUserToGroupId(String principal, long groupId, String componentId);
     106    void transferItemOwnershipFromUserToGroupId(String principal, long groupId, String componentId) throws UserUnauthorizedException;
    106107
    107108    /**
     
    126127     */
    127128    List<String> getProfileIdsInGroup(long groupId);
    128 
     129   
     130    boolean userGroupMember(String principalName, String groupId);
     131   
    129132}
Note: See TracChangeset for help on using the changeset viewer.