org.kuali.kfs.sys.service.impl
Class FinancialSystemUserServiceImpl

java.lang.Object
  extended by org.kuali.kfs.sys.service.impl.FinancialSystemUserServiceImpl
All Implemented Interfaces:
FinancialSystemUserService

public class FinancialSystemUserServiceImpl
extends Object
implements FinancialSystemUserService


Nested Class Summary
 class FinancialSystemUserServiceImpl.ChartOrgHolderImpl
           
 
Constructor Summary
FinancialSystemUserServiceImpl()
           
 
Method Summary
protected  org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
           
protected  org.kuali.rice.kim.service.IdentityManagementService getIdentityManagementService()
           
protected  ChartOrgHolder getOrganizationForFinancialSystemUser(String principalId, String namespaceCode)
           
protected  ChartOrgHolder getOrganizationForNonFinancialSystemUser(org.kuali.rice.kim.bo.Person person)
           
protected  org.kuali.rice.kim.service.PersonService getPersonService()
           
 ChartOrgHolder getPrimaryOrganization(org.kuali.rice.kim.bo.Person person, String namespaceCode)
          If the specified person has the KFS-SYS User role for the specified namespace, this will return the organization associated with that assignment.
 ChartOrgHolder getPrimaryOrganization(String principalId, String namespaceCode)
           
 Collection<String> getPrincipalIdsForFinancialSystemOrganizationUsers(String namespaceCode, ChartOrgHolder chartOrg)
           
 Collection<String> getPrincipalIdsForFinancialSystemOrganizationUsers(String namespaceCode, List<ChartOrgHolder> chartOrgs)
           
protected  org.kuali.rice.kim.service.RoleManagementService getRoleManagementService()
           
protected  String getUserRoleId()
           
protected  List<String> getUserRoleIdAsList()
           
 boolean isActiveFinancialSystemUser(org.kuali.rice.kim.bo.Person p)
           
 boolean isActiveFinancialSystemUser(String principalId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FinancialSystemUserServiceImpl

public FinancialSystemUserServiceImpl()
Method Detail

getBusinessObjectService

protected org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()

getIdentityManagementService

protected org.kuali.rice.kim.service.IdentityManagementService getIdentityManagementService()

getRoleManagementService

protected org.kuali.rice.kim.service.RoleManagementService getRoleManagementService()

getPersonService

protected org.kuali.rice.kim.service.PersonService getPersonService()

getUserRoleId

protected String getUserRoleId()

getUserRoleIdAsList

protected List<String> getUserRoleIdAsList()

isActiveFinancialSystemUser

public boolean isActiveFinancialSystemUser(org.kuali.rice.kim.bo.Person p)
Specified by:
isActiveFinancialSystemUser in interface FinancialSystemUserService
See Also:
FinancialSystemUserService.isActiveFinancialSystemUser(org.kuali.rice.kim.bo.Person)

isActiveFinancialSystemUser

public boolean isActiveFinancialSystemUser(String principalId)
Specified by:
isActiveFinancialSystemUser in interface FinancialSystemUserService
See Also:
FinancialSystemUserService.isActiveFinancialSystemUser(java.lang.String)

getPrimaryOrganization

public ChartOrgHolder getPrimaryOrganization(org.kuali.rice.kim.bo.Person person,
                                             String namespaceCode)
Description copied from interface: FinancialSystemUserService
If the specified person has the KFS-SYS User role for the specified namespace, this will return the organization associated with that assignment. If the specified person does not have the KFS-SYS User role for the specified namespace but does with a blank namespace, this will return the organization associated with that assignment. If the person does not have the KFS-SYS User role at all, this method will derive the organization from the Person Record.

Specified by:
getPrimaryOrganization in interface FinancialSystemUserService
See Also:
FinancialSystemUserService.getPrimaryOrganization(org.kuali.rice.kim.bo.Person, java.lang.String)

getPrimaryOrganization

public ChartOrgHolder getPrimaryOrganization(String principalId,
                                             String namespaceCode)
Specified by:
getPrimaryOrganization in interface FinancialSystemUserService
See Also:
org.kuali.kfs.sys.service.FinancialSystemUserService#getOrganizationByNamespaceCode(org.kuali.rice.kim.bo.Person, java.lang.String)

getOrganizationForFinancialSystemUser

protected ChartOrgHolder getOrganizationForFinancialSystemUser(String principalId,
                                                               String namespaceCode)

getOrganizationForNonFinancialSystemUser

protected ChartOrgHolder getOrganizationForNonFinancialSystemUser(org.kuali.rice.kim.bo.Person person)

getPrincipalIdsForFinancialSystemOrganizationUsers

public Collection<String> getPrincipalIdsForFinancialSystemOrganizationUsers(String namespaceCode,
                                                                             ChartOrgHolder chartOrg)
Specified by:
getPrincipalIdsForFinancialSystemOrganizationUsers in interface FinancialSystemUserService

getPrincipalIdsForFinancialSystemOrganizationUsers

public Collection<String> getPrincipalIdsForFinancialSystemOrganizationUsers(String namespaceCode,
                                                                             List<ChartOrgHolder> chartOrgs)
Specified by:
getPrincipalIdsForFinancialSystemOrganizationUsers in interface FinancialSystemUserService


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.