org.kuali.student.kim.mock
Class MockPermissionServiceImpl

java.lang.Object
  extended by org.kuali.student.kim.mock.MockPermissionServiceImpl
All Implemented Interfaces:
org.kuali.rice.kim.service.PermissionService

public class MockPermissionServiceImpl
extends Object
implements org.kuali.rice.kim.service.PermissionService

Author:
nwright

Constructor Summary
MockPermissionServiceImpl()
           
 
Method Summary
 List<org.kuali.rice.kim.bo.role.dto.KimPermissionTemplateInfo> getAllTemplates()
           
 List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getAuthorizedPermissions(String string, String string1, String string2, org.kuali.rice.kim.bo.types.dto.AttributeSet as, org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
           
 List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getAuthorizedPermissionsByTemplateName(String string, String string1, String string2, org.kuali.rice.kim.bo.types.dto.AttributeSet as, org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
           
 org.kuali.rice.kim.bo.role.dto.KimPermissionInfo getPermission(String string)
           
 List<org.kuali.rice.kim.bo.role.dto.PermissionAssigneeInfo> getPermissionAssignees(String string, String string1, org.kuali.rice.kim.bo.types.dto.AttributeSet as, org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
           
 List<org.kuali.rice.kim.bo.role.dto.PermissionAssigneeInfo> getPermissionAssigneesForTemplateName(String string, String string1, org.kuali.rice.kim.bo.types.dto.AttributeSet as, org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
           
 String getPermissionDetailLabel(String string, String string1, String string2)
           
 List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getPermissionsByName(String string, String string1)
           
 List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getPermissionsByNameIncludingInactive(String string, String string1)
           
 List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getPermissionsByTemplateName(String string, String string1)
           
 org.kuali.rice.kim.bo.role.dto.KimPermissionTemplateInfo getPermissionTemplate(String string)
           
 org.kuali.rice.kim.bo.role.dto.KimPermissionTemplateInfo getPermissionTemplateByName(String string, String string1)
           
 List<String> getRoleIdsForPermission(String string, String string1, org.kuali.rice.kim.bo.types.dto.AttributeSet as)
           
 List<String> getRoleIdsForPermissionId(String string)
           
 List<String> getRoleIdsForPermissions(List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> list)
           
 boolean hasPermission(String string, String string1, String string2, org.kuali.rice.kim.bo.types.dto.AttributeSet as)
           
 boolean hasPermissionByTemplateName(String string, String string1, String string2, org.kuali.rice.kim.bo.types.dto.AttributeSet as)
           
 boolean isAuthorized(String string, String string1, String string2, org.kuali.rice.kim.bo.types.dto.AttributeSet as, org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
           
 boolean isAuthorizedByTemplateName(String string, String string1, String string2, org.kuali.rice.kim.bo.types.dto.AttributeSet as, org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
           
 boolean isPermissionDefined(String string, String string1, org.kuali.rice.kim.bo.types.dto.AttributeSet as)
           
 boolean isPermissionDefinedForTemplateName(String string, String string1, org.kuali.rice.kim.bo.types.dto.AttributeSet as)
           
 List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> lookupPermissions(Map<String,String> map, boolean bln)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockPermissionServiceImpl

public MockPermissionServiceImpl()
Method Detail

getAllTemplates

public List<org.kuali.rice.kim.bo.role.dto.KimPermissionTemplateInfo> getAllTemplates()
Specified by:
getAllTemplates in interface org.kuali.rice.kim.service.PermissionService

getAuthorizedPermissions

public List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getAuthorizedPermissions(String string,
                                                                                       String string1,
                                                                                       String string2,
                                                                                       org.kuali.rice.kim.bo.types.dto.AttributeSet as,
                                                                                       org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
Specified by:
getAuthorizedPermissions in interface org.kuali.rice.kim.service.PermissionService

getAuthorizedPermissionsByTemplateName

public List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getAuthorizedPermissionsByTemplateName(String string,
                                                                                                     String string1,
                                                                                                     String string2,
                                                                                                     org.kuali.rice.kim.bo.types.dto.AttributeSet as,
                                                                                                     org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
Specified by:
getAuthorizedPermissionsByTemplateName in interface org.kuali.rice.kim.service.PermissionService

getPermission

public org.kuali.rice.kim.bo.role.dto.KimPermissionInfo getPermission(String string)
Specified by:
getPermission in interface org.kuali.rice.kim.service.PermissionService

getPermissionAssignees

public List<org.kuali.rice.kim.bo.role.dto.PermissionAssigneeInfo> getPermissionAssignees(String string,
                                                                                          String string1,
                                                                                          org.kuali.rice.kim.bo.types.dto.AttributeSet as,
                                                                                          org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
Specified by:
getPermissionAssignees in interface org.kuali.rice.kim.service.PermissionService

getPermissionAssigneesForTemplateName

public List<org.kuali.rice.kim.bo.role.dto.PermissionAssigneeInfo> getPermissionAssigneesForTemplateName(String string,
                                                                                                         String string1,
                                                                                                         org.kuali.rice.kim.bo.types.dto.AttributeSet as,
                                                                                                         org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
Specified by:
getPermissionAssigneesForTemplateName in interface org.kuali.rice.kim.service.PermissionService

getPermissionDetailLabel

public String getPermissionDetailLabel(String string,
                                       String string1,
                                       String string2)
Specified by:
getPermissionDetailLabel in interface org.kuali.rice.kim.service.PermissionService

getPermissionTemplate

public org.kuali.rice.kim.bo.role.dto.KimPermissionTemplateInfo getPermissionTemplate(String string)
Specified by:
getPermissionTemplate in interface org.kuali.rice.kim.service.PermissionService

getPermissionTemplateByName

public org.kuali.rice.kim.bo.role.dto.KimPermissionTemplateInfo getPermissionTemplateByName(String string,
                                                                                            String string1)
Specified by:
getPermissionTemplateByName in interface org.kuali.rice.kim.service.PermissionService

getPermissionsByName

public List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getPermissionsByName(String string,
                                                                                   String string1)
Specified by:
getPermissionsByName in interface org.kuali.rice.kim.service.PermissionService

getPermissionsByNameIncludingInactive

public List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getPermissionsByNameIncludingInactive(String string,
                                                                                                    String string1)
Specified by:
getPermissionsByNameIncludingInactive in interface org.kuali.rice.kim.service.PermissionService

getPermissionsByTemplateName

public List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> getPermissionsByTemplateName(String string,
                                                                                           String string1)
Specified by:
getPermissionsByTemplateName in interface org.kuali.rice.kim.service.PermissionService

getRoleIdsForPermission

public List<String> getRoleIdsForPermission(String string,
                                            String string1,
                                            org.kuali.rice.kim.bo.types.dto.AttributeSet as)
Specified by:
getRoleIdsForPermission in interface org.kuali.rice.kim.service.PermissionService

getRoleIdsForPermissionId

public List<String> getRoleIdsForPermissionId(String string)
Specified by:
getRoleIdsForPermissionId in interface org.kuali.rice.kim.service.PermissionService

getRoleIdsForPermissions

public List<String> getRoleIdsForPermissions(List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> list)
Specified by:
getRoleIdsForPermissions in interface org.kuali.rice.kim.service.PermissionService

hasPermission

public boolean hasPermission(String string,
                             String string1,
                             String string2,
                             org.kuali.rice.kim.bo.types.dto.AttributeSet as)
Specified by:
hasPermission in interface org.kuali.rice.kim.service.PermissionService

hasPermissionByTemplateName

public boolean hasPermissionByTemplateName(String string,
                                           String string1,
                                           String string2,
                                           org.kuali.rice.kim.bo.types.dto.AttributeSet as)
Specified by:
hasPermissionByTemplateName in interface org.kuali.rice.kim.service.PermissionService

isAuthorized

public boolean isAuthorized(String string,
                            String string1,
                            String string2,
                            org.kuali.rice.kim.bo.types.dto.AttributeSet as,
                            org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
Specified by:
isAuthorized in interface org.kuali.rice.kim.service.PermissionService

isAuthorizedByTemplateName

public boolean isAuthorizedByTemplateName(String string,
                                          String string1,
                                          String string2,
                                          org.kuali.rice.kim.bo.types.dto.AttributeSet as,
                                          org.kuali.rice.kim.bo.types.dto.AttributeSet as1)
Specified by:
isAuthorizedByTemplateName in interface org.kuali.rice.kim.service.PermissionService

isPermissionDefined

public boolean isPermissionDefined(String string,
                                   String string1,
                                   org.kuali.rice.kim.bo.types.dto.AttributeSet as)
Specified by:
isPermissionDefined in interface org.kuali.rice.kim.service.PermissionService

isPermissionDefinedForTemplateName

public boolean isPermissionDefinedForTemplateName(String string,
                                                  String string1,
                                                  org.kuali.rice.kim.bo.types.dto.AttributeSet as)
Specified by:
isPermissionDefinedForTemplateName in interface org.kuali.rice.kim.service.PermissionService

lookupPermissions

public List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> lookupPermissions(Map<String,String> map,
                                                                                boolean bln)
Specified by:
lookupPermissions in interface org.kuali.rice.kim.service.PermissionService


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.