com.liferay.portal.convert
Class ConvertDocumentLibrary
java.lang.Object
com.liferay.portal.convert.ConvertProcess
com.liferay.portal.convert.ConvertDocumentLibrary
public class ConvertDocumentLibrary
- extends ConvertProcess
- Author:
- Minhchau Dang, Alexander Chow
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertDocumentLibrary
public ConvertDocumentLibrary()
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in class ConvertProcess
getParameterDescription
public java.lang.String getParameterDescription()
- Overrides:
getParameterDescription in class ConvertProcess
getParameterNames
public java.lang.String[] getParameterNames()
- Overrides:
getParameterNames in class ConvertProcess
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in class ConvertProcess
doConvert
protected void doConvert()
throws java.lang.Exception
- Specified by:
doConvert in class ConvertProcess
- Throws:
java.lang.Exception
getDLFileVersions
protected java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> getDLFileVersions(com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
migrateDL
protected void migrateDL()
throws java.lang.Exception
- Throws:
java.lang.Exception
migrateDLFileEntry
protected void migrateDLFileEntry(long companyId,
long repositoryId,
com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry)
throws java.lang.Exception
- Throws:
java.lang.Exception
migrateFile
protected void migrateFile(long companyId,
long repositoryId,
java.lang.String fileName,
java.lang.String versionNumber)
migrateFiles
protected void migrateFiles(long companyId,
java.lang.String dirName,
java.lang.String[] fileNames)
throws java.lang.Exception
- Throws:
java.lang.Exception
migrateMB
protected void migrateMB()
throws java.lang.Exception
- Throws:
java.lang.Exception
migratePortlets
protected void migratePortlets()
throws java.lang.Exception
- Throws:
java.lang.Exception
migrateWiki
protected void migrateWiki()
throws java.lang.Exception
- Throws:
java.lang.Exception