public interface DocumentAction extends ExtensionSingleton
Modifier and Type | Method and Description |
---|---|
void |
execute(Document document,
List<Document> documents) |
String |
getDescription()
Returns a paragraph with the action description for this document
type.
|
DocumentActionGroup |
getGroup()
Gets the group name for this action.
|
String |
getId()
Gets the unique identifier for this action.
|
int |
getOrder()
Representa el orden en el que se presentara la accion entre
elresto de acciones de este tipo documento alla donde estas se
presenten.
|
String |
getTitle()
Returns a phrase with the action title for this document.type.
|
boolean |
isAvailable(Document document,
List<Document> documents) |
boolean |
isVisible(Document document,
List<Document> documents) |
String getId()
void execute(Document document, List<Document> documents)
document
- Optionally a document with a special role or
null if there is not a document with a special roledocuments
- Documents to manageDocumentActionGroup getGroup()
int getOrder()
String getTitle()
String getDescription()