public class PictureMigrationHandler extends RepositoryInitializationHandler
file:content
.
Does not copy it if file:content
is not empty. When done, the Original picture view is removed.
It does not recompute the picture views.
Modifier and Type | Field and Description |
---|---|
static int |
BATCH_SIZE |
static String |
DISABLE_QUOTA_CHECK_LISTENER |
static String |
FILE_CONTENT_PROPERTY |
static String |
FILE_FILENAME_PROPERTY |
static String |
ORIGINAL_VIEW_TITLE |
static String |
PICTURES_TO_MIGRATE_QUERY |
Constructor and Description |
---|
PictureMigrationHandler() |
Modifier and Type | Method and Description |
---|---|
void |
doInitializeRepository(CoreSession session) |
getInstance, getNext, getPrevious, initializeRepository, install, uninstall
public static final String PICTURES_TO_MIGRATE_QUERY
public static final String ORIGINAL_VIEW_TITLE
public static final String FILE_CONTENT_PROPERTY
public static final String FILE_FILENAME_PROPERTY
public static final int BATCH_SIZE
public static final String DISABLE_QUOTA_CHECK_LISTENER
public void doInitializeRepository(CoreSession session) throws ClientException
doInitializeRepository
in class RepositoryInitializationHandler
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.