public class RoleLookupableHelperServiceImpl extends KimLookupableHelperServiceImpl
| Modifier and Type | Field and Description |
|---|---|
protected static String |
GROUP_CRITERIA |
protected static String |
LOOKUP_PARM_PERMISSION_NAME |
protected static String |
LOOKUP_PARM_PERMISSION_NAMESPACE |
protected static String |
LOOKUP_PARM_PERMISSION_TEMPLATE_NAME |
protected static String |
LOOKUP_PARM_PERMISSION_TEMPLATE_NAMESPACE |
protected static String |
LOOKUP_PARM_RESP_NAME |
protected static String |
LOOKUP_PARM_RESP_NAMESPACE |
protected static String |
LOOKUP_PARM_RESP_TEMPLATE_NAME |
protected static String |
LOOKUP_PARM_RESP_TEMPLATE_NAMESPACE |
protected static String |
OTHER_CRITERIA |
protected static List<String> |
PERM_FIELD_NAMES |
protected static String |
PERMISSION_CRITERIA |
protected static List<String> |
RESP_FIELD_NAMES |
protected static String |
RESPONSIBILITY_CRITERIA |
protected static String |
ROLE_MEMBER_ATTRIBUTE_CRITERIA |
LOG, searchUsingOnlyPrimaryKeyValuesACTION_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 and Description |
|---|
RoleLookupableHelperServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowsMaintenanceEditAction(BusinessObject businessObject)
This overridden method ...
|
boolean |
allowsMaintenanceNewOrCopyAction()
This overridden method ...
|
List<KimAttributeField> |
getAttrDefinitions() |
List<Row> |
getAttrRows() |
List<HtmlData> |
getCustomActionUrls(BusinessObject bo,
List pkNames)
Child classes should override this method if they want to return some other action urls.
|
static String |
getCustomRoleInquiryHref(String href) |
protected HtmlData |
getEditRoleUrl(RoleBo roleBo) |
protected Collection<String> |
getGroupCriteriaRoleIds(Map<String,String> groupCrit) |
protected String |
getMaintenanceDocumentTypeName()
This overridden method ...
|
protected Collection<String> |
getPermissionRoleIds(Map<String,String> permCrit) |
protected Collection<String> |
getResponsibilityRoleIds(Map<String,String> respCrit) |
protected HtmlData |
getReturnAnchorHtmlData(BusinessObject businessObject,
Properties parameters,
LookupForm lookupForm,
List returnKeys,
BusinessObjectRestrictions businessObjectRestrictions) |
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.
|
protected Collection<String> |
getRoleIdsForPrincipalName(String principalName) |
List<Row> |
getRoleRows() |
List<Row> |
getRows()
Returns a list of Row objects to be used to generate the search query screen
Generally, setDataObjectClass needs to be called with a non-null value for proper operation
|
List<? extends BusinessObject> |
getSearchResults(Map<String,String> fieldValues)
Uses Lookup Service to provide a basic search.
|
protected List<? extends BusinessObject> |
getSearchResultsHelper(Map<String,String> fieldValues,
boolean unbounded)
This method does the actual search, with the parameters specified, and returns the result.
|
String |
getTypeId() |
void |
setAttrDefinitions(List<KimAttributeField> attrDefinitions) |
void |
setAttrRows(List<Row> attrRows) |
void |
setRoleRows(List<Row> roleRows) |
void |
setTypeId(String typeId) |
allowsNewOrCopyAction, getDocumentHelperService, getTypeInfoServicegetExternalBusinessObjectProperty, getExternalizableBusinessObjectClass, getExternalizableBusinessObjectFieldValues, getExternalizableBusinessObjectProperties, getPrimaryKeyFieldLabels, getSearchResultsUnbounded, hasExternalBusinessObjectProperty, isExternalBusinessObjectProperty, isSearchUsingOnlyPrimaryKeyValues, removeExternalizableBusinessObjectFieldValuesaddToReturnHref, 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, 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, validateSearchParameterWildcardAndOperatorsprotected static final String GROUP_CRITERIA
protected static final String RESPONSIBILITY_CRITERIA
protected static final String PERMISSION_CRITERIA
protected static final String ROLE_MEMBER_ATTRIBUTE_CRITERIA
protected static final String OTHER_CRITERIA
protected static final String LOOKUP_PARM_PERMISSION_TEMPLATE_NAMESPACE
protected static final String LOOKUP_PARM_PERMISSION_TEMPLATE_NAME
protected static final String LOOKUP_PARM_PERMISSION_NAMESPACE
protected static final String LOOKUP_PARM_PERMISSION_NAME
protected static final String LOOKUP_PARM_RESP_TEMPLATE_NAMESPACE
protected static final String LOOKUP_PARM_RESP_TEMPLATE_NAME
protected static final String LOOKUP_PARM_RESP_NAMESPACE
protected static final String LOOKUP_PARM_RESP_NAME
protected static List<String> PERM_FIELD_NAMES
protected static List<String> RESP_FIELD_NAMES
public RoleLookupableHelperServiceImpl()
public boolean allowsMaintenanceNewOrCopyAction()
allowsMaintenanceNewOrCopyAction in interface LookupableHelperServiceallowsMaintenanceNewOrCopyAction in class AbstractLookupableHelperServiceImplAbstractLookupableHelperServiceImpl.allowsMaintenanceNewOrCopyAction()protected boolean allowsMaintenanceEditAction(BusinessObject businessObject)
public List<HtmlData> getCustomActionUrls(BusinessObject bo, List pkNames)
AbstractLookupableHelperServiceImplgetCustomActionUrls in interface LookupableHelperServicegetCustomActionUrls in class AbstractLookupableHelperServiceImplLookupableHelperService#getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject, java.util.List, java.util.List pkNames)protected HtmlData getEditRoleUrl(RoleBo roleBo)
protected HtmlData getReturnAnchorHtmlData(BusinessObject businessObject, Properties parameters, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions)
getReturnAnchorHtmlData in class AbstractLookupableHelperServiceImplpublic List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
KualiLookupableHelperServiceImplgetSearchResults in interface LookupableHelperServicegetSearchResults in class KualiLookupableHelperServiceImplfieldValues - - Map containing prop name keys and search valuesLookupableHelperService.getSearchResults(java.util.Map)public List<Row> getRoleRows()
public void setRoleRows(List<Row> roleRows)
public List<KimAttributeField> getAttrDefinitions()
public void setAttrDefinitions(List<KimAttributeField> attrDefinitions)
public List<Row> getAttrRows()
public void setAttrRows(List<Row> attrRows)
public List<Row> getRows()
LookupableHelperServicegetRows in interface LookupableHelperServicegetRows in class AbstractLookupableHelperServiceImplprotected List<? extends BusinessObject> getSearchResultsHelper(Map<String,String> fieldValues, boolean unbounded)
KualiLookupableHelperServiceImplgetSearchResultsHelper in class KualiLookupableHelperServiceImplfieldValues - A Map of the fieldNames and fieldValues to be searched on.unbounded - Whether the results should be bounded or not to a certain max size.public static String getCustomRoleInquiryHref(String href)
public QueryByCriteria getRoleCriteria(Map<String,String> fieldValues)
fieldValues - A Map of the desired criteria to use when finding rolesprotected Collection<String> getRoleIdsForPrincipalName(String principalName)
protected Collection<String> getPermissionRoleIds(Map<String,String> permCrit)
protected Collection<String> getResponsibilityRoleIds(Map<String,String> respCrit)
protected Collection<String> getGroupCriteriaRoleIds(Map<String,String> groupCrit)
protected String getMaintenanceDocumentTypeName()
getMaintenanceDocumentTypeName in class AbstractLookupableHelperServiceImplAbstractLookupableHelperServiceImpl.getMaintenanceDocumentTypeName()Copyright © 2005–2015 The Kuali Foundation. All rights reserved.