@Test public void testCommonLayouts() throws Exception { List<DocumentModel> docs = createTestDocuments(); List<String> commonLayouts = BulkEditHelper.getCommonLayouts( typeManager, docs); assertFalse(commonLayouts.isEmpty()); assertEquals(2, commonLayouts.size()); assertTrue(commonLayouts.contains("heading")); assertTrue(commonLayouts.contains("dublincore")); assertFalse(commonLayouts.contains("note")); assertFalse(commonLayouts.contains("file")); }
public static List<String> getCommonLayouts(TypeManager typeManager, List<DocumentModel> docs) { return getCommonLayouts(typeManager, docs, BuiltinModes.EDIT); }
BulkEditHelper { public static List<String> getCommonLayouts(TypeManager typeManager, List<DocumentModel> docs) { return getCommonLayouts(typeManager, docs, BuiltinModes.EDIT); } }
BulkEditHelper { public static List<String> getCommonLayouts(TypeManager typeManager, List<DocumentModel> docs) { return getCommonLayouts(typeManager, docs, BuiltinModes.EDIT); } private  BulkEditHelper(); }
BulkEditHelper { public static List<String> getCommonLayouts(TypeManager typeManager, List<DocumentModel> docs) { return getCommonLayouts(typeManager, docs, BuiltinModes.EDIT); } private  BulkEditHelper(); static List<String> getCommonLayouts(TypeManager typeManager,
            List<DocumentModel> docs); static List<String> getCommonLayouts(TypeManager typeManager,
            List<DocumentModel> docs, String mode); static List<String> getCommonSchemas(List<DocumentModel> docs); @Deprecated static void copyMetadata(CoreSession session,
            DocumentModel sourceDoc, List<DocumentModel> targetDocs); }
BulkEditHelper { public static List<String> getCommonLayouts(TypeManager typeManager, List<DocumentModel> docs) { return getCommonLayouts(typeManager, docs, BuiltinModes.EDIT); } private  BulkEditHelper(); static List<String> getCommonLayouts(TypeManager typeManager,
            List<DocumentModel> docs); static List<String> getCommonLayouts(TypeManager typeManager,
            List<DocumentModel> docs, String mode); static List<String> getCommonSchemas(List<DocumentModel> docs); @Deprecated static void copyMetadata(CoreSession session,
            DocumentModel sourceDoc, List<DocumentModel> targetDocs); @Deprecated
    static final String BULK_EDIT_PREFIX; @Deprecated
    static final String CONTEXT_DATA; }