|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.sys.document.web.DefaultAccountingLineGroupImpl
org.kuali.kfs.sec.document.web.SecAccountingLineGroupImpl
public class SecAccountingLineGroupImpl
Integrates with access security module to check security on accounting lines before rendering
| Field Summary | |
|---|---|
protected boolean |
hasEditRestrictions
|
protected boolean |
hasViewRestrictions
|
| Fields inherited from class org.kuali.kfs.sys.document.web.DefaultAccountingLineGroupImpl |
|---|
accountingDocument, arbitrarilyHighIndex, canEdit, cellCount, collectionItemPropertyName, collectionPropertyName, containers, displayedErrors, displayedInfo, displayedWarnings, errorKeys, groupDefinition, importLineOverride |
| Constructor Summary | |
|---|---|
SecAccountingLineGroupImpl()
Constructs a SecAccountingLineGroupImpl |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean hasEditRestrictions
protected boolean hasViewRestrictions
| Constructor Detail |
|---|
public SecAccountingLineGroupImpl()
| Method Detail |
|---|
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.kfs.sys.document.datadictionary.AccountingLineGroupDefinition,
org.kuali.kfs.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 rendering
javax.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 display
javax.servlet.jsp.JspException
protected void renderSecurityMessage(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
throws javax.servlet.jsp.JspException
pageContext - parentTag -
javax.servlet.jsp.JspException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||