Java Doc for Registry.java in  » IDE-Netbeans » nbi » org » netbeans » installer » product » 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 » IDE Netbeans » nbi » org.netbeans.installer.product 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.installer.product.Registry

Registry
public class Registry implements PropertyContainer(Code)

author:
   Kirill Sorokin


Field Summary
final public static  StringBUNDLED_PRODUCT_REGISTRY_URI_PROPERTY
    
final public static  StringCREATE_BUNDLE_PATH_PROPERTY
    
final public static  StringDEFAULT_BUNDLED_PRODUCT_REGISTRY_URI
    
final public static  StringDEFAULT_LOCAL_PRODUCT_CACHE_DIRECTORY_NAME
    
final public static  StringDEFAULT_LOCAL_PRODUCT_REGISTRY_STUB_URI
    
final public static  StringDEFAULT_LOCAL_REGISTRY_FILE_NAME
    
final public static  StringDEFAULT_PRODUCT_REGISTRY_SCHEMA_URI
    
final public static  StringDEFAULT_STATE_FILE_SCHEMA_URI
    
final public static  StringDEFAULT_STATE_FILE_STUB_URI
    
final public static  StringFORCE_INSTALL_PROPERTY
    
final public static  StringFORCE_UNINSTALL_PROPERTY
    
final public static  StringLAZY_LOAD_ICONS_PROPERTY
    
final public static  StringLOCAL_PRODUCT_CACHE_DIRECTORY_PROPERTY
    
final public static  StringLOCAL_PRODUCT_REGISTRY_PROPERTY
    
final public static  StringLOCAL_PRODUCT_REGISTRY_STUB_PROPERTY
    
final public static  StringPRODUCT_REGISTRY_SCHEMA_URI_PROPERTY
    
final public static  StringREMOTE_PRODUCT_REGISTRIES_PROPERTY
    
final public static  StringSOURCE_STATE_FILE_PATH_PROPERTY
    
final public static  StringSTATE_FILE_SCHEMA_URI_PROPERTY
    
final public static  StringSTATE_FILE_STUB_PROPERTY
    
final public static  StringSUGGEST_INSTALL_PROPERTY
    
final public static  StringSUGGEST_UNINSTALL_PROPERTY
    
final public static  StringTARGET_COMPONENT_UID_PROPERTY
    
final public static  StringTARGET_COMPONENT_VERSION_PROPERTY
    
final public static  StringTARGET_PLATFORM_PROPERTY
    
final public static  StringTARGET_STATE_FILE_PATH_PROPERTY
    

Constructor Summary
public  Registry()
    

Method Summary
public  booleancheckDependenciesForInstall(Product product)
    
public  booleancheckDependenciesForUninstall()
    
public  voidfinalizeRegistry(Progress progress)
    
public  DocumentgetEmptyRegistryDocument()
    
public  GroupgetGroup(String uid)
    
public  List<Group>getGroups()
    
public  List<Product>getInavoidableDependents(Product product)
     Returns the list of products for which the given product is the only one, that satisfies the requirement.
public static synchronized  RegistrygetInstance()
    
public  FilegetLocalProductCache()
    
public  List<RegistryNode>getNodes()
    
public  List<RegistryNode>getNodes(RegistryType registryType)
    
public  ProductgetProduct(String uid, Version version)
    
public  List<Product>getProducts()
    
public  List<Product>getProducts(Platform platform)
    
public  List<Product>getProducts(String uid)
    
public  List<Product>getProducts(String uid, Version lower, Version upper)
    
public  List<Product>getProducts(String uid, Version version, Platform platform)
    
public  List<Product>getProducts(String uid, Version version, List<Platform> platforms)
    
public  List<Product>getProducts(Dependency dependency)
    
public  List<Product>getProducts(Status status)
    
public  List<Product>getProducts(DetailedStatus detailedStatus)
    
public  List<Product>getProducts(Feature feature)
    
public  List<Product>getProductsToInstall()
    
public  List<Product>getProductsToUninstall()
    
public  PropertiesgetProperties()
    
public  StringgetProperty(String name)
    
public  DocumentgetRegistryDocument(RegistryFilter filter, boolean saveIncludes, boolean saveProperties, boolean saveFeatures)
    
public  RegistryNodegetRegistryRoot()
    
public  PlatformgetTargetPlatform()
    
public  booleanhasInstalledChildren(RegistryNode parentNode)
    
public  voidinitializeRegistry(Progress progress)
    
public  voidloadProductRegistry(File file)
    
