|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.webapp.bulkedit.BulkEditHelper
public class BulkEditHelper
Helper used for bulk edit actions
Field Summary | |
---|---|
static String |
BULK_EDIT_PREFIX
|
Method Summary | |
---|---|
static void |
copyMetadata(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs)
Copy all the marked properties (stored in the ContextData of sourceDoc ) from sourceDoc to all the targetDocs . |
static List<String> |
getCommonLayouts(TypeManager typeManager,
List<DocumentModel> docs)
Returns the common layouts of the docs for the edit mode. |
static List<String> |
getCommonLayouts(TypeManager typeManager,
List<DocumentModel> docs,
String mode)
Returns the common layouts of the docs for the given layout
mode . |
static List<String> |
getCommonSchemas(List<DocumentModel> docs)
Returns the common schemas of the docs . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BULK_EDIT_PREFIX
Method Detail |
---|
public static List<String> getCommonLayouts(TypeManager typeManager, List<DocumentModel> docs)
docs
for the edit
mode.
public static List<String> getCommonLayouts(TypeManager typeManager, List<DocumentModel> docs, String mode)
docs
for the given layout
mode
.
public static List<String> getCommonSchemas(List<DocumentModel> docs)
docs
.
public static void copyMetadata(CoreSession session, DocumentModel sourceDoc, List<DocumentModel> targetDocs) throws ClientException
sourceDoc
) from sourceDoc
to all the targetDocs
.
session
- the CoreSession
to usesourceDoc
- the doc where to get the metadata to copytargetDocs
- the docs where to set the metadatas
ClientException
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |