Java Doc for MyUtil.java in  » Forum » mvnforum-1.1 » com » mvnforum » 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 » mvnforum 1.1 » com.mvnforum 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.mvnforum.MyUtil

MyUtil
public class MyUtil (Code)


Field Summary
final public static  StringFORUM_ICON_READ_ACTIVE
    
final public static  StringFORUM_ICON_READ_CLOSED
    
final public static  StringFORUM_ICON_READ_DISABLED
    
final public static  StringFORUM_ICON_READ_LOCKED
    
final public static  StringFORUM_ICON_UNREAD_ACTIVE
    
final public static  StringFORUM_ICON_UNREAD_CLOSED
    
final public static  StringFORUM_ICON_UNREAD_DISABLED
    
final public static  StringFORUM_ICON_UNREAD_LOCKED
    
final public static  String[]KEY_WORDS_OF_MOBILE_DEVICE
    


Method Summary
public static  booleancanViewAnyForumInCategory(int categoryID, MVNForumPermission permission)
    
public static  booleancanViewForum(ForumBean forumBean, MVNForumPermission permission)
    
public static  voidcheckClassName(Locale locale, String className, boolean required)
    
public static  HashtablecheckMembers(String[] memberNames, Locale locale)
    
public static  voidensureCorrectCurrentPassword(GenericRequest request)
    
public static  voidensureCorrectCurrentPassword(GenericRequest request, String password, String passwordMD5)
    
public static  Stringfilter(String input, boolean enableHTML, boolean enableEmotion, boolean enableMVNCode, boolean enableNewLine, boolean enableURL)
    
public static  StringgetConfirmedEmailKey(int memberID)
    
public static  StringgetForumIconName(long lastLogon, long lastPost, int forumStatus, int forumThreadCount)
    
public static  CollectiongetForumsOwnedByMemberName(String memberName)
    
public static  StringBuffergetIndividualPermission(int combinePers, boolean globalPermission)
    
public static  LocalegetLocale(String localeName)
     Get the locale from locale name
Parameters:
  localeName - : in this format la_CO_VA, eg.
public static  StringgetLocaleNameAndSlash(String localeName)
     Get the String with a slash character '/' before the locale name
Parameters:
  localeName - the user's preferred locale the String with a slash character '/' before the locale name ifthis locale is configed to support it.
public static  StringgetMemberTitle(int postCount)
    
public static  CollectiongetNewMembersInRecentDays(Timestamp fromDate, Timestamp toDate, String sort, String order)
    
public static  CollectiongetPrivateForums(MVNForumPermission perms)
    
public static  StringgetStringFromFreeMarkerTemplate(HashMap informationSet, String templateFileName)
    
public static  StringgetThreadIconName(long lastLogon, long lastPost, int postCount, int threadStatus)
    
public static  StringgetThreadPriorityIcon(int threadPriority)
    
public static  StringgetThreadTypeIcon(int threadType)
    
public static  intgetViewableCategories(Collection categoryBeans, MVNForumPermission permission)
    
public static  intgetViewableForums(Collection forumBeans, MVNForumPermission permission)
    
public static  intgetViewablePosts(Collection forumBeans, MVNForumPermission permission)
    
public static  intgetViewableThreads(Collection forumBeans, MVNForumPermission permission)
    
public static  booleanisRequestFromMobileDevice(GenericRequest request)
    
public static  booleanisRootAdmin(GenericRequest request)
    
public static  booleanisRootAdmin(HttpServletRequest request)
    
public static  booleanisRootAdminID(int memberID)
    
public static  voidsaveVNTyperMode(GenericRequest request, GenericResponse response)
    
public static  voidsaveVNTyperMode(HttpServletRequest request, HttpServletResponse response)
    
public static  voidwriteMvnCoreImage(HttpServletResponse response)
    
public static  voidwriteMvnForumImage(HttpServletResponse response)
    

Field Detail
FORUM_ICON_READ_ACTIVE
final public static String FORUM_ICON_READ_ACTIVE(Code)



FORUM_ICON_READ_CLOSED
final public static String FORUM_ICON_READ_CLOSED(Code)



FORUM_ICON_READ_DISABLED
final public static String FORUM_ICON_READ_DISABLED(Code)



FORUM_ICON_READ_LOCKED
final public static String FORUM_ICON_READ_LOCKED(Code)



FORUM_ICON_UNREAD_ACTIVE
final public static String FORUM_ICON_UNREAD_ACTIVE(Code)



FORUM_ICON_UNREAD_CLOSED
final public static String FORUM_ICON_UNREAD_CLOSED(Code)



FORUM_ICON_UNREAD_DISABLED
final public static String FORUM_ICON_UNREAD_DISABLED(Code)



