public class BusinessObjectAuthorizerBase extends DataObjectAuthorizerBase implements BusinessObjectAuthorizer
Constructor and Description |
---|
BusinessObjectAuthorizerBase() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getCollectionItemPermissionDetails(BusinessObject collectionItemBusinessObject) |
Map<String,String> |
getCollectionItemRoleQualifications(BusinessObject collectionItemBusinessObject) |
protected static DataDictionaryService |
getDataDictionaryService() |
protected static KualiModuleService |
getKualiModuleService() |
protected Map<String,String> |
getRoleQualification(BusinessObject primaryBusinessObjectOrDocument)
Returns a role qualification map based off data from the primary business
object or the document.
|
boolean |
isAuthorized(BusinessObject businessObject,
String namespaceCode,
String permissionName,
String principalId) |
boolean |
isAuthorized(BusinessObject businessObject,
String namespaceCode,
String permissionName,
String principalId,
Map<String,String> collectionOrFieldLevelPermissionDetails,
Map<String,String> collectionOrFieldLevelRoleQualification) |
boolean |
isAuthorizedByTemplate(BusinessObject dataObject,
String namespaceCode,
String permissionTemplateName,
String principalId) |
protected boolean |
permissionExistsByTemplate(BusinessObject businessObject,
String namespaceCode,
String permissionTemplateName) |
protected boolean |
permissionExistsByTemplate(BusinessObject businessObject,
String namespaceCode,
String permissionTemplateName,
Map<String,String> permissionDetails) |
addPermissionDetails, addRoleQualification, getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAuthorizedByTemplate
public BusinessObjectAuthorizerBase()
protected final boolean permissionExistsByTemplate(BusinessObject businessObject, String namespaceCode, String permissionTemplateName)
protected final boolean permissionExistsByTemplate(BusinessObject businessObject, String namespaceCode, String permissionTemplateName, Map<String,String> permissionDetails)
public final boolean isAuthorized(BusinessObject businessObject, String namespaceCode, String permissionName, String principalId)
isAuthorized
in interface BusinessObjectAuthorizer
public final boolean isAuthorizedByTemplate(BusinessObject dataObject, String namespaceCode, String permissionTemplateName, String principalId)
isAuthorizedByTemplate
in interface BusinessObjectAuthorizer
public final boolean isAuthorized(BusinessObject businessObject, String namespaceCode, String permissionName, String principalId, Map<String,String> collectionOrFieldLevelPermissionDetails, Map<String,String> collectionOrFieldLevelRoleQualification)
isAuthorized
in interface BusinessObjectAuthorizer
protected final Map<String,String> getRoleQualification(BusinessObject primaryBusinessObjectOrDocument)
primaryBusinessObjectOrDocument
- the primary business object (i.e. the main BO instance behind
the lookup result row or inquiry) or the documentpublic Map<String,String> getCollectionItemPermissionDetails(BusinessObject collectionItemBusinessObject)
public Map<String,String> getCollectionItemRoleQualifications(BusinessObject collectionItemBusinessObject)
protected static KualiModuleService getKualiModuleService()
protected static DataDictionaryService getDataDictionaryService()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.