com.liferay.portal.upgrade.v5_2_3.util
Class DependencyManager
java.lang.Object
com.liferay.portal.upgrade.v5_2_3.util.DependencyManager
- Direct Known Subclasses:
- CountryDependencyManager, ExpandoColumnDependencyManager, ExpandoRowDependencyManager, ExpandoTableDependencyManager, LayoutDependencyManager, MBDiscussionDependencyManager, PermissionDependencyManager, ResourceCodeDependencyManager, ResourceDependencyManager
public abstract class DependencyManager
- extends Object
Method Summary |
protected void |
deleteDuplicateData(String tableName,
long primaryKeyValue)
|
protected void |
deleteDuplicateData(String tableName,
String columnName,
long columnValue)
|
void |
setColumns(Object[][] columns)
|
void |
setExtraColumns(Object[][] extraColumns)
|
void |
setPrimaryKeyName(String primaryKeyName)
|
void |
setTableName(String tableName)
|
void |
update(long newPrimaryKeyValue)
|
abstract void |
update(long oldPrimaryKeyValue,
Object[] oldColumnValues,
Object[] oldExtraColumnValues,
long newPrimaryKeyValue,
Object[] newColumnValues,
Object[] newExtraColumnValues)
|
protected void |
updateDuplicateData(String tableName,
long oldPrimaryKeyValue,
long newPrimaryKeyValue)
|
protected void |
updateDuplicateData(String tableName,
String columnName,
long oldColumnValue,
long newColumnValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
columns
protected Object[][] columns
extraColumns
protected Object[][] extraColumns
primaryKeyName
protected String primaryKeyName
tableName
protected String tableName
DependencyManager
public DependencyManager()
setColumns
public void setColumns(Object[][] columns)
setExtraColumns
public void setExtraColumns(Object[][] extraColumns)
setPrimaryKeyName
public void setPrimaryKeyName(String primaryKeyName)
setTableName
public void setTableName(String tableName)
update
public void update(long newPrimaryKeyValue)
throws Exception
- Throws:
Exception
update
public abstract void update(long oldPrimaryKeyValue,
Object[] oldColumnValues,
Object[] oldExtraColumnValues,
long newPrimaryKeyValue,
Object[] newColumnValues,
Object[] newExtraColumnValues)
throws Exception
- Throws:
Exception
deleteDuplicateData
protected void deleteDuplicateData(String tableName,
long primaryKeyValue)
throws Exception
- Throws:
Exception
deleteDuplicateData
protected void deleteDuplicateData(String tableName,
String columnName,
long columnValue)
throws Exception
- Throws:
Exception
updateDuplicateData
protected void updateDuplicateData(String tableName,
long oldPrimaryKeyValue,
long newPrimaryKeyValue)
throws Exception
- Throws:
Exception
updateDuplicateData
protected void updateDuplicateData(String tableName,
String columnName,
long oldColumnValue,
long newColumnValue)
throws Exception
- Throws:
Exception