com.liferay.portal.convert
Class ConvertDocumentLibrary

java.lang.Object
  extended by com.liferay.portal.convert.ConvertProcess
      extended by com.liferay.portal.convert.ConvertDocumentLibrary

public class ConvertDocumentLibrary
extends ConvertProcess

View Source

Author:
Minhchau Dang, Alexander Chow

Constructor Summary
ConvertDocumentLibrary()
           
 
Method Summary
protected  void doConvert()
           
 java.lang.String getDescription()
           
 java.lang.String getParameterDescription()
           
 java.lang.String[] getParameterNames()
           
 boolean isEnabled()
           
protected  void migrateDL()
           
protected  void migrateDLFileEntry(long companyId, java.lang.String portletId, long groupId, long repositoryId, com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry)
           
protected  void migrateFile(long companyId, java.lang.String portletId, long groupId, long repositoryId, java.lang.String fileName, double versionNumber, long fileEntryId, java.lang.String properties, java.util.Date modifiedDate)
           
protected  void migrateFiles(long companyId, java.lang.String dirName, java.lang.String[] fileNames)
           
protected  void migrateMB()
           
protected  void migratePortlets()
           
protected  void migrateWiki()
           
 
Methods inherited from class com.liferay.portal.convert.ConvertProcess
convert, getParameterValues, getPath, setParameterValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertDocumentLibrary

public ConvertDocumentLibrary()
Method Detail

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

migrateDL

protected void migrateDL()
                  throws java.lang.Exception
Throws:
java.lang.Exception

migrateDLFileEntry

protected void migrateDLFileEntry(long companyId,
                                  java.lang.String portletId,
                                  long groupId,
                                  long repositoryId,
                                  com.liferay.portlet.documentlibrary.model.DLFileEntry fileEntry)
                           throws java.lang.Exception
Throws:
java.lang.Exception

migrateFile

protected void migrateFile(long companyId,
                           java.lang.String portletId,
                           long groupId,
                           long repositoryId,
                           java.lang.String fileName,
                           double versionNumber,
                           long fileEntryId,
                           java.lang.String properties,
                           java.util.Date modifiedDate)

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