Java Doc for ResourceToolAction.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » content » api » 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 » ERP CRM Financial » sakai » org.sakaiproject.content.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.content.api.ResourceToolAction

All known Subclasses:   org.sakaiproject.content.util.BaseResourceAction,
ResourceToolAction
public interface ResourceToolAction (Code)
ResourceToolAction defines the way in which actions are described in a resource-type registration. Each action should have its own ResourceToolAction defined in the registration. If the action requires user interaction by a helper, the resource-type registration should include an action definition that implements the InteractionAction interface. If an action requires action by another webapp but does not involve user interaction (i.e. it does not delegate the user interaction to a helper), the resource-type registration should include an action definition that implements the ServiceLevelAction interface. Most actions for new resources types are likely to be similar to familiar actions on resources (e.g. "create", "revise", "delete", etc) and permissions for these actions are handled by the Content Hosting Service. If an action requires custom permissions, the definition of that action implements the CustomToolAction interface to provide a way for the Resources tool to determine whether to show the action as an option in a particular context to a particular user. A ResourceToolAction deinition should implement at least one of those subinterfaces, and it may implement all three. If a ResourceToolAction implements both InteractionAction and ServiceLevelAction, the activity of the helper defined by InteractionAction will occur before the service-level activity defined by ServiceLevelAction.
See Also:   org.sakaiproject.content.api.ResourceType

Inner Class :public enum ActionType

Field Summary
final public static  StringACCESS_CONTENT
    
final public static  StringACCESS_PROPERTIES
    
final public static  StringACTION_DELIMITER
    
final public static  StringACTION_PIPE
    
final public static  StringCOPY
    
final public static  StringCREATE
    
final public static  StringDELETE
    
final public static  StringDONE
    
final public static  StringDUPLICATE
    
final public static  StringMOVE
    
final public static  StringPASTE_COPIED
    
final public static  StringPASTE_MOVED
    
final public static  StringPERMISSIONS
    
final public static  StringPREFIX
     Prefix for all keys to Tool Session attributes used in messaging between ResourcesAction and helpers related to registered resource tool actions.
final public static  StringREORDER
    
final public static  StringREPLACE_CONTENT
    
final public static  StringREVISE_CONTENT
    
final public static  StringREVISE_METADATA
    
final public static  StringSTARTED
    
final public static  StringSTATE_MODE
    


Method Summary
public  booleanavailable(ContentEntity entity)
    
public  ActionTypegetActionType()
     Access the enumerated constant for this action.
public  StringgetId()
     Access the id of this action (which must be unique within this type and must be limited to alphnumeric characters).
public  StringgetLabel()
     Access a very short localized string that will be used as a label for this action in the user interface.
public  StringgetTypeId()
     Access the id of the ResourceType this action relates to.

Field Detail
ACCESS_CONTENT
final public static String ACCESS_CONTENT(Code)



ACCESS_PROPERTIES
final public static String ACCESS_PROPERTIES(Code)



ACTION_DELIMITER
final public static String ACTION_DELIMITER(Code)



ACTION_PIPE
final public static String ACTION_PIPE(Code)



COPY
final public static String COPY(Code)



CREATE
final public static String CREATE(Code)



DELETE
final public static String DELETE(Code)



DONE
final public static String DONE(Code)



DUPLICATE
final public static String DUPLICATE(Code)



MOVE
final public static String MOVE(Code)



PASTE_COPIED
final public static String PASTE_COPIED(Code)



PASTE_MOVED
final public static String PASTE_MOVED(Code)



PERMISSIONS
final public static String PERMISSIONS(Code)



PREFIX
final public static String PREFIX(Code)
Prefix for all keys to Tool Session attributes used in messaging between ResourcesAction and helpers related to registered resource tool actions. Removing all attributes whose keys begin with this prefix cleans up the tool session after a helper completes its work. ResourcesAction will cleanup tool session.



REORDER
final public static String REORDER(Code)



REPLACE_CONTENT
final public static String REPLACE_CONTENT(Code)



REVISE_CONTENT
final public static String REVISE_CONTENT(Code)



REVISE_METADATA
final public static String REVISE_METADATA(Code)



STARTED
final public static String STARTED(Code)



STATE_MODE
final public static String STATE_MODE(Code)





Method Detail
available
public boolean available(ContentEntity entity)(Code)
Should the resources tool make this action available to the current user with respect to the specified entity?
Parameters:
  entity -



getActionType
public ActionType getActionType()(Code)
Access the enumerated constant for this action.



getId
public String getId()(Code)
Access the id of this action (which must be unique within this type and must be limited to alphnumeric characters).



getLabel
public String getLabel()(Code)
Access a very short localized string that will be used as a label for this action in the user interface. If string is longer than about 20 characters, it may be truncated. Shorter strings (less than 10 characters) are preferred. If this method returns null, the Resources tool will assign a label based on the ActionType.



getTypeId
public String getTypeId()(Code)
Access the id of the ResourceType this action relates to.



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