|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessSecurityService
Exposes methods to apply access security restrictions to business objects from the various framework points (lookups, inquiries, document accounting lines)
Method Summary | |
---|---|
void |
applySecurityRestrictions(List<? extends org.kuali.rice.kns.bo.BusinessObject> results,
org.kuali.rice.kim.bo.Person person,
String templateId,
org.kuali.rice.kim.bo.types.dto.AttributeSet additionalPermissionDetails)
Retrieves any setup security permissions for the given person and evaluates against List of business objects. |
void |
applySecurityRestrictionsForGLInquiry(List<? extends org.kuali.rice.kns.bo.BusinessObject> results,
org.kuali.rice.kim.bo.Person person)
Retrieves any setup security permissions (with gl inquiry template) for the given person and evaluates against List of business objects. |
void |
applySecurityRestrictionsForLaborInquiry(List<? extends org.kuali.rice.kns.bo.BusinessObject> results,
org.kuali.rice.kim.bo.Person person)
Retrieves any setup security permissions (with ld inquiry template) for the given person and evaluates against List of business objects. |
void |
applySecurityRestrictionsForLookup(List<? extends org.kuali.rice.kns.bo.BusinessObject> results,
org.kuali.rice.kim.bo.Person person)
Retrieves any setup security permissions (with lookup template) for the given person and evaluates against List of business objects. |
boolean |
canEditDocument(AccountingDocument document,
org.kuali.rice.kim.bo.Person person)
Checks edit access on all accounting lines contained on the document for given user |
boolean |
canEditDocumentAccountingLine(AccountingDocument document,
AccountingLine accountingLine,
org.kuali.rice.kim.bo.Person person)
Checks any edit access security permissions setup for the user and for accounting lines of the given document type |
boolean |
canEditDocumentAccountingLine(AccountingDocument document,
AccountingLine accountingLine,
org.kuali.rice.kim.bo.Person person,
AccessSecurityRestrictionInfo restrictionInfo)
Checks any edit access security permissions setup for the user and for accounting lines of the given document type |
boolean |
canViewDocument(AccountingDocument document,
org.kuali.rice.kim.bo.Person person,
AccessSecurityRestrictionInfo restrictionInfo)
Checks view access on all accounting lines contained on the document for given user |
boolean |
canViewDocumentAccountingLine(AccountingDocument document,
AccountingLine accountingLine,
org.kuali.rice.kim.bo.Person person)
Checks any view access security permissions setup for the user and for accounting lines of the given document type |
boolean |
canViewDocumentNotesAttachments(AccountingDocument document,
org.kuali.rice.kim.bo.Person person)
Checks access is allowed to view document notes based on the document's accounting lines |
boolean |
checkSecurityRestrictionsForBusinessObject(org.kuali.rice.kns.bo.BusinessObject businessObject,
org.kuali.rice.kim.bo.Person person,
AccessSecurityRestrictionInfo restrictionInfo)
Retrieves any access security permissions that are assigned to the user and applicable for the given business object, then evaluates permissions against the business object instance |
String |
getEditAccountingLineWithFieldValueTemplateId()
Gets the Edit Accounting Line With Field Value Template Id. |
String |
getEditDocumentWithFieldValueTemplateId()
Gets the Edit Document With Field Value Template Id. |
String |
getInquiryWithFieldValueTemplateId()
Gets the Inquiry With Field Value Template Id. |
String |
getLookupWithFieldValueTemplateId()
Gets the Lookup With Field Value Template Id. |
String |
getViewAccountingLineWithFieldValueTemplateId()
Gets the View Accounting Line With Field Value Template Id. |
String |
getViewDocumentWithFieldValueTemplateId()
Gets the View Document With Field Values template ID. |
String |
getViewNotesAttachmentsWithFieldValueTemplateId()
Gets the View Notes Attachments With Field Value Template Id. |
Method Detail |
---|
void applySecurityRestrictionsForLookup(List<? extends org.kuali.rice.kns.bo.BusinessObject> results, org.kuali.rice.kim.bo.Person person)
results
- List of business object instances with data to checkperson
- Person to apply security forvoid applySecurityRestrictionsForGLInquiry(List<? extends org.kuali.rice.kns.bo.BusinessObject> results, org.kuali.rice.kim.bo.Person person)
results
- List of business object instances with data to checkperson
- Person to apply security forvoid applySecurityRestrictionsForLaborInquiry(List<? extends org.kuali.rice.kns.bo.BusinessObject> results, org.kuali.rice.kim.bo.Person person)
results
- List of business object instances with data to checkperson
- Person to apply security forvoid applySecurityRestrictions(List<? extends org.kuali.rice.kns.bo.BusinessObject> results, org.kuali.rice.kim.bo.Person person, String templateId, org.kuali.rice.kim.bo.types.dto.AttributeSet additionalPermissionDetails)
results
- List of business object instances with data to checkperson
- Person to apply security fortemplateId
- KIM template id for permissions to checkadditionalPermissionDetails
- Any additional details that should be matched on when retrieving permissionsboolean checkSecurityRestrictionsForBusinessObject(org.kuali.rice.kns.bo.BusinessObject businessObject, org.kuali.rice.kim.bo.Person person, AccessSecurityRestrictionInfo restrictionInfo)
businessObject
- BusinessObject instance to check access permissions againstperson
- Person to retrieve access permissions forrestrictionInfo
- Object providing information on a restriction if one is found
boolean canViewDocumentAccountingLine(AccountingDocument document, AccountingLine accountingLine, org.kuali.rice.kim.bo.Person person)
document
- AccountingDocument that contains the line to be validated, doc type of instance is used for retrieving
permissionsaccountingLine
- AccountingLine instance with values to checkperson
- the user who we are checking access for
boolean canEditDocumentAccountingLine(AccountingDocument document, AccountingLine accountingLine, org.kuali.rice.kim.bo.Person person)
document
- AccountingDocument instance that contains the line to be validated, doc type of instance is used for
retrieving permissionsaccountingLine
- AccountingLine instance with values to checkperson
- the user who we are checking access for
boolean canEditDocumentAccountingLine(AccountingDocument document, AccountingLine accountingLine, org.kuali.rice.kim.bo.Person person, AccessSecurityRestrictionInfo restrictionInfo)
document
- AccountingDocument instance that contains the line to be validated, doc type of instance is used for
retrieving permissionsaccountingLine
- AccountingLine instance with values to checkperson
- the user who we are checking access forrestrictionInfo
- Object providing information on a restriction if one is found
boolean canViewDocument(AccountingDocument document, org.kuali.rice.kim.bo.Person person, AccessSecurityRestrictionInfo restrictionInfo)
document
- AccountingDocument instance with accounting lines to check, doc type of instance is used for retrieving
permissionsperson
- the user who we are checking access forrestrictionInfo
- Object providing information on a restriction if one is found
boolean canEditDocument(AccountingDocument document, org.kuali.rice.kim.bo.Person person)
document
- AccountingDocument instance with accounting lines to check, doc type of instance is used for retrieving
permissionsperson
- the user who we are checking access for
boolean canViewDocumentNotesAttachments(AccountingDocument document, org.kuali.rice.kim.bo.Person person)
document
- AccountingDocument instance with accounting lines to check, doc type of instance is used for retrieving
permissionsperson
- the user who we are checking access for
String getViewDocumentWithFieldValueTemplateId()
String getViewAccountingLineWithFieldValueTemplateId()
String getViewNotesAttachmentsWithFieldValueTemplateId()
String getEditDocumentWithFieldValueTemplateId()
String getEditAccountingLineWithFieldValueTemplateId()
String getLookupWithFieldValueTemplateId()
String getInquiryWithFieldValueTemplateId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |