com.liferay.portal.upgrade.v6_2_0
Class UpgradeJournal
java.lang.Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.kernel.upgrade.BaseUpgradePortletPreferences
com.liferay.portal.kernel.upgrade.RenameUpgradePortletPreferences
com.liferay.portal.upgrade.v6_2_0.UpgradeJournal
- All Implemented Interfaces:
- DBProcess
public class UpgradeJournal
- extends RenameUpgradePortletPreferences
|
Method Summary |
protected void |
addDDMStructure(String uuid_,
long ddmStructureId,
long groupId,
long companyId,
long userId,
String userName,
Date createDate,
Date modifiedDate,
long parentDDMStructureId,
long classNameId,
String ddmStructureKey,
String name,
String description,
String xsd,
String storageType,
int type)
|
protected void |
addDDMStructure(String uuid_,
long ddmStructureId,
long groupId,
long companyId,
long userId,
String userName,
Date createDate,
Date modifiedDate,
String parentStructureId,
String ddmStructureKey,
String name,
String description,
String xsd)
|
protected void |
addDDMTemplate(String uuid_,
long ddmTemplateId,
long groupId,
long companyId,
long userId,
String userName,
Date createDate,
Date modifiedDate,
long classNameId,
long classPK,
String templateKey,
String name,
String description,
String type,
String mode,
String language,
String script,
boolean cacheable,
boolean smallImage,
long smallImageId,
String smallImageURL)
|
protected void |
doUpgrade()
|
protected String[] |
getPortletIds()
|
protected Map<String,String> |
getPreferenceNamesMap()
|
protected void |
updateResourcePermission(long companyId,
String oldClassName,
String newClassName,
long oldPrimKey,
long newPrimKey)
|
protected long |
updateStructure(String structureId)
|
protected void |
updateStructures()
|
protected void |
updateTemplates()
|
| Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess |
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 |
UpgradeJournal
public UpgradeJournal()
addDDMStructure
protected void addDDMStructure(String uuid_,
long ddmStructureId,
long groupId,
long companyId,
long userId,
String userName,
Date createDate,
Date modifiedDate,
long parentDDMStructureId,
long classNameId,
String ddmStructureKey,
String name,
String description,
String xsd,
String storageType,
int type)
throws Exception
- Throws:
Exception
addDDMStructure
protected void addDDMStructure(String uuid_,
long ddmStructureId,
long groupId,
long companyId,
long userId,
String userName,
Date createDate,
Date modifiedDate,
String parentStructureId,
String ddmStructureKey,
String name,
String description,
String xsd)
throws Exception
- Throws:
Exception
addDDMTemplate
protected void addDDMTemplate(String uuid_,
long ddmTemplateId,
long groupId,
long companyId,
long userId,
String userName,
Date createDate,
Date modifiedDate,
long classNameId,
long classPK,
String templateKey,
String name,
String description,
String type,
String mode,
String language,
String script,
boolean cacheable,
boolean smallImage,
long smallImageId,
String smallImageURL)
throws Exception
- Throws:
Exception
doUpgrade
protected void doUpgrade()
throws Exception
- Overrides:
doUpgrade in class BaseUpgradePortletPreferences
- Throws:
Exception
getPortletIds
protected String[] getPortletIds()
- Overrides:
getPortletIds in class BaseUpgradePortletPreferences
getPreferenceNamesMap
protected Map<String,String> getPreferenceNamesMap()
- Specified by:
getPreferenceNamesMap in class RenameUpgradePortletPreferences
updateResourcePermission
protected void updateResourcePermission(long companyId,
String oldClassName,
String newClassName,
long oldPrimKey,
long newPrimKey)
throws Exception
- Throws:
Exception
updateStructure
protected long updateStructure(String structureId)
throws Exception
- Throws:
Exception
updateStructures
protected void updateStructures()
throws Exception
- Throws:
Exception
updateTemplates
protected void updateTemplates()
throws Exception
- Throws:
Exception