Java Doc for Category.java in  » Forum » yazd » com » Yasna » forum » 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 » Forum » yazd » com.Yasna.forum 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.Yasna.forum.Category

All known Subclasses:   com.Yasna.forum.CategoryProxy,  com.Yasna.forum.database.DbCategory,
Category
public interface Category (Code)




Method Summary
abstract public  ForumGroupcreateForumGroup(String name, String description)
     Creates a new Forum Group.
public  voiddeleteForumGroup(ForumGroup forumGroup)
     Deletes a forumGroup and all forums that belongs to it.
public  IteratorforumGroups()
     Returns a Iterator for the Category to move through the forumGroups.
public  DategetCreationDate()
     Returns the Date that the Category was created.
public  StringgetDescription()
     Returns the description of the Category.
public  ForumGroupgetForumGroup(int forumGroupID)
     Returns the forumGroup specified by id.
public  intgetID()
     Returns the unique id of the Category.
public  DategetModifiedDate()
     Returns the Date that the Category was last modified.
public  StringgetName()
     Returns the name of the Category.
public  intgetOrder()
     this returns the value of the order of Category.
public  voidsetCreationDate(Date creationDate)
     Sets the creation date of the Category.
public  voidsetDescription(String description)
     Sets the description of the Category.
public  voidsetModifiedDate(Date modifiedDate)
     Sets the date the Category was last modified.
public  voidsetName(String name)
     Sets the name of the Category.
public  voidsetOrder(int param)
     you can use this method to set the value of the category order.



Method Detail
createForumGroup
abstract public ForumGroup createForumGroup(String name, String description) throws UnauthorizedException(Code)
Creates a new Forum Group.
Parameters:
  name - the name of the ForumGroup.
Parameters:
  description - the description of the ForumGroup.
throws:
  UnauthorizedException - if not allowed to create a ForumGroup.



deleteForumGroup
public void deleteForumGroup(ForumGroup forumGroup) throws UnauthorizedException(Code)
Deletes a forumGroup and all forums that belongs to it.
Parameters:
  forumGroup - the forumGroup to delete.
throws:
  UnauthorizedException - if does not have ADMIN permissions.



forumGroups
public Iterator forumGroups()(Code)
Returns a Iterator for the Category to move through the forumGroups.



getCreationDate
public Date getCreationDate()(Code)
Returns the Date that the Category was created. the Date the Category was created.



getDescription
public String getDescription()(Code)
Returns the description of the Category. the description of the Category.



getForumGroup
public ForumGroup getForumGroup(int forumGroupID) throws ForumGroupNotFoundException(Code)
Returns the forumGroup specified by id. The method will return null if the forumGroup is not in the Category.



getID
public int getID()(Code)
Returns the unique id of the Category. the unique id of the Category.



getModifiedDate
public Date getModifiedDate()(Code)
Returns the Date that the Category was last modified. the Date the Category was last modified.



getName
public String getName()(Code)
Returns the name of the Category. Every category name in the system must be unique. However, this restriction allows one to lookup a category by name as well as by ID. the name of the category.



getOrder
public int getOrder()(Code)
this returns the value of the order of Category. This value is used to sort the categories. category order



setCreationDate
public void setCreationDate(Date creationDate) throws UnauthorizedException(Code)
Sets the creation date of the Category.
Parameters:
  creationDate - the date the Category was created.
throws:
  UnauthorizedException - if does not have ADMIN permissions.



setDescription
public void setDescription(String description) throws UnauthorizedException(Code)
Sets the description of the Category.
Parameters:
  description - the description of the Category.
throws:
  UnauthorizedException - if does not have ADMIN permissions.



setModifiedDate
public void setModifiedDate(Date modifiedDate) throws UnauthorizedException(Code)
Sets the date the Category was last modified.
Parameters:
  modifiedDate - the date the Category was modified.
throws:
  UnauthorizedException - if does not have ADMIN permissions.



setName
public void setName(String name) throws UnauthorizedException, CategoryAlreadyExistsException(Code)
Sets the name of the Category. Every category name in the system must be unique. An exception will be thrown if a category with the same name as the new name already exists.
Parameters:
  name - the name of the category.
throws:
  UnauthorizedException - if does not have ADMIN permissions.
throws:
  CategoryAlreadyExistsException - if a category with the specified namealready exists.



setOrder
public void setOrder(int param) throws UnauthorizedException(Code)
you can use this method to set the value of the category order. This value is used to sort the categories.
Parameters:
  param -
throws:
  UnauthorizedException -



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