|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgran.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 |
deleteAllAttachmentsImpl(java.lang.String taskid)
Delete attachment |
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 |
void |
saveAttachmentsFromMessageImpl(java.util.Map attaches,
java.lang.String userId,
java.lang.String taskId)
|
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 Adapter
public 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 AttachmentAdapter
gran.exception.GranException
public boolean buttonClickedImpl(java.lang.String name, com.oreilly.servlet.MultipartRequest multipartRequest, boolean result) throws gran.exception.GranException
AttachmentAdapter
buttonClickedImpl
in interface AttachmentAdapter
name
- - 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 AttachmentAdapter
taskid
- - 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 AttachmentAdapter
taskid
- - taskmultipartRequest
-
gran.exception.GranException
public void deleteAllAttachmentsImpl(java.lang.String taskid) throws gran.exception.GranException
AttachmentAdapter
deleteAllAttachmentsImpl
in interface AttachmentAdapter
taskid
- - task
gran.exception.GranException
public void saveAttachmentsFromMessageImpl(java.util.Map attaches, java.lang.String userId, java.lang.String taskId) throws gran.exception.GranException
saveAttachmentsFromMessageImpl
in interface AttachmentAdapter
gran.exception.GranException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |