|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.sec.businessobject.lookup.AccessSecurityBalanceLookupableHelperServiceImpl
public class AccessSecurityBalanceLookupableHelperServiceImpl
Wraps balance inquiry lookupables so that access security can be applied to the results
| Field Summary | |
|---|---|
protected AccessSecurityService |
accessSecurityService
|
protected static String |
ACTION_URLS_EMPTY
|
protected org.kuali.rice.kns.service.BusinessObjectAuthorizationService |
businessObjectAuthorizationService
|
protected org.kuali.rice.kns.service.BusinessObjectMetaDataService |
businessObjectMetaDataService
|
protected boolean |
glInquiry
|
protected boolean |
laborInquiry
|
protected org.kuali.rice.kns.lookup.LookupableHelperService |
lookupableHelperService
|
protected org.kuali.rice.kns.service.PersistenceStructureService |
persistenceStructureService
|
| Constructor Summary | |
|---|---|
AccessSecurityBalanceLookupableHelperServiceImpl()
|
|
| Method Summary | |
|---|---|
boolean |
allowsMaintenanceNewOrCopyAction()
|
boolean |
allowsNewOrCopyAction(String documentTypeName)
|
void |
applyConditionalLogicForFieldDisplay()
|
void |
applyFieldAuthorizationsFromNestedLookups(org.kuali.rice.kns.web.ui.Field field)
|
boolean |
checkForAdditionalFields(Map fieldValues)
|
String |
getActionUrls(org.kuali.rice.kns.bo.BusinessObject businessObject,
List pkNames,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
|
String |
getBackLocation()
|
Class |
getBusinessObjectClass()
|
org.kuali.rice.kns.service.BusinessObjectDictionaryService |
getBusinessObjectDictionaryService()
|
List |
getColumns()
|
List<org.kuali.rice.kns.lookup.HtmlData> |
getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject businessObject,
List pkNames)
|
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
|
List |
getDefaultSortColumns()
|
String |
getDocFormKey()
|
String |
getDocNum()
|
org.kuali.rice.kns.web.ui.Field |
getExtraField()
|
org.kuali.rice.kns.lookup.HtmlData |
getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
String propertyName)
|
String |
getMaintenanceUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
org.kuali.rice.kns.lookup.HtmlData htmlData,
List pkNames,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
|
Map |
getParameters()
|
String |
getPrimaryKeyFieldLabels()
|
List<String> |
getReadOnlyFieldsList()
|
List |
getReturnKeys()
|
String |
getReturnLocation()
|
org.kuali.rice.kns.lookup.HtmlData |
getReturnUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
org.kuali.rice.kns.web.struts.form.LookupForm lookupForm,
List returnKeys,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
|
org.kuali.rice.kns.lookup.HtmlData |
getReturnUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
Map fieldConversions,
String lookupImpl,
List returnKeys,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
|
List<org.kuali.rice.kns.web.ui.Row> |
getRows()
|
List |
getSearchResults(Map<String,String> fieldValues)
Gets search results and passes to access security service to apply access restrictions |
List |
getSearchResultsUnbounded(Map<String,String> fieldValues)
Gets search results and passes to access security service to apply access restrictions |
String |
getSupplementalMenuBar()
|
String |
getTitle()
|
boolean |
isResultReturnable(org.kuali.rice.kns.bo.BusinessObject object)
|
boolean |
isSearchUsingOnlyPrimaryKeyValues()
|
protected String |
maskValueIfNecessary(Class businessObjectClass,
String propertyName,
String propertyValue,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
|
void |
performClear(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm)
|
boolean |
performCustomAction(boolean ignoreErrors)
|
Collection |
performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm,
Collection resultTable,
boolean bounded)
Need to duplicate the logic of performLookup so that getSearchResults will be called on this class and not the nested lookup helper service |
protected Map<String,String> |
preprocessDateFields(Map lookupFormFields)
changes from/to dates into the range operators the lookupable dao expects ("..",">" etc) this method modifies the passed in map and returns a list containing only the modified fields |
void |
setAccessSecurityService(AccessSecurityService accessSecurityService)
Sets the accessSecurityService attribute value. |
void |
setBackLocation(String backLocation)
|
void |
setBusinessObjectAuthorizationService(org.kuali.rice.kns.service.BusinessObjectAuthorizationService businessObjectAuthorizationService)
Sets the businessObjectAuthorizationService attribute value. |
void |
setBusinessObjectClass(Class businessObjectClass)
|
void |
setBusinessObjectMetaDataService(org.kuali.rice.kns.service.BusinessObjectMetaDataService businessObjectMetaDataService)
Sets the businessObjectMetaDataService attribute value. |
void |
setDocFormKey(String docFormKey)
|
void |
setDocNum(String docNum)
|
void |
setFieldConversions(Map fieldConversions)
|
void |
setGlInquiry(boolean glInquiry)
Sets the glInquiry attribute value. |
void |
setLaborInquiry(boolean laborInquiry)
Sets the laborInquiry attribute value. |
void |
setLookupableHelperService(org.kuali.rice.kns.lookup.LookupableHelperService lookupableHelperService)
Sets the lookupableHelperService attribute value. |
void |
setParameters(Map parameters)
|
void |
setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)
Sets the persistenceStructureService attribute value. |
void |
setReadOnlyFieldsList(List<String> readOnlyFieldsList)
|
protected org.kuali.rice.kns.web.ui.Column |
setupResultsColumn(org.kuali.rice.kns.bo.BusinessObject element,
String attributeName,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
|
boolean |
shouldDisplayHeaderNonMaintActions()
|
boolean |
shouldDisplayLookupCriteria()
|
void |
validateSearchParameters(Map fieldValues)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String ACTION_URLS_EMPTY
protected AccessSecurityService accessSecurityService
protected org.kuali.rice.kns.lookup.LookupableHelperService lookupableHelperService
protected org.kuali.rice.kns.service.BusinessObjectMetaDataService businessObjectMetaDataService
protected org.kuali.rice.kns.service.BusinessObjectAuthorizationService businessObjectAuthorizationService
protected org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService
protected boolean glInquiry
protected boolean laborInquiry
| Constructor Detail |
|---|
public AccessSecurityBalanceLookupableHelperServiceImpl()
| Method Detail |
|---|
public boolean allowsMaintenanceNewOrCopyAction()
allowsMaintenanceNewOrCopyAction in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic boolean allowsNewOrCopyAction(String documentTypeName)
allowsNewOrCopyAction in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void applyFieldAuthorizationsFromNestedLookups(org.kuali.rice.kns.web.ui.Field field)
applyFieldAuthorizationsFromNestedLookups in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic boolean checkForAdditionalFields(Map fieldValues)
checkForAdditionalFields in interface org.kuali.rice.kns.lookup.LookupableHelperService
public String getActionUrls(org.kuali.rice.kns.bo.BusinessObject businessObject,
List pkNames,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
getActionUrls in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic String getBackLocation()
getBackLocation in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic Class getBusinessObjectClass()
getBusinessObjectClass in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic org.kuali.rice.kns.service.BusinessObjectDictionaryService getBusinessObjectDictionaryService()
getBusinessObjectDictionaryService in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic List getColumns()
getColumns in interface org.kuali.rice.kns.lookup.LookupableHelperService
public List<org.kuali.rice.kns.lookup.HtmlData> getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject businessObject,
List pkNames)
getCustomActionUrls in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
getDataDictionaryService in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic List getDefaultSortColumns()
getDefaultSortColumns in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic String getDocFormKey()
getDocFormKey in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic String getDocNum()
getDocNum in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic org.kuali.rice.kns.web.ui.Field getExtraField()
getExtraField in interface org.kuali.rice.kns.lookup.LookupableHelperService
public org.kuali.rice.kns.lookup.HtmlData getInquiryUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
String propertyName)
getInquiryUrl in interface org.kuali.rice.kns.lookup.LookupableHelperService
public String getMaintenanceUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
org.kuali.rice.kns.lookup.HtmlData htmlData,
List pkNames,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
getMaintenanceUrl in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic Map getParameters()
getParameters in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic String getPrimaryKeyFieldLabels()
getPrimaryKeyFieldLabels in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic List<String> getReadOnlyFieldsList()
getReadOnlyFieldsList in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic List getReturnKeys()
getReturnKeys in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic String getReturnLocation()
getReturnLocation in interface org.kuali.rice.kns.lookup.LookupableHelperService
public org.kuali.rice.kns.lookup.HtmlData getReturnUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
org.kuali.rice.kns.web.struts.form.LookupForm lookupForm,
List returnKeys,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
getReturnUrl in interface org.kuali.rice.kns.lookup.LookupableHelperService
public org.kuali.rice.kns.lookup.HtmlData getReturnUrl(org.kuali.rice.kns.bo.BusinessObject businessObject,
Map fieldConversions,
String lookupImpl,
List returnKeys,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
getReturnUrl in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic List<org.kuali.rice.kns.web.ui.Row> getRows()
getRows in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic List getSearchResults(Map<String,String> fieldValues)
getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperServiceLookupableHelperService.getSearchResults(java.util.Map)public List getSearchResultsUnbounded(Map<String,String> fieldValues)
getSearchResultsUnbounded in interface org.kuali.rice.kns.lookup.LookupableHelperServiceLookupableHelperService.getSearchResultsUnbounded(java.util.Map)public String getSupplementalMenuBar()
getSupplementalMenuBar in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic String getTitle()
getTitle in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic boolean isResultReturnable(org.kuali.rice.kns.bo.BusinessObject object)
isResultReturnable in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic boolean isSearchUsingOnlyPrimaryKeyValues()
isSearchUsingOnlyPrimaryKeyValues in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void performClear(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm)
performClear in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic boolean performCustomAction(boolean ignoreErrors)
performCustomAction in interface org.kuali.rice.kns.lookup.LookupableHelperService
public Collection performLookup(org.kuali.rice.kns.web.struts.form.LookupForm lookupForm,
Collection resultTable,
boolean bounded)
performLookup in interface org.kuali.rice.kns.lookup.LookupableHelperServiceLookupableHelperService.performLookup(org.kuali.rice.kns.web.struts.form.LookupForm, java.util.Collection, boolean)
protected org.kuali.rice.kns.web.ui.Column setupResultsColumn(org.kuali.rice.kns.bo.BusinessObject element,
String attributeName,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
element - attributeName -
protected Map<String,String> preprocessDateFields(Map lookupFormFields)
lookupFormFields -
protected String maskValueIfNecessary(Class businessObjectClass,
String propertyName,
String propertyValue,
org.kuali.rice.kns.authorization.BusinessObjectRestrictions businessObjectRestrictions)
public void setBackLocation(String backLocation)
setBackLocation in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void setBusinessObjectClass(Class businessObjectClass)
setBusinessObjectClass in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void setDocFormKey(String docFormKey)
setDocFormKey in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void setDocNum(String docNum)
setDocNum in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void setFieldConversions(Map fieldConversions)
setFieldConversions in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void setParameters(Map parameters)
setParameters in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void setReadOnlyFieldsList(List<String> readOnlyFieldsList)
setReadOnlyFieldsList in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic boolean shouldDisplayHeaderNonMaintActions()
shouldDisplayHeaderNonMaintActions in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic boolean shouldDisplayLookupCriteria()
shouldDisplayLookupCriteria in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void validateSearchParameters(Map fieldValues)
validateSearchParameters in interface org.kuali.rice.kns.lookup.LookupableHelperServicepublic void setAccessSecurityService(AccessSecurityService accessSecurityService)
accessSecurityService - The accessSecurityService to set.public void setLookupableHelperService(org.kuali.rice.kns.lookup.LookupableHelperService lookupableHelperService)
lookupableHelperService - The lookupableHelperService to set.public void setBusinessObjectMetaDataService(org.kuali.rice.kns.service.BusinessObjectMetaDataService businessObjectMetaDataService)
businessObjectMetaDataService - The businessObjectMetaDataService to set.public void setBusinessObjectAuthorizationService(org.kuali.rice.kns.service.BusinessObjectAuthorizationService businessObjectAuthorizationService)
businessObjectAuthorizationService - The businessObjectAuthorizationService to set.public void setPersistenceStructureService(org.kuali.rice.kns.service.PersistenceStructureService persistenceStructureService)
persistenceStructureService - The persistenceStructureService to set.public void setGlInquiry(boolean glInquiry)
glInquiry - The glInquiry to set.public void setLaborInquiry(boolean laborInquiry)
laborInquiry - The laborInquiry to set.public void applyConditionalLogicForFieldDisplay()
applyConditionalLogicForFieldDisplay in interface org.kuali.rice.kns.lookup.LookupableHelperService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||