org.kuali.hr.time.roles.service
Interface TkRoleGroupService

All Known Implementing Classes:
TkRoleGroupServiceImpl

public interface TkRoleGroupService


Method Summary
 TkRoleGroup getRoleGroup(String principalId)
          Fetches Role by principal id
 List<TkRoleGroup> getRoleGroups(String principalId, String principalName, String workArea, String dept, String roleName)
           
 void populateRoles(TkRoleGroup tkRoleGroup)
           
 void saveOrUpdate(List<TkRoleGroup> roleGroups)
          Save or Update a List of TkRole objects
 void saveOrUpdate(TkRoleGroup roleGroup)
           
 

Method Detail

saveOrUpdate

@CacheEvict(value={"KPME/TkRole","KPME/TkRoleGroup"},
            allEntries=true)
void saveOrUpdate(TkRoleGroup roleGroup)

saveOrUpdate

@CacheEvict(value={"KPME/TkRole","KPME/TkRoleGroup"},
            allEntries=true)
void saveOrUpdate(List<TkRoleGroup> roleGroups)
Save or Update a List of TkRole objects

Parameters:
roleGroups -

getRoleGroup

@Cacheable(value="KPME/TkRoleGroup",
           key="\'principalId=\' + #p0")
TkRoleGroup getRoleGroup(String principalId)
Fetches Role by principal id


populateRoles

void populateRoles(TkRoleGroup tkRoleGroup)

getRoleGroups

@Cacheable(value="KPME/TkRoleGroup",
           key="\'principalId=\' + #p0+ \'|\' + \'principalName=\' + #p1+ \'|\' + \'workArea=\' + #p2+ \'|\' + \'dept=\' + #p3+ \'|\' + \'roleName=\' + #p4")
List<TkRoleGroup> getRoleGroups(String principalId,
                                          String principalName,
                                          String workArea,
                                          String dept,
                                          String roleName)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.