com.liferay.portal.upgrade.v7_0_0
Class UpgradeBaseJournal
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v7_0_0.UpgradeDynamicDataMapping
com.liferay.portal.upgrade.v7_0_0.UpgradeBaseJournal
- All Implemented Interfaces:
- DBProcess
- Direct Known Subclasses:
- UpgradeJournal, UpgradeJournalArticleType
public abstract class UpgradeBaseJournal
- extends UpgradeDynamicDataMapping
|
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.kernel.upgrade.UpgradeProcess |
doHasTable, getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgradeTable, upgradeTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeBaseJournal
public UpgradeBaseJournal()
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