Java Doc for RDBMChannelRegistryStore.java in  » Portal » uPortal_rel-2-6-1-GA » org » jasig » portal » 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 » uPortal_rel 2 6 1 GA » org.jasig.portal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jasig.portal.RDBMChannelRegistryStore

RDBMChannelRegistryStore
public class RDBMChannelRegistryStore implements IChannelRegistryStore(Code)
Reference implementation of IChannelRegistryStore.
author:
   Ken Weiner, kweiner@unicon.net
version:
   $Revision: 42099 $


Field Summary
final protected static  booleanlocaleAware
    


Method Summary
public  voidaddCategoryToCategory(ChannelCategory child, ChannelCategory parent)
     Makes one category a child of another.
public  voidaddChannelToCategory(ChannelDefinition channelDef, ChannelCategory category)
     Associates a channel definition with a category.
public  voidapproveChannelDefinition(ChannelDefinition channelDef, IPerson approver, Date approveDate)
     Sets a channel definition as "approved".
public  voiddeleteChannelCategory(ChannelCategory category)
     Deletes a channel category.
public  voiddeleteChannelDefinition(ChannelDefinition channelDef)
     Permanently deletes a channel definition from the store.
public  voiddeleteChannelType(ChannelType chanType)
     Deletes a channel type.
public  voiddisapproveChannelDefinition(ChannelDefinition channelDef)
     Removes a channel from the channel registry by changing its status from "approved" to "unapproved".
public  ChannelCategorygetChannelCategory(String channelCategoryId)
     Gets an existing channel category.
public  ChannelDefinitiongetChannelDefinition(int channelPublishId)
     Get a channel definition.
public  ChannelDefinitiongetChannelDefinition(String channelFunctionalName)
     Get a channel definition.
public  ChannelDefinition[]getChannelDefinitions()
     Get all channel definitions including ones that haven't been approved.
final protected static  PreparedStatementgetChannelMdataPstmt(Connection con)
    
final protected static  PreparedStatementgetChannelParamPstmt(Connection con)
    
final protected static  PreparedStatementgetChannelPstmt(Connection con)
    
public  ChannelTypegetChannelType(int channelTypeId)
     Get the channel type associated with a particular identifier.
public  ChannelType[]getChannelTypes()
     Get channel types.
public  ChannelCategory[]getChildCategories(ChannelCategory parent)
     Gets all child channel categories for a parent category.
public  ChannelDefinition[]getChildChannels(ChannelCategory parent)
     Gets all child channel definitions for a parent category.
public  ChannelCategory[]getParentCategories(ChannelCategory child)
     Gets the immediate parent categories of this category.
public  ChannelCategory[]getParentCategories(ChannelDefinition child)
     Gets the immediate parent categories of this channel definition.
public  ChannelCategorygetTopLevelChannelCategory()
    
public  ChannelCategorynewChannelCategory()
     Creates a new channel category.
public  ChannelCategorynewChannelCategory(String name, String description, String creatorId)
     Creates a new channel category with the specified values.
public  ChannelDefinitionnewChannelDefinition()
     Create a new ChannelDefinition object.
public  ChannelDefinitionnewChannelDefinition(int id)
     Create a new ChannelDefinition object.
public  ChannelTypenewChannelType()
     Create a new ChannelType object.
public  voidremoveCategoryFromCategory(ChannelCategory child, ChannelCategory parent)
     Makes one category a child of another.
public  voidremoveChannelFromCategory(ChannelDefinition channelDef, ChannelCategory category)
     Disassociates a channel definition from a category.
public  voidsaveChannelCategory(ChannelCategory category)
     Persists a channel category.
public  voidsaveChannelDefinition(ChannelDefinition channelDef)
     Persists a channel definition.
public  voidsaveChannelType(ChannelType chanType)
     Persists a channel type.

Field Detail
localeAware
final protected static boolean localeAware(Code)





Method Detail
addCategoryToCategory
public void addCategoryToCategory(ChannelCategory child, ChannelCategory parent) throws GroupsException(Code)
Makes one category a child of another.
Parameters:
  child - the source category
