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


org.apache.jetspeed.om.common.portlet.MutablePortletApplication

All known Subclasses:   org.apache.jetspeed.om.portlet.impl.PortletApplicationDefinitionImpl,
MutablePortletApplication
public interface MutablePortletApplication extends PortletApplication,Serializable(Code)
MutablePortletApplication Extends the org.apache.pluto.om.portlet.PortletApplicationDefinition interface adding mutator methods for those attributes that do not have them so as to make manipulating the portlet OM easier.
author:
   David Sean Taylor
author:
   Scott T. Weaver
version:
   $Id: MutablePortletApplication.java 545987 2007-06-11 01:46:18Z taylor $


Field Summary
final public static  intINTERNAL
     Marks this application as a INTERNAL portlet application, stored in Jetspeed managed portlet application space.
final public static  intLOCAL
     Marks this application as a LOCAL portlet application, stored in Jetspeed managed portlet application space.
final public static  StringPREFS_ROOT
    
final public static  intWEBAPP
     Marks this application as a standard web application, stored in the web application server's web application space.


Method Summary
 voidaddJetspeedService(JetspeedServiceReference service)
     Adds a Jetspeed component service to the collection of component services allowed for this application.
 voidaddPortletDefinition(PortletDefinition pd)
    
 voidaddUserAttribute(UserAttribute userAttribute)
    
 voidaddUserAttribute(String name, String description)
    
 voidaddUserAttributeRef(UserAttributeRef userAttributeRef)
    
 longgetChecksum()
    
 voidsetApplicationIdentifier(String applicationIndentifier)
    
 voidsetApplicationType(int type)
     Sets the Portlet Application type.
 voidsetChecksum(long checksum)
    
 voidsetDescription(String string)
    
 voidsetJetspeedSecurityConstraint(String constraint)
    

Set the Jetspeed Security Constraint reference for this portlet application. This security constraint name references a Jetspeed-specific Security Constraint. Security Constraints are not Java Security Permissions, but a Jetspeed specific way of securing portlets, also known as PSML constraints. See the page.security file for examples of defining security constraint definitions. If the portlet application does not define a constraint, then no security constraints will be applied to this portlet.

public  voidsetMetadata(GenericMetadata metadata)
    
 voidsetName(String name)
    
 voidsetPortletDefinitionList(PortletDefinitionList portlets)
    
 voidsetUserAttributeRefs(Collection userAttributeRefs)
    
 voidsetUserAttributes(Collection userAttributes)
    
 voidsetVersion(String version)
    
 voidsetWebApplicationDefinition(WebApplicationDefinition wad)
     Associates the web application definition with this portlet application defintion.

Field Detail
INTERNAL
final public static int INTERNAL(Code)
Marks this application as a INTERNAL portlet application, stored in Jetspeed managed portlet application space.



LOCAL
final public static int LOCAL(Code)
Marks this application as a LOCAL portlet application, stored in Jetspeed managed portlet application space.



PREFS_ROOT
final public static String PREFS_ROOT(Code)



WEBAPP
final public static int WEBAPP(Code)
Marks this application as a standard web application, stored in the web application server's web application space.





Method Detail
addJetspeedService
void addJetspeedService(JetspeedServiceReference service)(Code)
Adds a Jetspeed component service to the collection of component services allowed for this application.
Parameters:
  service - The component service being added.



addPortletDefinition
void addPortletDefinition(PortletDefinition pd)(Code)

Parameters:
  pd -



addUserAttribute
void addUserAttribute(UserAttribute userAttribute)(Code)

Adds a user attribute to the user attribute set.


Parameters:
  userAttribute - The user attribute.



addUserAttribute
void addUserAttribute(String name, String description)(Code)

Adds a user attribute to the user attribute set.


Parameters:
  userAttribute - The user attribute.



addUserAttributeRef
void addUserAttributeRef(UserAttributeRef userAttributeRef)(Code)

Adds a user attribute ref to the user attribute ref set.


Parameters:
  userAttributeRef - The user attribute ref.



getChecksum
long getChecksum()(Code)
The checksum on the portlet XML from the last deployment



setApplicationIdentifier
void setApplicationIdentifier(String applicationIndentifier)(Code)



setApplicationType
void setApplicationType(int type)(Code)
Sets the Portlet Application type. Valid values are:

MutablePortletApplication.WEBAPP - A standard web application, stored in the web application server's web application space.

MutablePortletApplication.LOCAL - A local portlet application stored within Jetspeed's web application.


Parameters:
  type - The type of portlet application.




setChecksum
void setChecksum(long checksum)(Code)
The checksum on the portlet XML from the last deployment
Parameters:
  checksum -



setDescription
void setDescription(String string)(Code)

Parameters:
  string -



setJetspeedSecurityConstraint
void setJetspeedSecurityConstraint(String constraint)(Code)

Set the Jetspeed Security Constraint reference for this portlet application. This security constraint name references a Jetspeed-specific Security Constraint. Security Constraints are not Java Security Permissions, but a Jetspeed specific way of securing portlets, also known as PSML constraints. See the page.security file for examples of defining security constraint definitions. If the portlet application does not define a constraint, then no security constraints will be applied to this portlet. Security constraints for a portlet are normally checking during the render process of a portlet.


Parameters:
  constraint - The name of the Security Definition defined in the Jetspeed Security Constraints



setMetadata
public void setMetadata(GenericMetadata metadata)(Code)
Sets the metadata from the extended jetspeed-portlet.xml
Parameters:
  metadata -



setName
void setName(String name)(Code)

Parameters:
  name -



setPortletDefinitionList
void setPortletDefinitionList(PortletDefinitionList portlets)(Code)

Parameters:
  portlets -



setUserAttributeRefs
void setUserAttributeRefs(Collection userAttributeRefs)(Code)

Sets a user-attribute-ref to the collection of user attribute refs associated with this portlet application.




setUserAttributes
void setUserAttributes(Collection userAttributes)(Code)

Sets a user-attribute to the collection of user attributes associated with this portlet application.




setVersion
void setVersion(String version)(Code)

Parameters:
  version -



setWebApplicationDefinition
void setWebApplicationDefinition(WebApplicationDefinition wad)(Code)
Associates the web application definition with this portlet application defintion.
Parameters:
  wad -



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