|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.krad.service.impl.AttachmentServiceImpl
@Transactional public class AttachmentServiceImpl
Attachment service implementation
Constructor Summary | |
---|---|
AttachmentServiceImpl()
|
Method Summary | |
---|---|
org.kuali.rice.krad.bo.Attachment |
createAttachment(org.kuali.rice.krad.bo.PersistableBusinessObject parent,
String uploadedFileName,
String mimeType,
int fileSize,
InputStream fileContents,
String attachmentTypeCode)
|
void |
deleteAttachmentContents(org.kuali.rice.krad.bo.Attachment attachment)
|
void |
deletePendingAttachmentsModifiedBefore(long modificationTime)
|
org.kuali.rice.krad.bo.Attachment |
getAttachmentByNoteId(Long noteId)
Retrieves an Attachment by note identifier. |
AttachmentDao |
getAttachmentDao()
Retrieves a data access object |
org.kuali.rice.core.api.config.property.ConfigurationService |
getKualiConfigurationService()
Gets the configService attribute. |
void |
moveAttachmentWherePending(org.kuali.rice.krad.bo.Note note)
|
InputStream |
retrieveAttachmentContents(org.kuali.rice.krad.bo.Attachment attachment)
/* (non-Javadoc) |
void |
setAttachmentDao(AttachmentDao d)
Sets the data access object |
void |
setKualiConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configService)
Sets the configService attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentServiceImpl()
Method Detail |
---|
public org.kuali.rice.krad.bo.Attachment getAttachmentByNoteId(Long noteId)
getAttachmentByNoteId
in interface org.kuali.rice.krad.service.AttachmentService
AttachmentService.getAttachmentByNoteId(java.lang.Long)
public org.kuali.rice.krad.bo.Attachment createAttachment(org.kuali.rice.krad.bo.PersistableBusinessObject parent, String uploadedFileName, String mimeType, int fileSize, InputStream fileContents, String attachmentTypeCode) throws IOException
createAttachment
in interface org.kuali.rice.krad.service.AttachmentService
IOException
org.kuali.rice.krad.service.DocumentAttachmentService#createAttachment(java.lang.String, java.lang.String, int,
java.io.InputStream, Document)
public void moveAttachmentWherePending(org.kuali.rice.krad.bo.Note note)
moveAttachmentWherePending
in interface org.kuali.rice.krad.service.AttachmentService
public void deleteAttachmentContents(org.kuali.rice.krad.bo.Attachment attachment)
deleteAttachmentContents
in interface org.kuali.rice.krad.service.AttachmentService
public InputStream retrieveAttachmentContents(org.kuali.rice.krad.bo.Attachment attachment) throws IOException
retrieveAttachmentContents
in interface org.kuali.rice.krad.service.AttachmentService
IOException
org.kuali.rice.krad.service.DocumentAttachmentService#retrieveAttachmentContents(org.kuali.rice.krad.document.DocumentAttachment)
public void deletePendingAttachmentsModifiedBefore(long modificationTime)
deletePendingAttachmentsModifiedBefore
in interface org.kuali.rice.krad.service.AttachmentService
AttachmentService.deletePendingAttachmentsModifiedBefore(long)
public void setAttachmentDao(AttachmentDao d)
d
- public AttachmentDao getAttachmentDao()
public org.kuali.rice.core.api.config.property.ConfigurationService getKualiConfigurationService()
public void setKualiConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService configService)
configService
- The configService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |