com.liferay.portal.convert.documentlibrary
Class DocumentLibraryConvertProcess
java.lang.Object
com.liferay.portal.convert.BaseConvertProcess
com.liferay.portal.convert.documentlibrary.DocumentLibraryConvertProcess
- All Implemented Interfaces:
- ConvertProcess, DLStoreConverter
public class DocumentLibraryConvertProcess
- extends BaseConvertProcess
- implements DLStoreConverter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentLibraryConvertProcess
public DocumentLibraryConvertProcess()
getConfigurationErrorMessage
public String getConfigurationErrorMessage()
- Specified by:
getConfigurationErrorMessage in interface ConvertProcess- Overrides:
getConfigurationErrorMessage in class BaseConvertProcess
getDescription
public String getDescription()
- Specified by:
getDescription in interface ConvertProcess- Specified by:
getDescription in class BaseConvertProcess
getParameterDescription
public String getParameterDescription()
- Specified by:
getParameterDescription in interface ConvertProcess- Overrides:
getParameterDescription in class BaseConvertProcess
getParameterNames
public String[] getParameterNames()
- Specified by:
getParameterNames in interface ConvertProcess- Overrides:
getParameterNames in class BaseConvertProcess
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in interface ConvertProcess- Specified by:
isEnabled in class BaseConvertProcess
migrateDLFileEntry
public void migrateDLFileEntry(long companyId,
long repositoryId,
FileEntry fileEntry)
- Specified by:
migrateDLFileEntry in interface DLStoreConverter
validate
public void validate()
- Specified by:
validate in interface ConvertProcess- Overrides:
validate in class BaseConvertProcess
doConvert
protected void doConvert()
throws Exception
- Specified by:
doConvert in class BaseConvertProcess
- Throws:
Exception
getFileVersions
protected List<FileVersion> getFileVersions(FileEntry fileEntry)
getSourceStoreClassName
protected String getSourceStoreClassName()
getTargetStoreClassName
protected String getTargetStoreClassName()
isDeleteFilesFromSourceStore
protected boolean isDeleteFilesFromSourceStore()
migrateDL
protected void migrateDL()
throws PortalException
- Throws:
PortalException
migrateFile
protected void migrateFile(long companyId,
long repositoryId,
String fileName,
String versionNumber)
migrateImages
protected void migrateImages()
throws PortalException
- Throws:
PortalException
migrateMB
protected void migrateMB()
throws PortalException
- Throws:
PortalException
migratePortlets
protected void migratePortlets()
throws Exception
- Throws:
Exception