|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gran.app.adapter.kernel.attachment.BaseAttachmentAdapter
| Constructor Summary | |
BaseAttachmentAdapter()
|
|
| Method Summary | |
boolean |
buttonClickedImpl(java.lang.String name,
com.oreilly.servlet.MultipartRequest multipartRequest,
boolean result)
Check that button clicked. |
void |
deleteAttachmentsImpl(java.lang.String taskid,
com.oreilly.servlet.MultipartRequest multipartRequest)
Delete attachment |
java.util.Collection |
getAttachmentsImpl(java.lang.String taskid,
java.util.Collection result)
Get list of attachments |
java.lang.String |
getDescription()
Get description of adapter as plain text |
boolean |
init()
Initialize adapter. |
void |
saveAttachmentImpl(java.lang.String taskid,
com.oreilly.servlet.MultipartRequest multipartRequest)
Save attachment |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseAttachmentAdapter()
| Method Detail |
public boolean init()
Adapter
init in interface Adapterpublic java.lang.String getDescription()
Adapter
getDescription in interface Adapter
public java.util.Collection getAttachmentsImpl(java.lang.String taskid,
java.util.Collection result)
throws gran.exception.GranException
getAttachmentsImpl in interface AttachmentAdaptergran.exception.GranException
public boolean buttonClickedImpl(java.lang.String name,
com.oreilly.servlet.MultipartRequest multipartRequest,
boolean result)
throws gran.exception.GranException
AttachmentAdapter
buttonClickedImpl in interface AttachmentAdaptername - - button name
gran.exception.GranException
public void deleteAttachmentsImpl(java.lang.String taskid,
com.oreilly.servlet.MultipartRequest multipartRequest)
throws gran.exception.GranException
AttachmentAdapter
deleteAttachmentsImpl in interface AttachmentAdaptertaskid - - taskmultipartRequest - - contains info about deleted attachments
gran.exception.GranException
public void saveAttachmentImpl(java.lang.String taskid,
com.oreilly.servlet.MultipartRequest multipartRequest)
throws gran.exception.GranException
AttachmentAdapter
saveAttachmentImpl in interface AttachmentAdaptertaskid - - taskmultipartRequest -
gran.exception.GranException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||