Java Doc for MigrationUtils.java in  » Portal » jboss-portal-2.6.4 » org » jboss » portal » migration » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » jboss portal 2.6.4 » org.jboss.portal.migration 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.portal.migration.MigrationUtils

MigrationUtils
public class MigrationUtils (Code)
Helper class for doing operations need for migration
author:
   Boleslaw Dawidowicz
version:
   $Revision: 8784 $




Method Summary
public static  InstanceSecurityBindingcloneConstraintToInstanceConstraint(HbmSecurityConstraint hsc)
     converts HbmSecurityBinding into InstanceSecurityBinding.
public static  ObjectNodeSecurityConstraintcloneConstraintToObjectNodeConstraint(HbmSecurityConstraint hsc)
     converts HbmSecurityConstratint into ObjectNodeSecurityConstraint.
public static  Context24ImplcloneContext22ImplTo24(Context22Impl context22)
     Creates new Context24Impl and copys data from provided Context22Impl object.
public static  Instance24ImplcloneInstance22ImplTo24(Instance22Impl instance22)
     Clone Instance22Impl to Instance24Impl.
public static  PersistentStateEntry24cloneInstancePrefToPortletState(InstancePreference22Impl pref22)
    
public static  ObjectNode24cloneObjectNode22To24(ObjectNode22 node22)
     Clones ObjectNode22 to newly created ObjectNode24.
public static  Page24ImplclonePage22ImplTo24(Page22Impl page22)
     Creates new Page24Impl and copys data from provided Page22Impl object.
public static  Portal24ImplclonePortal22ImplTo24(Portal22Impl portal22)
     Creates new Portal24Impl and copys data from provided Portal22Impl object.
public static  PortalObject24ImplclonePortalObject(PortalObject22Impl object22)
    
public static  Role22ImplcloneRoleTo22(Role20Impl role20Impl)
     Creating new Role22Impl object copying content from Role20Impl.
public static  Role24ImplcloneRoleTo24(Role22Impl role22Impl)
     Creating new Role22Impl object copying content from Role20Impl.
public static  PersistentStateEntry24cloneUserPrefToPortletState(UserPreference22Impl pref22)
    
public static  User22ImplcloneUserTo22(User20Impl user20Impl)
     Creating new User22Impl object copying content fom User20Impl.
public static  User24ImplcloneUserTo24(User22Impl user22Impl)
     Creating new User24Impl object copying content fom User22Impl.
public static  Window24ImplcloneWindow22ImplTo24(Window22Impl window22)
     Creates new Window24Impl and copys data from provided Window22Impl object.
public static  voidparseUserPrefSet20To22(UserPrefSet20 userPrefSet20, Map prefMap, String name, boolean concatenate)
    



Method Detail
cloneConstraintToInstanceConstraint
public static InstanceSecurityBinding cloneConstraintToInstanceConstraint(HbmSecurityConstraint hsc)(Code)
converts HbmSecurityBinding into InstanceSecurityBinding. Does not converts ObjectNode reference
Parameters:
  hsc -



cloneConstraintToObjectNodeConstraint
public static ObjectNodeSecurityConstraint cloneConstraintToObjectNodeConstraint(HbmSecurityConstraint hsc)(Code)
converts HbmSecurityConstratint into ObjectNodeSecurityConstraint. Does not converts ObjectNode reference
Parameters:
  hsc -



cloneContext22ImplTo24
public static Context24Impl cloneContext22ImplTo24(Context22Impl context22)(Code)
Creates new Context24Impl and copys data from provided Context22Impl object. Does not copy ObjectNode reference
Parameters:
  context22 -



cloneInstance22ImplTo24
public static Instance24Impl cloneInstance22ImplTo24(Instance22Impl instance22)(Code)
Clone Instance22Impl to Instance24Impl. Does not copy preferences Map



cloneInstancePrefToPortletState
public static PersistentStateEntry24 cloneInstancePrefToPortletState(InstancePreference22Impl pref22)(Code)
convert InstancePreference22Impl into PersistentStateEntry24
Parameters:
  pref22 -



cloneObjectNode22To24
public static ObjectNode24 cloneObjectNode22To24(ObjectNode22 node22)(Code)
Clones ObjectNode22 to newly created ObjectNode24. Does not copy object, children and parent properties
Parameters:
  node22 -



clonePage22ImplTo24
public static Page24Impl clonePage22ImplTo24(Page22Impl page22)(Code)
Creates new Page24Impl and copys data from provided Page22Impl object. Does not copy ObjectNode reference
Parameters:
  page22 -



clonePortal22ImplTo24
public static Portal24Impl clonePortal22ImplTo24(Portal22Impl portal22)(Code)
Creates new Portal24Impl and copys data from provided Portal22Impl object. Does not copy ObjectNode reference
Parameters:
  portal22 -



clonePortalObject
public static PortalObject24Impl clonePortalObject(PortalObject22Impl object22) throws Exception(Code)
Method migrates PortalObject associated with ObjectNode
throws:
  Exception -



cloneRoleTo22
public static Role22Impl cloneRoleTo22(Role20Impl role20Impl)(Code)
Creating new Role22Impl object copying content from Role20Impl. Not copying users set.
Parameters:
  role20Impl - Role22Impl



cloneRoleTo24
public static Role24Impl cloneRoleTo24(Role22Impl role22Impl)(Code)
Creating new Role22Impl object copying content from Role20Impl. Not copying users set.
Parameters:
  role22Impl - Role24Impl



cloneUserPrefToPortletState
public static PersistentStateEntry24 cloneUserPrefToPortletState(UserPreference22Impl pref22)(Code)
convert UserPreference22Impl into PersistentStateEntry24
Parameters:
  pref22 -



cloneUserTo22
public static User22Impl cloneUserTo22(User20Impl user20Impl)(Code)
Creating new User22Impl object copying content fom User20Impl. Not copying id and maps of objects like roles, prefSets
Parameters:
  user20Impl - user22Impl



cloneUserTo24
public static User24Impl cloneUserTo24(User22Impl user22Impl)(Code)
Creating new User24Impl object copying content fom User22Impl. Not copying id and maps of objects like roles, prefSets
Parameters:
  user22Impl - user24Impl



cloneWindow22ImplTo24
public static Window24Impl cloneWindow22ImplTo24(Window22Impl window22)(Code)
Creates new Window24Impl and copys data from provided Window22Impl object. Does not copy ObjectNode reference
Parameters:
  window22 -



parseUserPrefSet20To22
public static void parseUserPrefSet20To22(UserPrefSet20 userPrefSet20, Map prefMap, String name, boolean concatenate)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.