Parameters:
  parent - the destination category
throws:
  org.jasig.portal.groups.GroupsException -



addChannelToCategory
public void addChannelToCategory(ChannelDefinition channelDef, ChannelCategory category) throws PortalException(Code)
Associates a channel definition with a category.
Parameters:
  channelDef - the channel definition
Parameters:
  category - the channel category to which to associate the channel definition
throws:
  org.jasig.portal.PortalException -



approveChannelDefinition
public void approveChannelDefinition(ChannelDefinition channelDef, IPerson approver, Date approveDate) throws Exception(Code)
Sets a channel definition as "approved". This effectively makes a channel definition available in the channel registry, making the channel available for subscription to those authorized to subscribe to it. This method is a convenience method. As an alternative to calling this method, one could simply set the approver ID and approval date and then call saveChannelDefinition(ChannelDefinition chanDef).
Parameters:
  channelDef - the channel definition to approve
Parameters:
  approver - the user that approves this channel definition
Parameters:
  approveDate - the date when the channel definition should be approved (can be future dated)
throws:
  Exception -



deleteChannelCategory
public void deleteChannelCategory(ChannelCategory category) throws GroupsException(Code)
Deletes a channel category.
Parameters:
  category - the channel category to delete
throws:
  org.jasig.portal.groups.GroupsException -



deleteChannelDefinition
public void deleteChannelDefinition(ChannelDefinition channelDef) throws SQLException, GroupsException(Code)
Permanently deletes a channel definition from the store. All references to this channel definition are also deleted.
Parameters:
  channelDef - the channel definition
throws:
  java.sql.SQLException -
throws:
  org.jasig.portal.groups.GroupsException -



deleteChannelType
public void deleteChannelType(ChannelType chanType) throws SQLException(Code)
Deletes a channel type. The deletion will only succeed if no existing channels reference the channel type.
Parameters:
  chanType - a channel type
throws:
  java.sql.SQLException -



disapproveChannelDefinition
public void disapproveChannelDefinition(ChannelDefinition channelDef) throws Exception(Code)
Removes a channel from the channel registry by changing its status from "approved" to "unapproved". Afterwards, no one will be able to subscribe to or render the channel. This method is a convenience method. As an alternative to calling this method, one could simply set the approver ID and approval date to NULL and then call saveChannelDefinition(ChannelDefinition chanDef).
Parameters:
  channelDef - the channel definition to disapprove
throws:
  Exception -



getChannelCategory
public ChannelCategory getChannelCategory(String channelCategoryId) throws GroupsException(Code)
Gets an existing channel category.
Parameters:
  channelCategoryId - the id of the category to get channelCategory the channel category
throws:
  org.jasig.portal.groups.GroupsException -



getChannelDefinition
public ChannelDefinition getChannelDefinition(int channelPublishId) throws SQLException(Code)
Get a channel definition.
Parameters:
  channelPublishId - a channel publish ID channelDefinition, a definition of the channel or nullif no matching channel definition can be found
throws:
  java.sql.SQLException -
throws:
  java.lang.IllegalArgumentException -



getChannelDefinition
public ChannelDefinition getChannelDefinition(String channelFunctionalName) throws SQLException(Code)
Get a channel definition. If there is more than one channel definition with the given functional name, then the one with the most recent approval date will be returned.
Parameters:
  channelFunctionalName - a channel functional name channelDefinition, a definition of the channel or nullif no matching channel definition can be found
throws:
  java.sql.SQLException -



getChannelDefinitions
public ChannelDefinition[] getChannelDefinitions() throws SQLException(Code)
Get all channel definitions including ones that haven't been approved. channelDefs, the channel definitions
throws:
  java.sql.SQLException -



getChannelMdataPstmt
final protected static PreparedStatement getChannelMdataPstmt(Connection con) throws SQLException(Code)



getChannelParamPstmt
final protected static PreparedStatement getChannelParamPstmt(Connection con) throws SQLException(Code)



getChannelPstmt
final protected static PreparedStatement getChannelPstmt(Connection con) throws SQLException(Code)



