| org.kuali.kfs.document.authorization.AccountingDocumentAuthorizerBase org.kuali.module.financial.document.authorization.CashReceiptDocumentAuthorizer
CashReceiptDocumentAuthorizer | public class CashReceiptDocumentAuthorizer extends AccountingDocumentAuthorizerBase (Code) | | Abstract base class for all TransactionalDocumentAuthorizers, since there's this one bit of common code.
|
canInitiate | public void canInitiate(String documentTypeName, UniversalUser user)(Code) | | CR docs cannot be initiated by users in a verification unit that the CR is associated with. Right now, since there is a
single verification unit, we only need this to check for exitence in that one.
See Also: org.kuali.core.authorization.DocumentAuthorizer.canInitiate(java.lang.Stringorg.kuali.core.bo.user.KualiUser) |
getDocumentActionFlags | public DocumentActionFlags getDocumentActionFlags(Document document, UniversalUser user)(Code) | | Overrides to use the parent's implementation, with the exception that if the cash drawer that is associated with this
document is closed, the CR doc cannot be approved at all.
See Also: org.kuali.core.authorization.DocumentAuthorizer.getDocumentActionFlags(org.kuali.core.document.Documentorg.kuali.core.bo.user.KualiUser) |
getEditableAccounts | public Map getEditableAccounts(TransactionalDocument document, ChartUser user)(Code) | | Overrides parent to return an empty Map since FO routing doesn't apply to the CR doc.
See Also: org.kuali.core.authorization.TransactionalDocumentAuthorizer.getEditableAccounts(org.kuali.core.document.TransactionalDocumentorg.kuali.core.bo.user.KualiUser) |
userOwnsAnyAccountingLine | protected boolean userOwnsAnyAccountingLine(ChartUser user, List accountingLines)(Code) | | Overrides to always return false because there is never FO routing or FO approval for CR docs.
See Also: org.kuali.module.financial.document.FinancialDocumentAuthorizer.userOwnsAnyAccountingLine(org.kuali.core.bo.user.KualiUserjava.util.List) |
|
|