public class PurgePendingAttachmentsStep extends AbstractStep
AttachmentServiceImpl, 
OLEConstants.SystemGroupParameterNames#PURGE_PENDING_ATTACHMENTS_STEP_MAX_AGEbatchInputFileType, dateTimeService, interrupted, name, parameterService| Constructor and Description | 
|---|
| PurgePendingAttachmentsStep() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | execute(String jobName,
              Date jobRunDate)Deletes all pending attachments that are older than a configured time (see class description) | 
| org.kuali.rice.krad.service.AttachmentService | getAttachmentService()Gets the attachmentService attribute. | 
| void | setAttachmentService(org.kuali.rice.krad.service.AttachmentService attachmentService)Sets the attachmentService attribute value. | 
afterPropertiesSet, getBatchInputFileType, getDateTimeService, getName, getParameterService, getRequiredDirectoryNames, interrupt, isInterrupted, setBatchInputFileType, setBeanName, setDateTimeService, setInterrupted, setParameterServiceprepareDirectoriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprepareDirectoriespublic PurgePendingAttachmentsStep()
public boolean execute(String jobName, Date jobRunDate)
jobName - the name of the job running the stepjobRunDate - the time/date the job is executedStep.execute(String, Date)public org.kuali.rice.krad.service.AttachmentService getAttachmentService()
public void setAttachmentService(org.kuali.rice.krad.service.AttachmentService attachmentService)
attachmentService - The attachmentService to set.Copyright © 2004–2014 The Kuali Foundation. All rights reserved.