FORUM_ICON_UNREAD_LOCKED
final public static String FORUM_ICON_UNREAD_LOCKED(Code)



KEY_WORDS_OF_MOBILE_DEVICE
final public static String[] KEY_WORDS_OF_MOBILE_DEVICE(Code)





Method Detail
canViewAnyForumInCategory
public static boolean canViewAnyForumInCategory(int categoryID, MVNForumPermission permission)(Code)



canViewForum
public static boolean canViewForum(ForumBean forumBean, MVNForumPermission permission)(Code)



checkClassName
public static void checkClassName(Locale locale, String className, boolean required) throws BadInputException(Code)



checkMembers
public static Hashtable checkMembers(String[] memberNames, Locale locale) throws DatabaseException, BadInputException(Code)



ensureCorrectCurrentPassword
public static void ensureCorrectCurrentPassword(GenericRequest request) throws BadInputException, DatabaseException, AuthenticationException(Code)



ensureCorrectCurrentPassword
public static void ensureCorrectCurrentPassword(GenericRequest request, String password, String passwordMD5) throws BadInputException, DatabaseException, AuthenticationException(Code)



filter
public static String filter(String input, boolean enableHTML, boolean enableEmotion, boolean enableMVNCode, boolean enableNewLine, boolean enableURL)(Code)



getConfirmedEmailKey
public static String getConfirmedEmailKey(int memberID) throws ObjectNotFoundException, DatabaseException(Code)



getForumIconName
public static String getForumIconName(long lastLogon, long lastPost, int forumStatus, int forumThreadCount)(Code)



getForumsOwnedByMemberName
public static Collection getForumsOwnedByMemberName(String memberName) throws DatabaseException(Code)



getIndividualPermission
public static StringBuffer getIndividualPermission(int combinePers, boolean globalPermission) throws BadInputException(Code)



getLocale
public static Locale getLocale(String localeName)(Code)
Get the locale from locale name
Parameters:
  localeName - : in this format la_CO_VA, eg. en_US the locale instance of the localeName



getLocaleNameAndSlash
public static String getLocaleNameAndSlash(String localeName)(Code)
Get the String with a slash character '/' before the locale name
Parameters:
  localeName - the user's preferred locale the String with a slash character '/' before the locale name ifthis locale is configed to support it. Otherwise,an empty String will be return



getMemberTitle
public static String getMemberTitle(int postCount)(Code)



getNewMembersInRecentDays
public static Collection getNewMembersInRecentDays(Timestamp fromDate, Timestamp toDate, String sort, String order) throws IllegalArgumentException, DatabaseException(Code)



getPrivateForums
public static Collection getPrivateForums(MVNForumPermission perms) throws DatabaseException(Code)



getStringFromFreeMarkerTemplate
public static String getStringFromFreeMarkerTemplate(HashMap informationSet, String templateFileName) throws IOException, TemplateException(Code)



getThreadIconName
public static String getThreadIconName(long lastLogon, long lastPost, int postCount, int threadStatus)(Code)



getThreadPriorityIcon
public static String getThreadPriorityIcon(int threadPriority)(Code)



getThreadTypeIcon
public static String getThreadTypeIcon(int threadType)(Code)



getViewableCategories
public static int getViewableCategories(Collection categoryBeans, MVNForumPermission permission)(Code)



getViewableForums
public static int getViewableForums(Collection forumBeans, MVNForumPermission permission)(Code)



getViewablePosts
public static int getViewablePosts(Collection forumBeans, MVNForumPermission permission)(Code)



getViewableThreads
public static int getViewableThreads(Collection forumBeans, MVNForumPermission permission)(Code)



isRequestFromMobileDevice
public static boolean isRequestFromMobileDevice(GenericRequest request)(Code)
Check if request is from a mobile device



isRootAdmin
public static boolean isRootAdmin(GenericRequest request) throws AuthenticationException, DatabaseException(Code)
Check if the online user is Root Admin



isRootAdmin
public static boolean isRootAdmin(HttpServletRequest request) throws AuthenticationException, DatabaseException(Code)
Check if the online user is Root Admin



isRootAdminID
public static boolean isRootAdminID(int memberID)(Code)
check if memberID belongs to admin's id



saveVNTyperMode
public static void saveVNTyperMode(GenericRequest request, GenericResponse response)(Code)



saveVNTyperMode
public static void saveVNTyperMode(HttpServletRequest request, HttpServletResponse response)(Code)



writeMvnCoreImage
public static void writeMvnCoreImage(HttpServletResponse response) throws IOException(Code)



writeMvnForumImage
public static void writeMvnForumImage(HttpServletResponse response) throws IOException(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.