| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
org.kuali.rice.kns.lookup.PessimisticLockLookupableHelperServiceImpl
public class PessimisticLockLookupableHelperServiceImpl
This class is the lookup helper for PessimisticLock objects
| Field Summary | |
|---|---|
| private  List<Row> | localRows | 
| private static org.apache.log4j.Logger | LOG | 
| private static String | OWNER_PRINCIPAL_ID_PROPERTY_NAME | 
| private static String | OWNER_PRINCIPAL_NAME_PROPERTY_NAME | 
| private static long | serialVersionUID | 
| Constructor Summary | |
|---|---|
| PessimisticLockLookupableHelperServiceImpl() | |
| Method Summary | |
|---|---|
|  List<HtmlData> | getCustomActionUrls(BusinessObject businessObject,
                                       List pkNames)Hides the applicable links when the PessimisticLock is not owned by the current user | 
|  List<Row> | getRows()This overridden method checks whether the user is an admin user according to PessimisticLockService.isPessimisticLockAdminUser(Person)and if the user is not an admin user the user field is set to Read Only and the lookup field | 
|  List<? extends BusinessObject> | getSearchResults(Map<String,String> fieldValues)This method implementation is used to search for objects | 
|  void | validateSearchParameters(Map fieldValues)Checks that any required search fields have value. | 
| 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 static final long serialVersionUID
private static final String OWNER_PRINCIPAL_ID_PROPERTY_NAME
private static final String OWNER_PRINCIPAL_NAME_PROPERTY_NAME
private List<Row> localRows
| Constructor Detail | 
|---|
public PessimisticLockLookupableHelperServiceImpl()
| Method Detail | 
|---|
public List<HtmlData> getCustomActionUrls(BusinessObject businessObject,
                                          List pkNames)
getCustomActionUrls in interface LookupableHelperServicegetCustomActionUrls in class AbstractLookupableHelperServiceImplorg.kuali.rice.kns.lookup.LookupableHelperService#getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject, java.util.List, java.util.List pkNames)public List<Row> getRows()
PessimisticLockService.isPessimisticLockAdminUser(Person) and if the user is not an admin user the user field is set to Read Only and the lookup field
getRows in interface LookupableHelperServicegetRows in class AbstractLookupableHelperServiceImplAbstractLookupableHelperServiceImpl.getRows()public List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
getSearchResults in interface LookupableHelperServicegetSearchResults in class AbstractLookupableHelperServiceImplfieldValues - - Map of property/value pairs
AbstractLookupableHelperServiceImpl.getSearchResults(java.util.Map)public void validateSearchParameters(Map fieldValues)
AbstractLookupableHelperServiceImpl
validateSearchParameters in interface LookupableHelperServicevalidateSearchParameters in class AbstractLookupableHelperServiceImplfieldValues - - Map of property/value pairsorg.kuali.core.lookup.LookupableHelperService#validateSearchParameters(java.util.Map)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||