public  voidloadProductRegistry(String uri)
    
public  voidloadProductRegistry(String uri, Progress progress, RegistryType registryType, boolean loadIncludes)
    
public  DocumentloadRegistryDocument(String uri)
    
public  voidloadStateFile(File stateFile, Progress progress)
    
public  List<RegistryNode>query(RegistryFilter filter)
    
public  List<Group>queryGroups(RegistryFilter filter)
    
public  List<Product>queryProducts(RegistryFilter filter)
    
public  booleansatisfiesRequirement(Product candidate, Product product)
    
public  voidsaveProductRegistry(File file, RegistryFilter filter, boolean saveIncludes, boolean saveProperties, boolean saveFeatures)
    
public  voidsaveStateFile(File stateFile, Progress progress)
    
public  voidsetFinishHandler(FinishHandler finishHandler)
    
public  voidsetLocalDirectory(File localDirectory)
    
public  voidsetProperty(String name, String value)
    
public  voidsetTargetPlatform(Platform targetPlatform)
    

Field Detail
BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY
final public static String BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY(Code)



CREATE_BUNDLE_PATH_PROPERTY
final public static String CREATE_BUNDLE_PATH_PROPERTY(Code)



DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI
final public static String DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI(Code)



DEFAULT_LOCAL_PRODUCT_CACHE_DIRECTORY_NAME
final public static String DEFAULT_LOCAL_PRODUCT_CACHE_DIRECTORY_NAME(Code)



DEFAULT_LOCAL_PRODUCT_REGISTRY_STUB_URI
final public static String DEFAULT_LOCAL_PRODUCT_REGISTRY_STUB_URI(Code)



DEFAULT_LOCAL_REGISTRY_FILE_NAME
final public static String DEFAULT_LOCAL_REGISTRY_FILE_NAME(Code)



DEFAULT_PRODUCT_REGISTRY_SCHEMA_URI
final public static String DEFAULT_PRODUCT_REGISTRY_SCHEMA_URI(Code)



DEFAULT_STATE_FILE_SCHEMA_URI
final public static String DEFAULT_STATE_FILE_SCHEMA_URI(Code)



DEFAULT_STATE_FILE_STUB_URI
final public static String DEFAULT_STATE_FILE_STUB_URI(Code)



FORCE_INSTALL_PROPERTY
final public static String FORCE_INSTALL_PROPERTY(Code)



FORCE_UNINSTALL_PROPERTY
final public static String FORCE_UNINSTALL_PROPERTY(Code)



LAZY_LOAD_ICONS_PROPERTY
final public static String LAZY_LOAD_ICONS_PROPERTY(Code)



LOCAL_PRODUCT_CACHE_DIRECTORY_PROPERTY
final public static String LOCAL_PRODUCT_CACHE_DIRECTORY_PROPERTY(Code)



LOCAL_PRODUCT_REGISTRY_PROPERTY
final public static String LOCAL_PRODUCT_REGISTRY_PROPERTY(Code)



LOCAL_PRODUCT_REGISTRY_STUB_PROPERTY
final public static String LOCAL_PRODUCT_REGISTRY_STUB_PROPERTY(Code)



PRODUCT_REGISTRY_SCHEMA_URI_PROPERTY
final public static String PRODUCT_REGISTRY_SCHEMA_URI_PROPERTY(Code)



REMOTE_PRODUCT_REGISTRIES_PROPERTY
final public static String REMOTE_PRODUCT_REGISTRIES_PROPERTY(Code)



SOURCE_STATE_FILE_PATH_PROPERTY
final public static String SOURCE_STATE_FILE_PATH_PROPERTY(Code)



STATE_FILE_SCHEMA_URI_PROPERTY
final public static String STATE_FILE_SCHEMA_URI_PROPERTY(Code)



STATE_FILE_STUB_PROPERTY
final public static String STATE_FILE_STUB_PROPERTY(Code)



SUGGEST_INSTALL_PROPERTY
final public static String SUGGEST_INSTALL_PROPERTY(Code)



SUGGEST_UNINSTALL_PROPERTY
final public static String SUGGEST_UNINSTALL_PROPERTY(Code)



TARGET_COMPONENT_UID_PROPERTY
final public static String TARGET_COMPONENT_UID_PROPERTY(Code)



TARGET_COMPONENT_VERSION_PROPERTY
final public static String TARGET_COMPONENT_VERSION_PROPERTY(Code)



TARGET_PLATFORM_PROPERTY
final public static String TARGET_PLATFORM_PROPERTY(Code)



