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


001:        /**
002:         * 
003:         */package org.sakaiproject.content.impl;
004:
005:        import java.io.InputStream;
006:        import java.util.List;
007:
008:        import org.sakaiproject.content.api.ContentCollection;
009:        import org.sakaiproject.content.api.ContentCollectionEdit;
010:        import org.sakaiproject.content.api.ContentHostingHandlerResolver;
011:        import org.sakaiproject.content.api.ContentResource;
012:        import org.sakaiproject.content.api.ContentResourceEdit;
013:        import org.sakaiproject.content.impl.BaseContentService.Storage;
014:        import org.sakaiproject.content.impl.DbContentService.DbStorage;
015:        import org.sakaiproject.entity.api.Edit;
016:        import org.sakaiproject.exception.ServerOverloadException;
017:        import org.sakaiproject.util.StorageUser;
018:
019:        /**
020:         * <p>
021:         * The ContentHostingHandlerResolver performs operations on the ContentHostingService storage area to resolve operations in the storage area to the correct location. This can either be the default storage implementation or the ContentHostingHandler
022:         * associated with nodes in the path to the ContentEntity in question. i.e. traditional ContentHosting resources are dealt with as they always have been, storage commands applied to virtual entities are passed to the ContentHostingHandler which represents
023:         * them in CHH (johnf@caret.cam.ac.uk)
024:         * </p>
025:         * <p>
026:         * Implementors should be aware that there may be heavy access to this component on a per- request basis, so they might want to consider a caching mechanism if the resolution of ContentEntities is expensive.
027:         * </p>
028:         * 
029:         * @author ieb
030:         */
031:        public interface BaseContentHostingHandlerResolver extends
032:                ContentHostingHandlerResolver {
033:            /**
034:             * @param storage
035:             * @param edit
036:             */
037:            void cancelCollection(Storage storage, ContentCollectionEdit edit);
038:
039:            /**
040:             * @param storage
041:             * @param edit
042:             */
043:            void cancelResource(Storage storage, ContentResourceEdit edit);
044:
045:            /**
046:             * @param storage
047:             * @param id
048:             * @return
049:             */
050:            boolean checkCollection(Storage storage, String id);
051:
052:            /**
053:             * @param storage
054:             * @param id
055:             * @return
056:             */
057:            boolean checkResource(Storage storage, String id);
058:
059:            /**
060:             * @param storage
061:             * @param edit
062:             */
063:            void commitCollection(Storage storage, ContentCollectionEdit edit);
064:
065:            /**
066:             * @param storage
067:             * @param edit
068:             * @param uuid
069:             */
070:            void commitDeleteResource(Storage storage,
071:                    ContentResourceEdit edit, String uuid);
072:
073:            /**
074:             * @param storage
075:             * @param edit
076:             * @throws ServerOverloadException
077:             */
078:            void commitResource(Storage storage, ContentResourceEdit edit)
079:                    throws ServerOverloadException;
080:
081:            /**
082:             * @param storage
083:             * @param id
084:             * @return
085:             */
086:            ContentCollectionEdit editCollection(Storage storage, String id);
087:
088:            /**
089:             * @param storage
090:             * @param id
091:             * @return
092:             */
093:            ContentResourceEdit editResource(Storage storage, String id);
094:
095:            /**
096:             * @param storage
097:             * @param id
098:             * @return
099:             */
100:            ContentCollection getCollection(Storage storage, String id);
101:
102:            /**
103:             * @param storage
104:             * @param collection
105:             * @return
106:             */
107:            List getCollections(Storage storage, ContentCollection collection);
108:
109:            /**
110:             * @param storage
111:             * @param collectionId
112:             * @return
113:             */
114:            List getFlatResources(Storage storage, String collectionId);
115:
116:            /**
117:             * @param storage
118:             * @param id
119:             * @return
120:             */
121:            ContentResource getResource(Storage storage, String id);
122:
123:            /**
124:             * @param storage
125:             * @param resource
126:             * @return
127:             * @throws ServerOverloadException
128:             */
129:            byte[] getResourceBody(Storage storage, ContentResource resource)
130:                    throws ServerOverloadException;
131:
132:            /**
133:             * @param storage
134:             * @param collection
135:             * @return
136:             */
137:            List getResources(Storage storage, ContentCollection collection);
138:
139:            /**
140:             * @param storage
141:             * @param id
142:             * @return
143:             */
144:            ContentCollectionEdit putCollection(Storage storage, String id);
145:
146:            /**
147:             * @param storage
148:             * @param uuid
149:             * @param userId
150:             * @param object
151:             * @return
152:             */
153:            ContentResourceEdit putDeleteResource(Storage storage, String id,
154:                    String uuid, String userId);
155:
156:            /**
157:             * @param storage
158:             * @param id
159:             * @return
160:             */
161:            ContentResourceEdit putResource(Storage storage, String id);
162:
163:            /**
164:             * @param storage
165:             * @param edit
166:             */
167:            void removeCollection(Storage storage, ContentCollectionEdit edit);
168:
169:            /**
170:             * @param storage
171:             * @param edit
172:             */
173:            void removeResource(Storage storage, ContentResourceEdit edit);
174:
175:            /**
176:             * @param storage
177:             * @param resource
178:             * @return
179:             * @throws ServerOverloadException
180:             */
181:            InputStream streamResourceBody(Storage storage,
182:                    ContentResource resource) throws ServerOverloadException;
183:
184:            void setResourceUser(StorageUser rsu);
185:
186:            void setCollectionUser(StorageUser csu);
187:
188:            int getMemberCount(Storage storage, String collectionId);
189:
190:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.