|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgran.app.adapter.external.attachment.BaseSecuredAttachmentAdapter
| Constructor Summary | |
BaseSecuredAttachmentAdapter()
|
|
| Method Summary | |
java.lang.String |
createAttachmentImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String name,
java.lang.String description,
javax.activation.DataHandler data,
boolean sendMail)
Creates attachment. |
java.lang.String |
createAttachmentImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String name,
java.lang.String description,
org.apache.struts.upload.FormFile formFile)
|
void |
deleteAttachmentImpl(SessionContext sc,
java.lang.String attachmentId)
Deletes attachments. |
javax.activation.DataHandler |
getAttachmentImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String fileName,
javax.activation.DataHandler result)
|
java.lang.String |
getDescription()
Get description of adapter as plain text |
boolean |
init()
Initialize adapter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseSecuredAttachmentAdapter()
| Method Detail |
public boolean init()
Adapter
init in interface Adapterpublic java.lang.String getDescription()
Adapter
getDescription in interface Adapter
public javax.activation.DataHandler getAttachmentImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String fileName,
javax.activation.DataHandler result)
throws GranException
getAttachmentImpl in interface SecuredAttachmentAdapterGranException
public void deleteAttachmentImpl(SessionContext sc,
java.lang.String attachmentId)
throws GranException
SecuredAttachmentAdapter
deleteAttachmentImpl in interface SecuredAttachmentAdaptersc -
GranException
public java.lang.String createAttachmentImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String name,
java.lang.String description,
javax.activation.DataHandler data,
boolean sendMail)
throws GranException
SecuredAttachmentAdapter
createAttachmentImpl in interface SecuredAttachmentAdaptersc - taskId - the task IDname - filename for attachmentdata - a javax.activation.DataHandler instance
GranException
public java.lang.String createAttachmentImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String name,
java.lang.String description,
org.apache.struts.upload.FormFile formFile)
throws GranException
createAttachmentImpl in interface SecuredAttachmentAdapterGranException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||