Class RoleLookupableHelperServiceImpl

java.lang.Object
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
org.kuali.rice.kim.lookup.KimLookupableHelperServiceImpl
org.kuali.rice.kim.lookup.RoleLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.LookupableHelperService

public class RoleLookupableHelperServiceImpl extends KimLookupableHelperServiceImpl
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static List<String>
     
    protected static final String
     
    protected static List<String>
     
    protected static final String
     
    protected static final String
     

    Fields inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl

    LOG, 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, lookupService, 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    allowsMaintenanceEditAction(org.kuali.rice.krad.bo.BusinessObject businessObject)
     
    boolean
     
    List<org.kuali.rice.kim.api.type.KimAttributeField>
     
    List<org.kuali.rice.kns.web.ui.Row>
     
    List<org.kuali.rice.kns.lookup.HtmlData>
    getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject bo, List pkNames)
     
    static String
     
    protected org.kuali.rice.kns.lookup.HtmlData
    getEditRoleUrl(org.kuali.rice.kim.impl.role.RoleBo roleBo)
     
    protected Collection<String>
     
    protected String
     
    protected Collection<String>
     
    protected Collection<String>
     
    protected org.kuali.rice.kns.lookup.HtmlData
    getReturnAnchorHtmlData(org.kuali.rice.krad.bo.BusinessObject businessObject, Properties parameters, org.kuali.rice.kns.web.struts.form.LookupForm lookupForm, List returnKeys, org.kuali.rice.kns.document.authorization.BusinessObjectRestrictions businessObjectRestrictions)
     
    org.kuali.rice.core.api.criteria.QueryByCriteria
    This method will generate a QueryByCriteria which locates the roles matching the criteria passed into the fieldValues parameter, or null if the search would return zero results.
    protected Collection<String>
     
    List<org.kuali.rice.kns.web.ui.Row>
     
    List<org.kuali.rice.kns.web.ui.Row>
     
    List<? extends org.kuali.rice.krad.bo.BusinessObject>
     
    protected List<? extends org.kuali.rice.krad.bo.BusinessObject>
    getSearchResultsHelper(Map<String,String> fieldValues, boolean unbounded)
     
     
    void
    setAttrDefinitions(List<org.kuali.rice.kim.api.type.KimAttributeField> attrDefinitions)
     
    void
    setAttrRows(List<org.kuali.rice.kns.web.ui.Row> attrRows)
     
    void
    setRoleRows(List<org.kuali.rice.kns.web.ui.Row> roleRows)
     
    void
    setTypeId(String typeId)
     

    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, getSearchResultsUnbounded, hasExternalBusinessObjectProperty, isExternalBusinessObjectProperty, isSearchUsingOnlyPrimaryKeyValues, removeExternalizableBusinessObjectFieldValues

    Methods inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl

    addToReturnHref, allowsMaintenanceDeleteAction, applyConditionalLogicForFieldDisplay, applyFieldAuthorizationsFromNestedLookups, checkForAdditionalFields, getActionUrlHref, 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, getLookupService, getMaintenanceDocumentDictionaryService, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getSearchResultsActualSizeKnown, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, maskValueIfNecessary, performClear, performCustomAction, performLookup, setBackLocation, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setBusinessObjectService, setDataDictionaryService, setDocFormKey, setDocNum, setEncryptionService, setFieldConversions, setKualiInquirable, setLookupResultsService, setLookupService, setMaintenanceDocumentDictionaryService, setParameters, setParameterService, setParameterService, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameters, validateSearchParameterWildcardAndOperators

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • RoleLookupableHelperServiceImpl

      public RoleLookupableHelperServiceImpl()
  • Method Details

    • allowsMaintenanceNewOrCopyAction

      public boolean allowsMaintenanceNewOrCopyAction()
      Specified by:
      allowsMaintenanceNewOrCopyAction in interface org.kuali.rice.kns.lookup.LookupableHelperService
      Overrides:
      allowsMaintenanceNewOrCopyAction in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
    • allowsMaintenanceEditAction

      protected boolean allowsMaintenanceEditAction(org.kuali.rice.krad.bo.BusinessObject businessObject)
      Overrides:
      allowsMaintenanceEditAction in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
    • getCustomActionUrls

      public List<org.kuali.rice.kns.lookup.HtmlData> getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject bo, List pkNames)
      Specified by:
      getCustomActionUrls in interface org.kuali.rice.kns.lookup.LookupableHelperService
      Overrides:
      getCustomActionUrls in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
    • getEditRoleUrl

      protected org.kuali.rice.kns.lookup.HtmlData getEditRoleUrl(org.kuali.rice.kim.impl.role.RoleBo roleBo)
    • getReturnAnchorHtmlData

      protected org.kuali.rice.kns.lookup.HtmlData getReturnAnchorHtmlData(org.kuali.rice.krad.bo.BusinessObject businessObject, Properties parameters, org.kuali.rice.kns.web.struts.form.LookupForm lookupForm, List returnKeys, org.kuali.rice.kns.document.authorization.BusinessObjectRestrictions businessObjectRestrictions)
      Overrides:
      getReturnAnchorHtmlData in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
    • getSearchResults

      public List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResults(Map<String,String> fieldValues)
      Specified by:
      getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperService
      Overrides:
      getSearchResults in class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
    • getRoleRows

      public List<org.kuali.rice.kns.web.ui.Row> getRoleRows()
    • setRoleRows

      public void setRoleRows(List<org.kuali.rice.kns.web.ui.Row> roleRows)
    • getAttrDefinitions

      public List<org.kuali.rice.kim.api.type.KimAttributeField> getAttrDefinitions()
    • setAttrDefinitions

      public void setAttrDefinitions(List<org.kuali.rice.kim.api.type.KimAttributeField> attrDefinitions)
    • getAttrRows

      public List<org.kuali.rice.kns.web.ui.Row> getAttrRows()
    • setAttrRows

      public void setAttrRows(List<org.kuali.rice.kns.web.ui.Row> attrRows)
    • getTypeId

      public String getTypeId()
    • setTypeId

      public void setTypeId(String typeId)
    • getRows

      public List<org.kuali.rice.kns.web.ui.Row> getRows()
      Specified by:
      getRows in interface org.kuali.rice.kns.lookup.LookupableHelperService
      Overrides:
      getRows in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
    • getSearchResultsHelper

      protected List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResultsHelper(Map<String,String> fieldValues, boolean unbounded)
      Overrides:
      getSearchResultsHelper in class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
    • getCustomRoleInquiryHref

      public static String getCustomRoleInquiryHref(String href)
    • getRoleCriteria

      public org.kuali.rice.core.api.criteria.QueryByCriteria getRoleCriteria(Map<String,String> fieldValues)
      This method will generate a QueryByCriteria which locates the roles matching the criteria passed into the fieldValues parameter, or null if the search would return zero results.
      Parameters:
      fieldValues - A Map of the desired criteria to use when finding roles
      Returns:
      A QueryByCriteria object which can be used to locate matching roles in the database or null if the search would yield zero results
    • getRoleIdsForPrincipalName

      protected Collection<String> getRoleIdsForPrincipalName(String principalName)
    • getPermissionRoleIds

      protected Collection<String> getPermissionRoleIds(Map<String,String> permCrit)
    • getResponsibilityRoleIds

      protected Collection<String> getResponsibilityRoleIds(Map<String,String> respCrit)
    • getGroupCriteriaRoleIds

      protected Collection<String> getGroupCriteriaRoleIds(Map<String,String> groupCrit)
    • getMaintenanceDocumentTypeName

      protected String getMaintenanceDocumentTypeName()
      Overrides:
      getMaintenanceDocumentTypeName in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl