Liferay 7.0-ce-b4

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, UpgradeStep

public class UpgradeMessageBoardsAttachments
extends BaseUpgradeAttachments


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
 
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
getThreshold, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
doHasTable, hasColumn, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
 
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 7.0-ce-b4