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,org.kuali.rice.kns.lookup.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(org.kuali.rice.krad.bo.BusinessObject businessObject) booleanList<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 Stringprotected org.kuali.rice.kns.lookup.HtmlDatagetEditRoleUrl(org.kuali.rice.kim.impl.role.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 org.kuali.rice.kns.lookup.HtmlDatagetReturnAnchorHtmlData(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.QueryByCriteriagetRoleCriteria(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) List<org.kuali.rice.kns.web.ui.Row> List<org.kuali.rice.kns.web.ui.Row> getRows()List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResults(Map<String, String> fieldValues) protected List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResultsHelper(Map<String, String> fieldValues, boolean unbounded) voidsetAttrDefinitions(List<org.kuali.rice.kim.api.type.KimAttributeField> attrDefinitions) voidsetAttrRows(List<org.kuali.rice.kns.web.ui.Row> attrRows) voidsetRoleRows(List<org.kuali.rice.kns.web.ui.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 interfaceorg.kuali.rice.kns.lookup.LookupableHelperService- Overrides:
allowsMaintenanceNewOrCopyActionin classorg.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
-
allowsMaintenanceEditAction
protected boolean allowsMaintenanceEditAction(org.kuali.rice.krad.bo.BusinessObject businessObject) - Overrides:
allowsMaintenanceEditActionin classorg.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:
getCustomActionUrlsin interfaceorg.kuali.rice.kns.lookup.LookupableHelperService- Overrides:
getCustomActionUrlsin classorg.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:
getReturnAnchorHtmlDatain classorg.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
-
getSearchResults
public List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResults(Map<String, String> fieldValues) - Specified by:
getSearchResultsin interfaceorg.kuali.rice.kns.lookup.LookupableHelperService- Overrides:
getSearchResultsin classorg.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
-
getRoleRows
-
setRoleRows
-
getAttrDefinitions
-
setAttrDefinitions
-
getAttrRows
-
setAttrRows
-
getTypeId
-
setTypeId
-
getRows
- Specified by:
getRowsin interfaceorg.kuali.rice.kns.lookup.LookupableHelperService- Overrides:
getRowsin classorg.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
-
getSearchResultsHelper
protected List<? extends org.kuali.rice.krad.bo.BusinessObject> getSearchResultsHelper(Map<String, String> fieldValues, boolean unbounded) - Overrides:
getSearchResultsHelperin classorg.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl
-
getCustomRoleInquiryHref
-
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
-
getPermissionRoleIds
-
getResponsibilityRoleIds
-
getGroupCriteriaRoleIds
-
getMaintenanceDocumentTypeName
- Overrides:
getMaintenanceDocumentTypeNamein classorg.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
-