public class SecAccountingLineGroupImpl extends DefaultAccountingLineGroupImpl
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasEditRestrictions |
protected boolean |
hasViewRestrictions |
accountingDocument, arbitrarilyHighIndex, canEdit, cellCount, collectionItemPropertyName, collectionPropertyName, containers, displayedErrors, displayedInfo, displayedWarnings, errorKeys, groupDefinition, importLineOverride| Constructor and Description |
|---|
SecAccountingLineGroupImpl()
Constructs a SecAccountingLineGroupImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(AccountingLineGroupDefinition groupDefinition,
AccountingDocument accountingDocument,
List<RenderableAccountingLineContainer> containers,
String collectionPropertyName,
String collectionItemPropertyName,
Map<String,Object> displayedErrors,
Map<String,Object> displayedWarnings,
Map<String,Object> displayedInfo,
boolean canEdit)
Performs access security edit check and sets edit flag on container line to false if access is not allowed or removes
container if view is not allowed
|
protected void |
renderErrors(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Adds info message if we have restricted view of any accounting lines and adds an additional key to match on
|
protected void |
renderMessages(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag,
String messageKey)
Helper method for outputting messages
|
protected void |
renderSecurityMessage(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Adds info message for any security restrictions that have been applied
|
getAccountingDocument, getCollectionItemPropertyName, getCollectionPropertyName, getDisplayedErrors, getDisplayedInfo, getDisplayedWarnings, getErrorKeys, getErrorRenderer, getGroupDefinition, getRepresentedColumnNumber, getWidthInCells, hasEnoughAccountingLinesForDelete, moveListToMap, renderAccountingLineContainers, renderEverything, renderGroupHeader, renderTotals, setAccountingDocument, setArbitrarilyHighIndex, setCellCount, setCollectionItemPropertyName, setCollectionPropertyName, setDisplayedErrors, setErrorKeys, setGroupDefinition, setImportLineOverride, updateDeletabilityOfAllLinesprotected boolean hasEditRestrictions
protected boolean hasViewRestrictions
public SecAccountingLineGroupImpl()
public void initialize(AccountingLineGroupDefinition groupDefinition, AccountingDocument accountingDocument, List<RenderableAccountingLineContainer> containers, String collectionPropertyName, String collectionItemPropertyName, Map<String,Object> displayedErrors, Map<String,Object> displayedWarnings, Map<String,Object> displayedInfo, boolean canEdit)
initialize in class DefaultAccountingLineGroupImplgroupDefinition - the data dictionary group definition for this accounting line groupaccountingDocument - the document which owns or will own the accounting line being renderedcontainers - the containers within this groupcollectionPropertyName - the property name of the collection of accounting lines owned by this groupdisplayedErrors - a Map of errors that have already been displayedcanEdit - determines if the page can be edited or notDefaultAccountingLineGroupImpl.initialize(org.kuali.ole.sys.document.datadictionary.AccountingLineGroupDefinition,
org.kuali.ole.sys.document.AccountingDocument, java.util.List, java.lang.String, java.lang.String, java.util.Map,
java.util.Map, java.util.Map, boolean)protected void renderErrors(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
renderErrors in class DefaultAccountingLineGroupImplpageContext - the page context where the errors will be rendered onparentTag - the parent tag requesting the renderingjavax.servlet.jsp.JspExceptionDefaultAccountingLineGroupImpl.renderErrors(javax.servlet.jsp.PageContext,
javax.servlet.jsp.tagext.Tag)protected void renderMessages(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag, String messageKey) throws javax.servlet.jsp.JspException
pageContext - parentTag - messageKey - - key for messages to displayjavax.servlet.jsp.JspExceptionprotected void renderSecurityMessage(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext - parentTag - javax.servlet.jsp.JspExceptionCopyright © 2004–2015 The Kuali Foundation. All rights reserved.