org.kuali.rice.kim.impl.responsibility
Class ResponsibilityLookupableHelperServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
      extended by org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
          extended by org.kuali.rice.kim.lookup.KimLookupableHelperServiceImpl
              extended by org.kuali.rice.kim.lookup.RoleMemberLookupableHelperServiceImpl
                  extended by org.kuali.rice.kim.impl.responsibility.ResponsibilityLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, LookupableHelperService

public class ResponsibilityLookupableHelperServiceImpl
extends RoleMemberLookupableHelperServiceImpl

This is a description of what this class does - bhargavp don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
private static org.apache.log4j.Logger LOG
           
private static LookupService lookupService
           
private static long RESP_CACHE_EXPIRE_SECONDS
           
private static Map<Map<String,String>,MaxAgeSoftReference<List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo>>> respResultCache
           
private static String reviewResponsibilityDocumentTypeName
           
private static boolean reviewResponsibilityDocumentTypeNameLoaded
           
private static long serialVersionUID
           
 
Fields inherited from class org.kuali.rice.kim.lookup.RoleMemberLookupableHelperServiceImpl
ASSIGNED_TO_GROUP_NAME, ASSIGNED_TO_GROUP_NAMESPACE_CODE, ASSIGNED_TO_NAMESPACE_FOR_LOOKUP, ASSIGNED_TO_PRINCIPAL_NAME, ASSIGNED_TO_ROLE_MEMBER_ID, ASSIGNED_TO_ROLE_NAME, ASSIGNED_TO_ROLE_NAMESPACE_CODE, ASSIGNED_TO_ROLE_ROLE_NAME, ATTRIBUTE_NAME, ATTRIBUTE_VALUE, DETAIL_CRITERIA, DETAIL_OBJECTS_ATTRIBUTE_NAME, DETAIL_OBJECTS_ATTRIBUTE_VALUE, GROUP_NAME, NAME, NAMESPACE_CODE, TEMPLATE_NAME, TEMPLATE_NAMESPACE_CODE, WILDCARD
 
Fields inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
searchUsingOnlyPrimaryKeyValues
 
Fields inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
ACTION_URLS_CHILDREN_END, ACTION_URLS_CHILDREN_SEPARATOR, ACTION_URLS_CHILDREN_STARTER, ACTION_URLS_EMPTY, ACTION_URLS_SEPARATOR, backLocation, businessObjectAuthorizationService, businessObjectClass, businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, configurationService, dataDictionaryService, docFormKey, docNum, encryptionService, fieldConversions, forceLookupResultFieldInquiryCache, inquirableClassCache, kualiInquirable, lookupResultsService, maintenanceDocumentDictionaryService, noLookupResultFieldInquiryCache, parameters, parameterService, persistenceStructureService, readOnlyFieldsList, referencesToRefresh, resultColumns, RESULTS_DEFAULT_MAX_COLUMN_LENGTH, rows, sequenceAccessorService, TITLE_ACTION_URL_PREPENDTEXT_PROPERTY, TITLE_RETURN_URL_PREPENDTEXT_PROPERTY
 
Constructor Summary
ResponsibilityLookupableHelperServiceImpl()
           
 
Method Summary
protected  String getActionUrlHref(BusinessObject businessObject, String methodToCall, List pkNames)
          This method generates and returns href for the given parameters.
private  List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getAllResponsibilities(boolean unbounded)
           
private  List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getCombinedSearchResults(Map<String,String> responsibilitySearchCriteria, Map<String,String> roleSearchCriteria, boolean unbounded)
           
 List<HtmlData> getCustomActionUrls(BusinessObject businessObject, List pkNames)
          This overridden method ...
 LookupService getLookupService()
          Gets the lookupService attribute.
protected  String getMaintenanceDocumentTypeName()
          This overridden method ...
protected  List<? extends BusinessObject> getMemberSearchResults(Map<String,String> searchCriteria, boolean unbounded)
           
private  List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getResponsibilitiesForRoleSearchResults(List<RoleImpl> roleSearchResults, boolean unbounded)
           
private  List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getResponsibilitiesSearchResultsCopy(List<org.kuali.rice.kim.impl.responsibility.ResponsibilityBo> responsibilitySearchResults)
           
private  List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getResponsibilitiesWithResponsibilitySearchCriteria(Map<String,String> responsibilitySearchCriteria, boolean unbounded)
           
private  List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getResponsibilitiesWithRoleSearchCriteria(Map<String,String> roleSearchCriteria, boolean unbounded)
           
private  List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> mergeResponsibilityLists(List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> perm1, List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> perm2)
           
private  void populateAssignedToRoles(org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo responsibility)
           
private  List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> searchResponsibilities(Map<String,String> responsibilitySearchCriteria, boolean unbounded)
           
 
Methods inherited from class org.kuali.rice.kim.lookup.RoleMemberLookupableHelperServiceImpl
buildRoleSearchCriteria, buildSearchCriteria, getActualSizeIfTruncated, getQueryString, getRows, getSearchResultsHelper, isMapSubset, parseDetailCriteria, searchRoles, validateSearchParameters
 
Methods inherited from class org.kuali.rice.kim.lookup.KimLookupableHelperServiceImpl
allowsNewOrCopyAction, getDocumentHelperService, getTypeInfoService
 
Methods inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
getExternalBusinessObjectProperty, getExternalizableBusinessObjectClass, getExternalizableBusinessObjectFieldValues, getExternalizableBusinessObjectProperties, getPrimaryKeyFieldLabels, getSearchResults, getSearchResultsUnbounded, hasExternalBusinessObjectProperty, isExternalBusinessObjectProperty, isSearchUsingOnlyPrimaryKeyValues, removeExternalizableBusinessObjectFieldValues
 
