@Name(value="bulkEditActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class BulkEditActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
documentManager |
protected DocumentsListsManager |
documentsListsManager |
protected org.jboss.seam.faces.FacesMessages |
facesMessages |
protected DocumentModel |
fictiveDocumentModel |
protected Map<String,String> |
messages |
protected NavigationContext |
navigationContext |
static String |
SELECTION_EDITED |
protected TypeManager |
typeManager |
Constructor and Description |
---|
BulkEditActions() |
Modifier and Type | Method and Description |
---|---|
String |
bulkEditSelection() |
void |
bulkEditSelectionNoRedirect()
Deprecated.
since 5.7. Use
bulkEditSelection() . |
void |
cancel() |
DocumentModel |
getBulkEditDocumentModel() |
boolean |
getCanEdit() |
protected List<String> |
getCommonSchemas()
Deprecated.
not yet used since 5.7
|
List<String> |
getCommonsLayouts()
Returns the common layouts of the current selected documents for the
edit mode. |
public static final String SELECTION_EDITED
@In(create=true) protected transient DocumentsListsManager documentsListsManager
@In(create=true) protected transient TypeManager typeManager
@In(create=true) protected transient CoreSession documentManager
@In(create=true) protected transient NavigationContext navigationContext
@In(create=true, required=false) protected org.jboss.seam.faces.FacesMessages facesMessages
protected DocumentModel fictiveDocumentModel
public BulkEditActions()
public List<String> getCommonsLayouts()
edit
mode.protected List<String> getCommonSchemas()
public DocumentModel getBulkEditDocumentModel()
public String bulkEditSelection()
@Deprecated public void bulkEditSelectionNoRedirect()
bulkEditSelection()
.public boolean getCanEdit()
@Observer(value="CURRENT_SELECTIONUpdated") public void cancel()
Copyright © 2015 Nuxeo SA. All rights reserved.