Liferay 6.2-ce-ga5

com.liferay.portal.upgrade.v6_2_0
Class UpgradeMessageBoardsAttachments

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
          extended by com.liferay.portal.kernel.upgrade.v6_2_0.BaseUpgradeAttachments
              extended by com.liferay.portal.upgrade.v6_2_0.UpgradeMessageBoardsAttachments
All Implemented Interfaces:
DBProcess

public class UpgradeMessageBoardsAttachments
extends BaseUpgradeAttachments


Constructor Summary
UpgradeMessageBoardsAttachments()
           
 
Method Summary
protected  String getClassName()
           
protected  long getContainerModelFolderId(long groupId, long companyId, long resourcePrimKey, long containerModelId, long userId, String userName, Timestamp createDate)
           
protected  String getDirName(long containerModelId, long resourcePrimKey)
           
protected  String getPortletId()
           
protected  void updateAttachments()
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.v6_2_0.BaseUpgradeAttachments
addDLFileEntry, addDLFileVersion, addDLFolder, addRepository, addResourcePermission, doUpgrade, getAttachments, getBitwiseValue, getBitwiseValues, getClassNameId, getFolderId, getRepositoryId, getRoleId, updateEntryAttachments
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
doHasTable, getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
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

UpgradeMessageBoardsAttachments

public UpgradeMessageBoardsAttachments()
Method Detail

getClassName

protected String getClassName()
Specified by:
getClassName in class BaseUpgradeAttachments

getContainerModelFolderId

protected long getContainerModelFolderId(long groupId,
                                         long companyId,
                                         long resourcePrimKey,
                                         long containerModelId,
                                         long userId,
                                         String userName,
                                         Timestamp createDate)
                                  throws Exception
Overrides:
getContainerModelFolderId in class BaseUpgradeAttachments
Throws:
Exception

getDirName

protected String getDirName(long containerModelId,
                            long resourcePrimKey)
Specified by:
getDirName in class BaseUpgradeAttachments

getPortletId

protected String getPortletId()
Specified by:
getPortletId in class BaseUpgradeAttachments

updateAttachments

protected void updateAttachments()
                          throws Exception
Specified by:
updateAttachments in class BaseUpgradeAttachments
Throws:
Exception

Liferay 6.2-ce-ga5