|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class RoleLookupableHelperServiceImpl
This is a description of what this class does - shyu don't forget to fill this in.
Field Summary | |
---|---|
private AttributeDefinitionMap |
attrDefinitions
|
private List<Row> |
attrRows
|
private static org.apache.log4j.Logger |
LOG
|
private static String |
ROLE_ID_URL_KEY
|
private RoleDao |
roleDao
|
private List<Row> |
roleRows
|
private String |
typeId
|
Fields inherited from class org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl |
---|
searchUsingOnlyPrimaryKeyValues |
Constructor Summary | |
---|---|
RoleLookupableHelperServiceImpl()
|
Method Summary | |
---|---|
AttributeDefinitionMap |
getAttrDefinitions()
|
private String |
getAttrDefnId(AttributeDefinition definition)
|
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)
|
(package private) static String |
getCustomRoleInquiryHref(String backLocation,
String href)
|
protected HtmlData |
getEditRoleUrl(org.kuali.rice.kim.impl.role.RoleBo roleBo)
|
HtmlData |
getInquiryUrl(BusinessObject bo,
String propertyName)
Returns the inquiry url for a field if one exist. |
protected HtmlData |
getReturnAnchorHtmlData(BusinessObject businessObject,
Properties parameters,
LookupForm lookupForm,
List returnKeys,
BusinessObjectRestrictions businessObjectRestrictions)
|
RoleDao |
getRoleDao()
|
List<Row> |
getRoleRows()
|
private List<KeyValue> |
getRoleTypeOptions()
|
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(AttributeDefinitionMap attrDefinitions)
|
void |
setAttrRows(List<Row> attrRows)
|
void |
setRoleDao(RoleDao roleDao)
|
void |
setRoleRows(List<Row> roleRows)
|
void |
setTypeId(String typeId)
|
Methods inherited from class org.kuali.rice.kim.lookup.KimLookupableHelperServiceImpl |
---|
allowsNewOrCopyAction, getDocumentHelperService, getTypeInfoService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.log4j.Logger LOG
private List<Row> roleRows
private List<Row> attrRows
private RoleDao roleDao
private String typeId
private AttributeDefinitionMap attrDefinitions
private static final String ROLE_ID_URL_KEY
Constructor Detail |
---|
public RoleLookupableHelperServiceImpl()
Method Detail |
---|
public List<HtmlData> getCustomActionUrls(BusinessObject bo, List pkNames)
AbstractLookupableHelperServiceImpl
getCustomActionUrls
in interface LookupableHelperService
getCustomActionUrls
in class AbstractLookupableHelperServiceImpl
LookupableHelperService#getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject, java.util.List, java.util.List pkNames)
protected HtmlData getEditRoleUrl(org.kuali.rice.kim.impl.role.RoleBo roleBo)
protected HtmlData getReturnAnchorHtmlData(BusinessObject businessObject, Properties parameters, LookupForm lookupForm, List returnKeys, BusinessObjectRestrictions businessObjectRestrictions)
getReturnAnchorHtmlData
in class AbstractLookupableHelperServiceImpl
public List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
KualiLookupableHelperServiceImpl
getSearchResults
in interface LookupableHelperService
getSearchResults
in class KualiLookupableHelperServiceImpl
fieldValues
- - Map containing prop name keys and search values
LookupableHelperService.getSearchResults(java.util.Map)
private List<KeyValue> getRoleTypeOptions()
private String getAttrDefnId(AttributeDefinition definition)
public List<Row> getRoleRows()
public void setRoleRows(List<Row> roleRows)
public RoleDao getRoleDao()
public void setRoleDao(RoleDao roleDao)
public AttributeDefinitionMap getAttrDefinitions()
public void setAttrDefinitions(AttributeDefinitionMap attrDefinitions)
public List<Row> getAttrRows()
public void setAttrRows(List<Row> attrRows)
public String getTypeId()
public void setTypeId(String typeId)
public List<Row> getRows()
LookupableHelperService
getRows
in interface LookupableHelperService
getRows
in class AbstractLookupableHelperServiceImpl
protected List<? extends BusinessObject> getSearchResultsHelper(Map<String,String> fieldValues, boolean unbounded)
KualiLookupableHelperServiceImpl
getSearchResultsHelper
in class KualiLookupableHelperServiceImpl
fieldValues
- 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 HtmlData getInquiryUrl(BusinessObject bo, String propertyName)
AbstractLookupableHelperServiceImpl
getInquiryUrl
in interface LookupableHelperService
getInquiryUrl
in class AbstractLookupableHelperServiceImpl
bo
- the business object instance to build the urls forpropertyName
- the property which links to an inquirable
org.kuali.rice.krad.lookup.AbstractLookupableHelperServiceImpl#getInquiryUrl(org.kuali.rice.krad.bo.BusinessObject, java.lang.String)
public static String getCustomRoleInquiryHref(String href)
static String getCustomRoleInquiryHref(String backLocation, String href)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |