|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.migration.MigrationUtils
Helper class for doing operations need for migration
Constructor Summary | |
MigrationUtils()
|
Method Summary | |
static InstanceSecurityBinding |
cloneConstraintToInstanceConstraint(HbmSecurityConstraint hsc)
converts HbmSecurityBinding into InstanceSecurityBinding. |
static ObjectNodeSecurityConstraint |
cloneConstraintToObjectNodeConstraint(HbmSecurityConstraint hsc)
converts HbmSecurityConstratint into ObjectNodeSecurityConstraint. |
static Context24Impl |
cloneContext22ImplTo24(Context22Impl context22)
Creates new Context24Impl and copys data from provided Context22Impl object. |
static Instance24Impl |
cloneInstance22ImplTo24(Instance22Impl instance22)
Clone Instance22Impl to Instance24Impl. |
static PersistentStateEntry24 |
cloneInstancePrefToPortletState(InstancePreference22Impl pref22)
convert InstancePreference22Impl into PersistentStateEntry24 |
static ObjectNode24 |
cloneObjectNode22To24(ObjectNode22 node22)
Clones ObjectNode22 to newly created ObjectNode24. |
static Page24Impl |
clonePage22ImplTo24(Page22Impl page22)
Creates new Page24Impl and copys data from provided Page22Impl object. |
static Portal24Impl |
clonePortal22ImplTo24(Portal22Impl portal22)
Creates new Portal24Impl and copys data from provided Portal22Impl object. |
static PortalObject24Impl |
clonePortalObject(PortalObject22Impl object22)
Method migrates PortalObject associated with ObjectNode |
static Role22Impl |
cloneRoleTo22(Role20Impl role20Impl)
Creating new Role22Impl object copying content from Role20Impl. |
static Role24Impl |
cloneRoleTo24(Role22Impl role22Impl)
Creating new Role22Impl object copying content from Role20Impl. |
static PersistentStateEntry24 |
cloneUserPrefToPortletState(UserPreference22Impl pref22)
convert UserPreference22Impl into PersistentStateEntry24 |
static User22Impl |
cloneUserTo22(User20Impl user20Impl)
Creating new User22Impl object copying content fom User20Impl. |
static User24Impl |
cloneUserTo24(User22Impl user22Impl)
Creating new User24Impl object copying content fom User22Impl. |
static Window24Impl |
cloneWindow22ImplTo24(Window22Impl window22)
Creates new Window24Impl and copys data from provided Window22Impl object. |
static void |
parseUserPrefSet20To22(UserPrefSet20 userPrefSet20,
java.util.Map prefMap,
java.lang.String name,
boolean concatenate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MigrationUtils()
Method Detail |
public static User22Impl cloneUserTo22(User20Impl user20Impl)
user20Impl
-
public static User24Impl cloneUserTo24(User22Impl user22Impl)
user22Impl
-
public static Role22Impl cloneRoleTo22(Role20Impl role20Impl)
role20Impl
-
public static Role24Impl cloneRoleTo24(Role22Impl role22Impl)
role22Impl
-
public static void parseUserPrefSet20To22(UserPrefSet20 userPrefSet20, java.util.Map prefMap, java.lang.String name, boolean concatenate)
public static Window24Impl cloneWindow22ImplTo24(Window22Impl window22)
window22
-
public static Page24Impl clonePage22ImplTo24(Page22Impl page22)
page22
-
public static Context24Impl cloneContext22ImplTo24(Context22Impl context22)
context22
-
public static Portal24Impl clonePortal22ImplTo24(Portal22Impl portal22)
portal22
-
public static ObjectNode24 cloneObjectNode22To24(ObjectNode22 node22)
node22
-
public static PortalObject24Impl clonePortalObject(PortalObject22Impl object22) throws java.lang.Exception
java.lang.Exception
public static Instance24Impl cloneInstance22ImplTo24(Instance22Impl instance22)
public static PersistentStateEntry24 cloneInstancePrefToPortletState(InstancePreference22Impl pref22)
pref22
-
public static PersistentStateEntry24 cloneUserPrefToPortletState(UserPreference22Impl pref22)
pref22
-
public static ObjectNodeSecurityConstraint cloneConstraintToObjectNodeConstraint(HbmSecurityConstraint hsc)
hsc
-
public static InstanceSecurityBinding cloneConstraintToInstanceConstraint(HbmSecurityConstraint hsc)
hsc
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |