Java Doc for JetspeedCapabilities.java in  » Portal » jetspeed-2.1.3 » org » apache » jetspeed » capabilities » impl » 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 » jetspeed 2.1.3 » org.apache.jetspeed.capabilities.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport
   org.apache.jetspeed.capabilities.impl.JetspeedCapabilities

JetspeedCapabilities
public class JetspeedCapabilities extends InitablePersistenceBrokerDaoSupport implements Capabilities,BeanFactoryAware(Code)
Jetspeed Capabilities
author:
   David Sean Taylor
author:
   Roger Ruttimann
version:
   $Id: JetspeedCapabilities.java 517124 2007-03-12 08:10:25Z ate $


Field Summary
final public static  StringAGENT_XML
    
final public static  StringDEFAULT_AGENT
    
 HashtablecapabilityMapCache
    

Constructor Summary
public  JetspeedCapabilities(String repositoryPath, String clientBeanName, String mediaTypeBeanName, String mimeTypeBeanName, String capabilityBeanName)
    
public  JetspeedCapabilities(String repositoryPath, Properties properties)
     Create a JetspeedProfiler with properties.

Method Summary
public  CapabilitycreateCapability(String capabilityName)
    
public  ClientcreateClient(String clientName)
    
public  MediaTypecreateMediaType(String mediaTypeName)
    
public  MimeTypecreateMimeType(String mimeType)
    
public  voiddeleteCapability(Capability capability)
    
public  voiddeleteCapabilityMapCache()
    
public  voiddeleteClient(Client client)
    
public  voiddeleteMediaType(MediaType mediaType)
    
public  voiddeleteMimeType(MimeType mimeType)
    
public  ClientfindClient(String userAgent)
     Returns the client which matches the given useragent string.
public  IteratorgetCapabilities()
     Obtain an iterator of all existing capabilities.
public  CapabilitygetCapability(String capability)
    
public  StringgetCapabilityBeanName()
    
public  CapabilityMapgetCapabilityMap(String userAgent)
    
public  ClientgetClient(String clientName)
    
public  StringgetClientBeanName()
    
public  IteratorgetClients()
    
public  MediaTypegetMediaType(String mediaType)
    
public  StringgetMediaTypeBeanName()
    
public  MediaTypegetMediaTypeForMimeType(String mimeTypeName)
    
public  IteratorgetMediaTypes()
     Obtain an iterator of all existing media types.
public  CollectiongetMediaTypesForMimeTypes(Iterator mimetypes)
    
public  MimeTypegetMimeType(String mimeType)
    
public  StringgetMimeTypeBeanName()
    
public  IteratorgetMimeTypes()
     Obtain an iterator of all existing mime types.
public  voidsetBeanFactory(BeanFactory beanFactory)
    
public  voidsetCapabilityBeanName(String capabilityBeanName)
    
public  voidsetClientBeanName(String clientBeanName)
    
public  voidsetMediaTypeBeanName(String mediaTypeBeanName)
    
public  voidsetMimeTypeBeanName(String mimeTypeBeanName)
    
public  voidstoreCapability(Capability capability)
    
public  voidstoreClient(Client client)
    
public  voidstoreMediaType(MediaType mediaType)
    
public  voidstoreMimeType(MimeType mimeType)
    

Field Detail
AGENT_XML
final public static String AGENT_XML(Code)



DEFAULT_AGENT
final public static String DEFAULT_AGENT(Code)



capabilityMapCache
Hashtable capabilityMapCache(Code)




Constructor Detail
JetspeedCapabilities
public JetspeedCapabilities(String repositoryPath, String clientBeanName, String mediaTypeBeanName, String mimeTypeBeanName, String capabilityBeanName)(Code)



JetspeedCapabilities
public JetspeedCapabilities(String repositoryPath, Properties properties)(Code)
Create a JetspeedProfiler with properties. Expected properties are: defaultRule = the default profiling rule anonymousUser = the name of the anonymous user persistenceStoreName = The name of the persistence persistenceStore component to connect to services.profiler.locator.impl = the pluggable Profile Locator impl services.profiler.principalRule.impl = the pluggable Principal Rule impl services.profiler.profilingRule.impl = the pluggable Profiling Rule impl
Parameters:
  persistenceStore - The persistence persistenceStore
Parameters:
  properties - Properties for this component described above




Method Detail
createCapability
public Capability createCapability(String capabilityName) throws ClassNotFoundException(Code)



createClient
public Client createClient(String clientName) throws ClassNotFoundException(Code)



createMediaType
public MediaType createMediaType(String mediaTypeName) throws ClassNotFoundException(Code)



createMimeType
public MimeType createMimeType(String mimeType) throws ClassNotFoundException(Code)



deleteCapability
public void deleteCapability(Capability capability) throws CapabilitiesException(Code)



deleteCapabilityMapCache
public void deleteCapabilityMapCache()(Code)



deleteClient
public void deleteClient(Client client) throws CapabilitiesException(Code)



deleteMediaType
public void deleteMediaType(MediaType mediaType) throws CapabilitiesException(Code)



deleteMimeType
public void deleteMimeType(MimeType mimeType) throws CapabilitiesException(Code)



findClient
public Client findClient(String userAgent)(Code)
Returns the client which matches the given useragent string.
Parameters:
  useragent - the useragent to match the found client or null if the user-agent does not match anydefined client
See Also:   org.apache.jetspeed.capabilities.CapabilityService.findClient(java.lang.String)



getCapabilities
public Iterator getCapabilities()(Code)
Obtain an iterator of all existing capabilities. Returns an iterator for all existing Capabilities of type Capability



getCapability
public Capability getCapability(String capability)(Code)



getCapabilityBeanName
public String getCapabilityBeanName()(Code)



getCapabilityMap
public CapabilityMap getCapabilityMap(String userAgent) throws UnableToBuildCapabilityMapException(Code)

Parameters:
  userAgent - Agent from the request
throws:
  UnableToBuildCapabilityMapException -
See Also:   org.apache.jetspeed.services.capability.CapabilityService.getCapabilityMap(java.lang.String)



getClient
public Client getClient(String clientName)(Code)



getClientBeanName
public String getClientBeanName()(Code)



getClients
public Iterator getClients()(Code)



getMediaType
public MediaType getMediaType(String mediaType)(Code)



getMediaTypeBeanName
public String getMediaTypeBeanName()(Code)



getMediaTypeForMimeType
public MediaType getMediaTypeForMimeType(String mimeTypeName)(Code)
getMediaTypeForMimeType
Parameters:
  mimeType - to use for lookup MediaTypeEntry that matches the lookup in the MEDIATYPE_TO_MIMETYPE table



getMediaTypes
public Iterator getMediaTypes()(Code)
Obtain an iterator of all existing media types. Returns an iterator for all existing media types of type MediaType



getMediaTypesForMimeTypes
public Collection getMediaTypesForMimeTypes(Iterator mimetypes)(Code)



getMimeType
public MimeType getMimeType(String mimeType)(Code)



getMimeTypeBeanName
public String getMimeTypeBeanName()(Code)



getMimeTypes
public Iterator getMimeTypes()(Code)
Obtain an iterator of all existing mime types. Returns an iterator for all existing Mime Types of type MimeType



setBeanFactory
public void setBeanFactory(BeanFactory beanFactory) throws BeansException(Code)



setCapabilityBeanName
public void setCapabilityBeanName(String capabilityBeanName)(Code)



setClientBeanName
public void setClientBeanName(String clientBeanName)(Code)



setMediaTypeBeanName
public void setMediaTypeBeanName(String mediaTypeBeanName)(Code)



setMimeTypeBeanName
public void setMimeTypeBeanName(String mimeTypeBeanName)(Code)



storeCapability
public void storeCapability(Capability capability) throws CapabilitiesException(Code)



storeClient
public void storeClient(Client client) throws CapabilitiesException(Code)



storeMediaType
public void storeMediaType(MediaType mediaType) throws CapabilitiesException(Code)



storeMimeType
public void storeMimeType(MimeType mimeType) throws CapabilitiesException(Code)



Fields inherited from org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport
protected String repositoryPath(Code)(Java Doc)

Methods inherited from org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport
public void init() throws Exception(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.