org.kuali.kfs.sys.businessobject.lookup
Class BatchFileLookupableHelperServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
      extended by org.kuali.kfs.sys.businessobject.lookup.BatchFileLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.lookup.LookupableHelperService

public class BatchFileLookupableHelperServiceImpl
extends org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl

See Also:
Serialized Form

Nested Class Summary
protected  class BatchFileLookupableHelperServiceImpl.BatchFileFinder
           
protected  class BatchFileLookupableHelperServiceImpl.LastModifiedDateFileFilter
           
protected  class BatchFileLookupableHelperServiceImpl.SubDirectoryFileFilter
           
 
Field Summary
protected  BatchFileAdminAuthorizationService batchFileAdminAuthorizationService
           
protected  org.kuali.rice.kns.service.DateTimeService dateTimeService
           
 
Fields 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, LOG, 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
BatchFileLookupableHelperServiceImpl()
           
 
Method Summary
protected  boolean canDeleteFile(BatchFile batchFile)
           
protected  boolean canDownloadFile(BatchFile batchFile)
           
 List<org.kuali.rice.kns.lookup.HtmlData> getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject businessObject, List pkNames)
           
protected  org.kuali.rice.kns.lookup.HtmlData getDeleteUrl(BatchFile batchFile)
           
protected  org.kuali.rice.kns.lookup.HtmlData getDownloadUrl(BatchFile batchFile)
           
protected  org.apache.commons.io.filefilter.IOFileFilter getFileNameBasedFilter(String fileNamePattern)
           
protected  org.apache.commons.io.filefilter.IOFileFilter getLastModifiedDateBasedFilter(String lastModifiedDatePattern)
           
protected  org.apache.commons.io.filefilter.IOFileFilter getPathBasedFileFilter()
           
 List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(Map<String,String> fieldValues)
           
protected  List<File> getSelectedDirectories(String[] selectedPaths)
           
protected  String[] getSelectedPaths()
           
 void setBatchFileAdminAuthorizationService(BatchFileAdminAuthorizationService batchFileAdminAuthorizationService)
          Sets the batchFileAdminAuthorizationService attribute value.
 void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
           
 void validateSearchParameters(Map fieldValues)
           
 
Methods inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
addToReturnHref, allowsMaintenanceDeleteAction, allowsMaintenanceEditAction, allowsMaintenanceNewOrCopyAction, allowsNewOrCopyAction, 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, getMaintenanceDocumentTypeName, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPrimaryKeyFieldLabels, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnAnchorHtmlData, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getRows, getSearchResultsUnbounded, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, isSearchUsingOnlyPrimaryKeyValues, maskValueIfNecessary, performClear, performCustomAction, performLookup, preprocessDateFields, setBackLocation, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setBusinessObjectService, setDataDictionaryService, setDocFormKey, setDocNum, setEncryptionService, setFieldConversions, setKualiInquirable, setLookupResultsService, setLookupService, setMaintenanceDocumentDictionaryService, setParameters, setParameterService, setParameterService, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameterWildcardAndOperators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dateTimeService

protected org.kuali.rice.kns.service.DateTimeService dateTimeService

batchFileAdminAuthorizationService

protected BatchFileAdminAuthorizationService batchFileAdminAuthorizationService
Constructor Detail

BatchFileLookupableHelperServiceImpl

public BatchFileLookupableHelperServiceImpl()
Method Detail

getSearchResults

public List<? extends org.kuali.rice.kns.bo.BusinessObject> getSearchResults(Map<String,String> fieldValues)
Specified by:
getSearchResults in interface org.kuali.rice.kns.lookup.LookupableHelperService
Specified by:
getSearchResults in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl

getPathBasedFileFilter

protected org.apache.commons.io.filefilter.IOFileFilter getPathBasedFileFilter()

getFileNameBasedFilter

protected org.apache.commons.io.filefilter.IOFileFilter getFileNameBasedFilter(String fileNamePattern)

getLastModifiedDateBasedFilter

protected org.apache.commons.io.filefilter.IOFileFilter getLastModifiedDateBasedFilter(String lastModifiedDatePattern)

getSelectedDirectories

protected List<File> getSelectedDirectories(String[] selectedPaths)

getSelectedPaths

protected String[] getSelectedPaths()

setDateTimeService

public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)

getCustomActionUrls

public List<org.kuali.rice.kns.lookup.HtmlData> getCustomActionUrls(org.kuali.rice.kns.bo.BusinessObject businessObject,
                                                                    List pkNames)
Specified by:
getCustomActionUrls in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
getCustomActionUrls in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl

canDownloadFile

protected boolean canDownloadFile(BatchFile batchFile)

canDeleteFile

protected boolean canDeleteFile(BatchFile batchFile)

getDownloadUrl

protected org.kuali.rice.kns.lookup.HtmlData getDownloadUrl(BatchFile batchFile)

getDeleteUrl

protected org.kuali.rice.kns.lookup.HtmlData getDeleteUrl(BatchFile batchFile)

validateSearchParameters

public void validateSearchParameters(Map fieldValues)
Specified by:
validateSearchParameters in interface org.kuali.rice.kns.lookup.LookupableHelperService
Overrides:
validateSearchParameters in class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
See Also:
AbstractLookupableHelperServiceImpl.validateSearchParameters(java.util.Map)

setBatchFileAdminAuthorizationService

public void setBatchFileAdminAuthorizationService(BatchFileAdminAuthorizationService batchFileAdminAuthorizationService)
Sets the batchFileAdminAuthorizationService attribute value.

Parameters:
batchFileAdminAuthorizationService - The batchFileAdminAuthorizationService to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.