Java Doc for ResourceModel.java in  » IDE-Netbeans » visualweb.api.designer » com » sun » rave » web » ui » model » 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 » IDE Netbeans » visualweb.api.designer » com.sun.rave.web.ui.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.rave.web.ui.model.ResourceModel

ResourceModel
public interface ResourceModel (Code)

author:
   deep




Method Summary
public  booleancanRead(String resourceName)
     This methods checks if the resource path in question can be accessed by the user trying to select or view it.
public  booleancanWrite(String resourceName)
     This methods checks if the resource path in question can be accessed for writes by the user.
public  StringgetAbsoluteRoot()
     Returns the root value of the file system in question.
public  StringgetCurrentDir()
    
public  StringgetDelimiterChar()
    
public  StringgetEscapeChar()
    
public  StringgetFilterValue()
     Return the filter String currently in use.
public  ResourceItem[]getFolderContent(String folder, boolean disableFiles, boolean disableFolders)
     Returns the list of objects in the container represented by the current directory.
public  StringgetParentFolder()
    
public  ResourceItemgetResourceItem(String itemKey)
     Given a ResourceItem key return the ResourceItem. - the resource item key which is the same as the value of the Option element in the listbox.
public  String[]getRoots()
    
public  Object[]getSelectedContent(String[] content, boolean selectFolders)
    
public  StringgetSeparatorString()
     Return the separator String for this resource system.
public  StringgetServerName()
     Get the Server namefrom where the resources are being loaded.
public  StringgetSortValue()
     Return the sort field that is currently active.
public  booleanisFolderType(String path)
     Returns true if the supplied absolute path is a folder type.
public  voidsetAbsoluteRoot(String absRoot)
     Sets the root value of the resource system in question.
public  voidsetCurrentDir(String dir)
     This method is called to set the current directory of the resuource list that would be displayed in the next display cycle.
public  voidsetFilterValue(String filterString)
     Set the filter String entered by the user in the Filter text field.
public  voidsetServerName(String serverName)
     Set the server name from where the resources are being loaded.
public  voidsetSortValue(String sortField)
     Set the sort field chosen by the user from the drop down menu.



Method Detail
canRead
public boolean canRead(String resourceName)(Code)
This methods checks if the resource path in question can be accessed by the user trying to select or view it.
Parameters:
  resourceName - - the resource name to check for read access true if the user can select the resource specifiedby the resource name.



canWrite
public boolean canWrite(String resourceName)(Code)
This methods checks if the resource path in question can be accessed for writes by the user.
Parameters:
  resourceName - - the resource name to check for write access true if the user can select the resource specifiedby the resource name for write.



getAbsoluteRoot
public String getAbsoluteRoot()(Code)
Returns the root value of the file system in question. For example, in the default implementation of this interface for local filesystems the root value would be "/" in Unix and "C:\" on Windows. returns the absolute root (directory for files and folders).



getCurrentDir
public String getCurrentDir()(Code)
This method is called to get the current directory of the resuource list being displayed in the filechooser's listbox returns the current root (directory for files and folders).



getDelimiterChar
public String getDelimiterChar()(Code)



getEscapeChar
public String getEscapeChar()(Code)



getFilterValue
public String getFilterValue()(Code)
Return the filter String currently in use. returns the filter String.



getFolderContent
public ResourceItem[] getFolderContent(String folder, boolean disableFiles, boolean disableFolders)(Code)
Returns the list of objects in the container represented by the current directory. This method returns an Array of ResourecItem objects



getParentFolder
public String getParentFolder()(Code)



getResourceItem
public ResourceItem getResourceItem(String itemKey)(Code)
Given a ResourceItem key return the ResourceItem. - the resource item key which is the same as the value of the Option element in the listbox. - the ResourceItem object



getRoots
public String[] getRoots()(Code)



getSelectedContent
public Object[] getSelectedContent(String[] content, boolean selectFolders) throws ResourceModelException(Code)



getSeparatorString
public String getSeparatorString()(Code)
Return the separator String for this resource system. For a file system chooser this would be File.separator. returns the separator String.



getServerName
public String getServerName()(Code)
Get the Server namefrom where the resources are being loaded.



getSortValue
public String getSortValue()(Code)
Return the sort field that is currently active. returns the sort field in use.



isFolderType
public boolean isFolderType(String path)(Code)
Returns true if the supplied absolute path is a folder type.
Parameters:
  path - - the absolute path to the resource returns the current root (directory for files and folders).



setAbsoluteRoot
public void setAbsoluteRoot(String absRoot)(Code)
Sets the root value of the resource system in question. For example, in the default implementation of this interface for local filesystems the root value could be set to "/" in Unix and "C:\" on Windows.
Parameters:
  absRoot - - the value to be used as the root of this resource system



setCurrentDir
public void setCurrentDir(String dir)(Code)
This method is called to set the current directory of the resuource list that would be displayed in the next display cycle.
Parameters:
  dir - - the value to be set the new current root node.



setFilterValue
public void setFilterValue(String filterString)(Code)
Set the filter String entered by the user in the Filter text field.
Parameters:
  filterString - - the filter string to be used subsequently.



setServerName
public void setServerName(String serverName)(Code)
Set the server name from where the resources are being loaded.
Parameters:
  serverName - - the server name to be set



setSortValue
public void setSortValue(String sortField)(Code)
Set the sort field chosen by the user from the drop down menu.
Parameters:
  sortField - - string representing sortField selected by the user.



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