public class NarrativeAuthZServiceImpl extends Object implements NarrativeAuthZService
| Constructor and Description |
|---|
NarrativeAuthZServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
NarrativeRight |
authorize(Narrative narrative,
String loggedInUserId) |
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Accessor for
|
NarrativeRight |
getDefaultNarrativeRight(List<String> roleNames)
Gets the default narrative right for a user.
|
NarrativeRight |
getDefaultNarrativeRight(String roleName)
Gets the default narrative right for a user.
|
NarrativeRight |
getDefaultNarrativeRight(String userId,
ProposalDevelopmentDocument doc)
Gets the default narrative right for a user.
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService bos)
Accessor for
|
void |
setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
Set the Proposal Authorization Service.
|
void |
setSystemAuthorizationService(SystemAuthorizationService systemAuthorizationService)
Set the Proposal Authorization Service.
|
public NarrativeRight authorize(Narrative narrative, String loggedInUserId)
authorize in interface NarrativeAuthZServiceorg.kuali.kra.proposaldevelopment.service.NarrativeAuthZService#authorize(org.kuali.kra.proposaldevelopment.bo.Narrative)public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService bos)
BusinessObjectServicebos - BusinessObjectServicepublic org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
BusinessObjectServicepublic NarrativeRight getDefaultNarrativeRight(String userId, ProposalDevelopmentDocument doc)
NarrativeAuthZServicegetDefaultNarrativeRight in interface NarrativeAuthZServicedoc - the Proposal Development DocumentNarrativeAuthZService.getDefaultNarrativeRight(java.lang.String, org.kuali.kra.proposaldevelopment.document.ProposalDevelopmentDocument)public NarrativeRight getDefaultNarrativeRight(String roleName)
NarrativeAuthZServicegetDefaultNarrativeRight in interface NarrativeAuthZServiceroleName - the proposal role for the userNarrativeAuthZService.getDefaultNarrativeRight(java.lang.String)public NarrativeRight getDefaultNarrativeRight(List<String> roleNames)
NarrativeAuthZServicegetDefaultNarrativeRight in interface NarrativeAuthZServiceroleNames - the proposal roles for the userpublic void setSystemAuthorizationService(SystemAuthorizationService systemAuthorizationService)
kraAuthorizationService - the Proposal Authorization Servicepublic void setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
kraAuthorizationService - the Proposal Authorization ServiceCopyright © 2013 The Kuali Foundation. All Rights Reserved.