Method Summary |
|
public ResourceToolAction | getAction() |
public byte[] | getContent() Used by helper to access current value of resource's "content". |
public ContentEntity | getContentEntity() Used by helper to access an existing ContentEntity involved in this action. |
public InputStream | getContentStream() Used by helper to access current value of resource's "content" in cases where size
or type of content requires stream access. |
public String | getContentstring() Used by helper to access current value of resource's "content" as a UTF-8 string. |
public String | getErrorMessage() Used by the Resources tool to retrieve error message that will be shown to user in
its list view after completion of helper activity in which "error encountered" is set
to true and an error is reported. |
public String | getFileName() Used only for actions of type ResourceToolAction.ActionType.NEW_UPLOAD. |
public int | getFileUploadSize() Used only for actions of type ResourceToolAction.ActionType.NEW_UPLOAD. |
public String | getHelperId() |
public String | getInitializationId() Used by helper to access the initialization-id for this action, if an initialization-id
was returned when ResourcesAction invoked the InteractionAction.initializeAction() method. |
public String | getMimeType() Used by helper to access current mimetype of resource. |
public Object | getPropertyValue(String name) Used by helper to access current value of any resource property that has been specified
by registrant in InteractionAction. |
public byte[] | getRevisedContent() Used by ResourceAction to access helper's revised value of resource's "content". |
public InputStream | getRevisedContentStream() Used by ResourceAction to access helper's revised value of resource's "content". |
public Object | getRevisedListItem() Used by the Resources tool to retrieve aListItem from an individual pipe
contained within a MultiFileUploadPipe. |
public String | getRevisedMimeType() Used by ResourceAction to access helper's revised value for mimetype of resource. |
public Map | getRevisedResourceProperties() Used by ResourceAction to access helper's revisions to values of resource properties. |
public boolean | isActionCanceled() May be accessed by ResourcesAction after completion of helper activity to determine
whether action was canceled. |
public boolean | isActionCompleted() |
public boolean | isErrorEncountered() May be accessed by ResourcesAction after completion of helper activity to determine
whether an error was encountered. |
public void | setActionCanceled(boolean actionCanceled) Used by helper to indicate that User canceled the action and the action was not completed. |
public void | setActionCompleted(boolean actionCompleted) |
public void | setContent(byte[] content) Used by ResourcesAction to provide helper with current value of resource's "content". |
public void | setContentEntity(ContentEntity entity) Used by ResourcesAction to provide an existing ContentEntity involved in this action. |
public void | setContentStream(InputStream ostream) Used by ResourcesAction to provide helper with alternative access to current value of resource's "content". |
public void | setErrorEncountered(boolean errorEncountered) Used by helper to indicate that an error was encountered which prevented completion
of the action. |
public void | setErrorMessage(String msg) Used by helper to report error to user after completion of helper's portion of wizard. |
public void | setFileName(String fileName) Used only for actions of type ResourceToolAction.ActionType.NEW_UPLOAD. |
public void | setHelperId(String helperId) |
public void | setInitializationId(String id) Used by ResourcesAction to provide a value for the initialization-id. |
public void | setMimeType(String type) Used by ResourcesAction to provide helper with mimetype of resource. |
public void | setResourceProperty(String key, List list) Used by ResourcesAction to provide helper with current value of a requested resource property
whose value is a List of Strings. |
public void | setResourceProperty(String name, String value) Used by ResourcesAction to provide helper with current value of a requested resource property
whose value is a single String. |
public void | setRevisedContent(byte[] content) Used by helper to provide ResourcesAction with revised value of resource's "content". |
public void | setRevisedContentStream(InputStream stream) Used by helper to provide ResourcesAction with revised value of resource's "content". |
public void | setRevisedListItem(Object item) Used only for individual pipes contained within a MultiFileUploadPipe, to
return values of properties set in the helper. |
public void | setRevisedMimeType(String type) Used by helper to provide ResourcesAction with revised mimetype of resource. |
public void | setRevisedResourceProperty(String name, List list) Used by helper to provide ResourcesAction with revised value for a resource property
whose value is a List of Strings. |
public void | setRevisedResourceProperty(String name, String value) Used by helper to provide ResourcesAction with revised value for a resource property.
Any property other than "live" properties can be set with this method. |