Liferay 7.0-ce-m3

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 checkDLFileEntryMetadata()
           
protected  void checkDLFileEntryType()
           
protected  void checkFileVersionMimeTypes(String[] originalMimeTypes)
           
protected  void checkMimeTypes()
           
protected  void checkMisversionedDLFileEntries()
           
protected  void checkTitles()
           
protected  void copyDLFileEntry(DLFileEntry dlFileEntry)
           
protected  void deleteOrphanedDLFileEntries()
           
protected  void deleteUnusedDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
           
protected  void doVerify()
           
protected  String getMimeType(InputStream inputStream, String title)
           
protected  void renameDuplicateTitle(DLFileEntry dlFileEntry)
           
protected  DLFileEntry 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)

checkDLFileEntryMetadata

protected void checkDLFileEntryMetadata()
                                 throws Exception
Throws:
Exception

checkDLFileEntryType

protected void checkDLFileEntryType()
                             throws Exception
Throws:
Exception

checkFileVersionMimeTypes

protected void checkFileVersionMimeTypes(String[] originalMimeTypes)
                                  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
Throws:
PortalException

deleteOrphanedDLFileEntries

protected void deleteOrphanedDLFileEntries()
                                    throws Exception
Throws:
Exception

deleteUnusedDLFileEntryMetadata

protected void deleteUnusedDLFileEntryMetadata(DLFileEntryMetadata dlFileEntryMetadata)
                                        throws Exception
Throws:
Exception

doVerify

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

getMimeType

protected String getMimeType(InputStream inputStream,
                             String title)

renameDuplicateTitle

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

renameTitle

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

updateClassNameId

protected void updateClassNameId()

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 7.0-ce-m3