getChannelType
public ChannelType getChannelType(int channelTypeId) throws SQLException(Code)
Get the channel type associated with a particular identifier.
Parameters:
  channelTypeId - the channel type identifier channelType the channel type
throws:
  java.sql.SQLException -



getChannelTypes
public ChannelType[] getChannelTypes() throws SQLException(Code)
Get channel types. types, the channel types
throws:
  java.sql.SQLException -



getChildCategories
public ChannelCategory[] getChildCategories(ChannelCategory parent) throws GroupsException(Code)
Gets all child channel categories for a parent category. channelCategories the children categories
throws:
  org.jasig.portal.groups.GroupsException -



getChildChannels
public ChannelDefinition[] getChildChannels(ChannelCategory parent) throws SQLException, GroupsException(Code)
Gets all child channel definitions for a parent category. channelDefinitions the children channel definitions
throws:
  java.sql.SQLException -
throws:
  org.jasig.portal.groups.GroupsException -



getParentCategories
public ChannelCategory[] getParentCategories(ChannelCategory child) throws GroupsException(Code)
Gets the immediate parent categories of this category. parents, the parent categories.
throws:
  org.jasig.portal.groups.GroupsException -



getParentCategories
public ChannelCategory[] getParentCategories(ChannelDefinition child) throws GroupsException(Code)
Gets the immediate parent categories of this channel definition. parents, the parent categories.
throws:
  org.jasig.portal.groups.GroupsException -



getTopLevelChannelCategory
public ChannelCategory getTopLevelChannelCategory() throws GroupsException(Code)
Gets top level channel category channelCategories the new channel category
throws:
  org.jasig.portal.groups.GroupsException -



newChannelCategory
public ChannelCategory newChannelCategory() throws GroupsException(Code)
Creates a new channel category. channelCategory the new channel category
throws:
  org.jasig.portal.groups.GroupsException -



newChannelCategory
public ChannelCategory newChannelCategory(String name, String description, String creatorId) throws GroupsException(Code)
Creates a new channel category with the specified values.
Parameters:
  name - the name of the category
Parameters:
  description - the name of the description
Parameters:
  creatorId - the id of the creator or system channelCategory the new channel category
throws:
  GroupsException -



newChannelDefinition
public ChannelDefinition newChannelDefinition() throws Exception(Code)
Create a new ChannelDefinition object. channelDefinition, the new channel definition
throws:
  java.lang.Exception -



newChannelDefinition
public ChannelDefinition newChannelDefinition(int id) throws Exception(Code)
Create a new ChannelDefinition object. channelDefinition, the new channel definition
throws:
  java.lang.Exception -



newChannelType
public ChannelType newChannelType() throws Exception(Code)
Create a new ChannelType object. channelType, the new channel type
throws:
  java.lang.Exception -



removeCategoryFromCategory
public void removeCategoryFromCategory(ChannelCategory child, ChannelCategory parent) throws GroupsException(Code)
Makes one category a child of another.
Parameters:
  child - the category to remove
Parameters:
  parent - the category to remove from
throws:
  org.jasig.portal.groups.GroupsException -



removeChannelFromCategory
public void removeChannelFromCategory(ChannelDefinition channelDef, ChannelCategory category) throws PortalException(Code)
Disassociates a channel definition from a category.
Parameters:
  channelDef - the channel definition
Parameters:
  category - the channel category from which to disassociate the channel definition
throws:
  org.jasig.portal.PortalException -



saveChannelCategory
public void saveChannelCategory(ChannelCategory category) throws GroupsException(Code)
Persists a channel category.
Parameters:
  category - the channel category to persist
throws:
  org.jasig.portal.groups.GroupsException -



saveChannelDefinition
public void saveChannelDefinition(ChannelDefinition channelDef) throws Exception(Code)
Persists a channel definition.
Parameters:
  channelDef - the channel definition
throws:
  java.sql.SQLException -



saveChannelType
public void saveChannelType(ChannelType chanType) throws SQLException(Code)
Persists a channel type.
Parameters:
  chanType - a channel type
throws:
  java.sql.SQLException -



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.