Methods inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
addToReturnHref, allowsMaintenanceDeleteAction, allowsMaintenanceEditAction, allowsMaintenanceNewOrCopyAction, applyConditionalLogicForFieldDisplay, applyFieldAuthorizationsFromNestedLookups, checkForAdditionalFields, getActionUrls, getActionUrlTitleText, getBackLocation, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getColumnMaxLength, getColumns, getConditionallyHiddenPropertyNames, getConditionallyReadOnlyPropertyNames, getConditionallyRequiredPropertyNames, getCurrentSearchFieldValue, getDataDictionaryService, getDefaultSortColumns, getDocFormKey, getDocNum, getEmptyActionUrls, getEmptyAnchorHtmlData, getEncryptionService, getExtraField, getInquiryUrl, getKualiConfigurationService, getKualiInquirable, getLookupResultsService, getMaintenanceDocumentDictionaryService, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnAnchorHtmlData, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, maskValueIfNecessary, performClear, performCustomAction, performLookup, preprocessDateFields, setBackLocation, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setBusinessObjectService, setDataDictionaryService, setDocFormKey, setDocNum, setEncryptionService, setFieldConversions, setKualiInquirable, setLookupResultsService, setLookupService, setMaintenanceDocumentDictionaryService, setParameters, setParameterService, setParameterService, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameterWildcardAndOperators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

lookupService

private static LookupService lookupService

reviewResponsibilityDocumentTypeNameLoaded

private static boolean reviewResponsibilityDocumentTypeNameLoaded

reviewResponsibilityDocumentTypeName

private static String reviewResponsibilityDocumentTypeName

respResultCache

private static final Map<Map<String,String>,MaxAgeSoftReference<List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo>>> respResultCache

RESP_CACHE_EXPIRE_SECONDS

private static final long RESP_CACHE_EXPIRE_SECONDS
See Also:
Constant Field Values
Constructor Detail

ResponsibilityLookupableHelperServiceImpl

public ResponsibilityLookupableHelperServiceImpl()
Method Detail

getCustomActionUrls

public List<HtmlData> getCustomActionUrls(BusinessObject businessObject,
                                          List pkNames)
This overridden method ...

Specified by:
getCustomActionUrls in interface LookupableHelperService
Overrides:
getCustomActionUrls in class AbstractLookupableHelperServiceImpl
Returns:
See Also:
AbstractLookupableHelperServiceImpl.getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject, java.util.List)

getActionUrlHref

protected String getActionUrlHref(BusinessObject businessObject,
                                  String methodToCall,
                                  List pkNames)
Description copied from class: AbstractLookupableHelperServiceImpl
This method generates and returns href for the given parameters. This method can be overridden by child classes if they have to generate href differently. For example, refer to IntendedIncumbentLookupableHelperServiceImpl

Overrides:
getActionUrlHref in class AbstractLookupableHelperServiceImpl
Returns:

getMaintenanceDocumentTypeName

protected String getMaintenanceDocumentTypeName()
This overridden method ...

Overrides:
getMaintenanceDocumentTypeName in class AbstractLookupableHelperServiceImpl
Returns:
String representing the maintenance document type name
See Also:
AbstractLookupableHelperServiceImpl.getMaintenanceDocumentTypeName()

getMemberSearchResults

protected List<? extends BusinessObject> getMemberSearchResults(Map<String,String> searchCriteria,
                                                                boolean unbounded)
Specified by:
getMemberSearchResults in class RoleMemberLookupableHelperServiceImpl
See Also:
KualiLookupableHelperServiceImpl.getSearchResults(java.util.Map)

getAllResponsibilities

private List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getAllResponsibilities(boolean unbounded)

getCombinedSearchResults

private List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getCombinedSearchResults(Map<String,String> responsibilitySearchCriteria,
                                                                                                   Map<String,String> roleSearchCriteria,
                                                                                                   boolean unbounded)

searchResponsibilities

private List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> searchResponsibilities(Map<String,String> responsibilitySearchCriteria,
                                                                                                 boolean unbounded)

getResponsibilitiesWithRoleSearchCriteria

private List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getResponsibilitiesWithRoleSearchCriteria(Map<String,String> roleSearchCriteria,
                                                                                                                    boolean unbounded)

getResponsibilitiesForRoleSearchResults

private List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getResponsibilitiesForRoleSearchResults(List<RoleImpl> roleSearchResults,
                                                                                                                  boolean unbounded)

populateAssignedToRoles

private void populateAssignedToRoles(org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo responsibility)

getResponsibilitiesWithResponsibilitySearchCriteria

private List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getResponsibilitiesWithResponsibilitySearchCriteria(Map<String,String> responsibilitySearchCriteria,
                                                                                                                              boolean unbounded)

getResponsibilitiesSearchResultsCopy

private List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> getResponsibilitiesSearchResultsCopy(List<org.kuali.rice.kim.impl.responsibility.ResponsibilityBo> responsibilitySearchResults)

getLookupService

public LookupService getLookupService()
Description copied from class: AbstractLookupableHelperServiceImpl
Gets the lookupService attribute.

Overrides:
getLookupService in class AbstractLookupableHelperServiceImpl
Returns:
the lookupService

mergeResponsibilityLists

private List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> mergeResponsibilityLists(List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> perm1,
                                                                                                   List<org.kuali.rice.kim.impl.responsibility.UberResponsibilityBo> perm2)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.