Liferay 7.0-ce-m3

com.liferay.portal.upgrade.v7_0_0
Class UpgradeBaseJournal

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.upgrade.v7_0_0.UpgradeDynamicDataMapping
              extended by com.liferay.portal.upgrade.v7_0_0.UpgradeBaseJournal
All Implemented Interfaces:
DBProcess
Direct Known Subclasses:
UpgradeJournal, UpgradeJournalArticleType

public abstract class UpgradeBaseJournal
extends UpgradeDynamicDataMapping


Constructor Summary
UpgradeBaseJournal()
           
 
Method Summary
protected  void addResourcePermission(long companyId, String className, long primKey, long roleId, long actionIds)
           
protected  long getBitwiseValue(Map<String,Long> bitwiseValues, List<String> actionIds)
           
protected  Map<String,Long> getBitwiseValues(String name)
           
protected  long getCompanyGroupId(long companyId)
           
protected  long getDefaultUserId(long companyId)
           
protected  long getRoleId(long companyId, String name)
           
protected  String localize(long groupId, String key, String defaultLanguageId)
           
 
Methods inherited from class com.liferay.portal.upgrade.v7_0_0.UpgradeDynamicDataMapping
addStructureVersion, addStructureVersions, addTemplateVersion, addTemplateVersions, doUpgrade
 
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

UpgradeBaseJournal

public UpgradeBaseJournal()
Method Detail

addResourcePermission

protected void addResourcePermission(long companyId,
                                     String className,
                                     long primKey,
                                     long roleId,
                                     long actionIds)
                              throws Exception
Throws:
Exception

getBitwiseValue

protected long getBitwiseValue(Map<String,Long> bitwiseValues,
                               List<String> actionIds)

getBitwiseValues

protected Map<String,Long> getBitwiseValues(String name)
                                     throws Exception
Throws:
Exception

getCompanyGroupId

protected long getCompanyGroupId(long companyId)
                          throws Exception
Throws:
Exception

getDefaultUserId

protected long getDefaultUserId(long companyId)
                         throws Exception
Throws:
Exception

getRoleId

protected long getRoleId(long companyId,
                         String name)
                  throws Exception
Throws:
Exception

localize

protected String localize(long groupId,
                          String key,
                          String defaultLanguageId)
                   throws Exception
Throws:
Exception

Liferay 7.0-ce-m3