TARGET_STATE_FILE_PATH_PROPERTY
final public static String TARGET_STATE_FILE_PATH_PROPERTY(Code)




Constructor Detail
Registry
public Registry()(Code)




Method Detail
checkDependenciesForInstall
public boolean checkDependenciesForInstall(Product product)(Code)



checkDependenciesForUninstall
public boolean checkDependenciesForUninstall()(Code)



finalizeRegistry
public void finalizeRegistry(Progress progress) throws FinalizationException(Code)



getEmptyRegistryDocument
public Document getEmptyRegistryDocument() throws XMLException(Code)



getGroup
public Group getGroup(String uid)(Code)



getGroups
public List<Group> getGroups()(Code)



getInavoidableDependents
public List<Product> getInavoidableDependents(Product product)(Code)
Returns the list of products for which the given product is the only one, that satisfies the requirement. In other words the returned products define at least one requirement that is directly or indirectly satisfied by this particular product and not by any other products.

Product's status is also taken into account, i.e. if the dependent product is installed, a not installed product cannot be considered as satisfying the requirement.
Parameters:
  product - Product for which the dependents chain should be constructed. The list of products for which the given product is the only onesatisfying their requirements.




getInstance
public static synchronized Registry getInstance()(Code)



getLocalProductCache
public File getLocalProductCache()(Code)



getNodes
public List<RegistryNode> getNodes()(Code)



getNodes
public List<RegistryNode> getNodes(RegistryType registryType)(Code)



getProduct
public Product getProduct(String uid, Version version)(Code)



getProducts
public List<Product> getProducts()(Code)



getProducts
public List<Product> getProducts(Platform platform)(Code)



getProducts
public List<Product> getProducts(String uid)(Code)



getProducts
public List<Product> getProducts(String uid, Version lower, Version upper)(Code)



getProducts
public List<Product> getProducts(String uid, Version version, Platform platform)(Code)



getProducts
public List<Product> getProducts(String uid, Version version, List<Platform> platforms)(Code)



getProducts
public List<Product> getProducts(Dependency dependency)(Code)



getProducts
public List<Product> getProducts(Status status)(Code)



getProducts
public List<Product> getProducts(DetailedStatus detailedStatus)(Code)



getProducts
public List<Product> getProducts(Feature feature)(Code)



getProductsToInstall
public List<Product> getProductsToInstall()(Code)



getProductsToUninstall
public List<Product> getProductsToUninstall()(Code)



getProperties
public Properties getProperties()(Code)



getProperty
public String getProperty(String name)(Code)



getRegistryDocument
public Document getRegistryDocument(RegistryFilter filter, boolean saveIncludes, boolean saveProperties, boolean saveFeatures) throws XMLException, FinalizationException(Code)



getRegistryRoot
public RegistryNode getRegistryRoot()(Code)



getTargetPlatform
public Platform getTargetPlatform()(Code)



hasInstalledChildren
public boolean hasInstalledChildren(RegistryNode parentNode)(Code)



initializeRegistry
public void initializeRegistry(Progress progress) throws InitializationException(Code)



loadProductRegistry
public void loadProductRegistry(File file) throws InitializationException(Code)



loadProductRegistry
public void loadProductRegistry(String uri) throws InitializationException(Code)



loadProductRegistry
public void loadProductRegistry(String uri, Progress progress, RegistryType registryType, boolean loadIncludes) throws InitializationException(Code)



loadRegistryDocument
public Document loadRegistryDocument(String uri) throws XMLException(Code)



loadStateFile
public void loadStateFile(File stateFile, Progress progress) throws InitializationException(Code)



query
public List<RegistryNode> query(RegistryFilter filter)(Code)



queryGroups
public List<Group> queryGroups(RegistryFilter filter)(Code)



queryProducts
public List<Product> queryProducts(RegistryFilter filter)(Code)



satisfiesRequirement
public boolean satisfiesRequirement(Product candidate, Product product)(Code)



saveProductRegistry
public void saveProductRegistry(File file, RegistryFilter filter, boolean saveIncludes, boolean saveProperties, boolean saveFeatures) throws FinalizationException(Code)



saveStateFile
public void saveStateFile(File stateFile, Progress progress) throws FinalizationException(Code)



setFinishHandler
public void setFinishHandler(FinishHandler finishHandler)(Code)



setLocalDirectory
public void setLocalDirectory(File localDirectory)(Code)



setProperty
public void setProperty(String name, String value)(Code)



setTargetPlatform
public void setTargetPlatform(Platform targetPlatform)(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.