Package org.kuali.rice.kim.lookup
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,LookupableHelperService
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
LOG, searchUsingOnlyPrimaryKeyValuesFields 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanallowsMaintenanceEditAction(BusinessObject businessObject) booleanList<org.kuali.rice.kim.api.type.KimAttributeField>getCustomActionUrls(BusinessObject bo, List pkNames) static Stringprotected HtmlDatagetEditRoleUrl(RoleBo roleBo) protected Collection<String>getGroupCriteriaRoleIds(Map<String, String> groupCrit) protected Stringprotected Collection<String>getPermissionRoleIds(Map<String, String> permCrit) protected Collection<String>getResponsibilityRoleIds(Map<String, String> respCrit) protected HtmlDatagetReturnAnchorHtmlData(BusinessObject businessObject, Properties parameters, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) 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.protected Collection<String>getRoleIdsForPrincipalName(String principalName) getRows()List<? extends BusinessObject>getSearchResults(Map<String, String> fieldValues) protected List<? extends BusinessObject>getSearchResultsHelper(Map<String, String> fieldValues, boolean unbounded) voidsetAttrDefinitions(List<org.kuali.rice.kim.api.type.KimAttributeField> attrDefinitions) voidsetAttrRows(List<Row> attrRows) voidsetRoleRows(List<Row> roleRows) voidMethods inherited from class org.kuali.rice.kim.lookup.KimLookupableHelperServiceImpl
allowsNewOrCopyAction, getDocumentHelperService, getTypeInfoServiceMethods inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
getExternalBusinessObjectProperty, getExternalizableBusinessObjectClass, getExternalizableBusinessObjectFieldValues, getExternalizableBusinessObjectProperties, getPrimaryKeyFieldLabels, getSearchResultsUnbounded, hasExternalBusinessObjectProperty, isExternalBusinessObjectProperty, isSearchUsingOnlyPrimaryKeyValues, removeExternalizableBusinessObjectFieldValuesMethods 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
-
Field Details
-
GROUP_CRITERIA
- See Also:
-
RESPONSIBILITY_CRITERIA
- See Also:
-
PERMISSION_CRITERIA
- See Also:
-
ROLE_MEMBER_ATTRIBUTE_CRITERIA
- See Also:
-
OTHER_CRITERIA
- See Also:
-
LOOKUP_PARM_PERMISSION_TEMPLATE_NAMESPACE
- See Also:
-
LOOKUP_PARM_PERMISSION_TEMPLATE_NAME
- See Also:
-
LOOKUP_PARM_PERMISSION_NAMESPACE
- See Also:
-
LOOKUP_PARM_PERMISSION_NAME
- See Also:
-
LOOKUP_PARM_RESP_TEMPLATE_NAMESPACE
- See Also:
-
LOOKUP_PARM_RESP_TEMPLATE_NAME
- See Also:
-
LOOKUP_PARM_RESP_NAMESPACE
- See Also:
-
LOOKUP_PARM_RESP_NAME
- See Also:
-
PERM_FIELD_NAMES
-
RESP_FIELD_NAMES
-
-
Constructor Details
-
RoleLookupableHelperServiceImpl
public RoleLookupableHelperServiceImpl()
-
-
Method Details
-
allowsMaintenanceNewOrCopyAction
public boolean allowsMaintenanceNewOrCopyAction()- Specified by:
allowsMaintenanceNewOrCopyActionin interfaceLookupableHelperService- Overrides:
allowsMaintenanceNewOrCopyActionin classAbstractLookupableHelperServiceImpl
-
allowsMaintenanceEditAction
- Overrides:
allowsMaintenanceEditActionin classAbstractLookupableHelperServiceImpl
-
getCustomActionUrls
- Specified by:
getCustomActionUrlsin interfaceLookupableHelperService- Overrides:
getCustomActionUrlsin classAbstractLookupableHelperServiceImpl
-
getEditRoleUrl
-
getReturnAnchorHtmlData
protected HtmlData getReturnAnchorHtmlData(BusinessObject businessObject, Properties parameters, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions) - Overrides:
getReturnAnchorHtmlDatain classAbstractLookupableHelperServiceImpl
-
getSearchResults
- Specified by:
getSearchResultsin interfaceLookupableHelperService- Overrides:
getSearchResultsin classKualiLookupableHelperServiceImpl
-
getRoleRows
-
setRoleRows
-
getAttrDefinitions
-
setAttrDefinitions
-
getAttrRows
-
setAttrRows
-
getTypeId
-
setTypeId
-
getRows
- Specified by:
getRowsin interfaceLookupableHelperService- Overrides:
getRowsin classAbstractLookupableHelperServiceImpl
-
getSearchResultsHelper
protected List<? extends BusinessObject> getSearchResultsHelper(Map<String, String> fieldValues, boolean unbounded) - Overrides:
getSearchResultsHelperin classKualiLookupableHelperServiceImpl
-
getCustomRoleInquiryHref
-
getRoleCriteria
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
-
getPermissionRoleIds
-
getResponsibilityRoleIds
-
getGroupCriteriaRoleIds
-
getMaintenanceDocumentTypeName
- Overrides:
getMaintenanceDocumentTypeNamein classAbstractLookupableHelperServiceImpl
-