Liferay 6.2-ce-ga5

com.liferay.portal.verify
Class VerifyDocumentLibrary

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.verify.VerifyProcess
          extended by com.liferay.portal.verify.VerifyDocumentLibrary
All Implemented Interfaces:
DBProcess

public class VerifyDocumentLibrary
extends VerifyProcess


Field Summary
 
Fields inherited from class com.liferay.portal.verify.VerifyProcess
ALWAYS, NEVER, ONCE
 
Constructor Summary
VerifyDocumentLibrary()
           
 
Method Summary
protected  void addDLFileVersion(DLFileEntry dlFileEntry)
           
protected  void checkDLFileEntryType()
           
protected  void checkDuplicateTitles()
           
protected  void checkFileEntryMimeTypes(String originalMimeType)
           
protected  void checkFileVersionMimeTypes(String originalMimeType)
           
protected  void checkMimeTypes()
           
protected  void checkMisversionedDLFileEntries()
           
protected  void checkTitles()
           
protected  void copyDLFileEntry(DLFileEntry dlFileEntry)
           
protected  void doVerify()
           
protected  String getMimeType(InputStream inputStream, String title)
           
protected  void removeOrphanedDLFileEntries()
           
protected  void renameDuplicateTitle(DLFileEntry dlFileEntry)
           
protected  void renameTitle(DLFileEntry dlFileEntry, String newTitle)
           
protected  void updateClassNameId()
           
protected  void updateFileEntryAssets()
           
protected  void updateFolderAssets()
           
protected  void verifyTree()
           
 
Methods inherited from class com.liferay.portal.verify.VerifyProcess
doVerify, getBuildNumber, getPortalTableNames, isPortalTableName, verify, verify
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyDocumentLibrary

public VerifyDocumentLibrary()
Method Detail

addDLFileVersion

protected void addDLFileVersion(DLFileEntry dlFileEntry)
                         throws SystemException
Throws:
SystemException

checkDLFileEntryType

protected void checkDLFileEntryType()
                             throws Exception
Throws:
Exception

checkDuplicateTitles

protected void checkDuplicateTitles()
                             throws Exception
Throws:
Exception

checkFileEntryMimeTypes

protected void checkFileEntryMimeTypes(String originalMimeType)
                                throws Exception
Throws:
Exception

checkFileVersionMimeTypes

protected void checkFileVersionMimeTypes(String originalMimeType)
                                  throws Exception
Throws:
Exception

checkMimeTypes

protected void checkMimeTypes()
                       throws Exception
Throws:
Exception

checkMisversionedDLFileEntries

protected void checkMisversionedDLFileEntries()
                                       throws Exception
Throws:
Exception

checkTitles

protected void checkTitles()
                    throws Exception
Throws:
Exception

copyDLFileEntry

protected void copyDLFileEntry(DLFileEntry dlFileEntry)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

doVerify

protected void doVerify()
                 throws Exception
Overrides:
doVerify in class VerifyProcess
Throws:
Exception

getMimeType

protected String getMimeType(InputStream inputStream,
                             String title)

updateClassNameId

protected void updateClassNameId()

removeOrphanedDLFileEntries

protected void removeOrphanedDLFileEntries()
                                    throws Exception
Throws:
Exception

renameDuplicateTitle

protected void renameDuplicateTitle(DLFileEntry dlFileEntry)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

renameTitle

protected void renameTitle(DLFileEntry dlFileEntry,
                           String newTitle)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

updateFileEntryAssets

protected void updateFileEntryAssets()
                              throws Exception
Throws:
Exception

updateFolderAssets

protected void updateFolderAssets()
                           throws Exception
Throws:
Exception

verifyTree

protected void verifyTree()
                   throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5