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


org.sakaiproject.entity.api.EntityProducer

All known Subclasses:   org.sakaiproject.chat2.model.impl.ChatEntityProducer,  org.sakaiproject.tool.gradebook.facades.sakai2impl.BaseEntityProducer,  org.sakaiproject.tool.assessment.services.assessment.AssessmentEntityProducer,  org.sakaiproject.metaobj.shared.mgt.EntityProducerBase,  org.sakaiproject.sample.impl.SampleImplAccess,
EntityProducer
public interface EntityProducer (Code)

Services which implement EntityProducer declare themselves as producers of Sakai entities.





Method Summary
 Stringarchive(String siteId, Document doc, Stack stack, String archivePath, List attachments)
     Archive the resources for the given site.
Parameters:
  siteId - the id of the site.
Parameters:
  doc - The document to contain the xml.
Parameters:
  stack - The stack of elements, the top of which will be the containing element of the "service.name" element.
Parameters:
  archivePath - The path to the folder where we are writing auxilary files.
Parameters:
  attachments - A list of attachments - add to this if any attachments need to be included in the archive.
 EntitygetEntity(Reference ref)
     Access the referenced Entity - the entity will belong to the service.
Parameters:
  ref - The entity reference.
 CollectiongetEntityAuthzGroups(Reference ref, String userId)
     Access a collection of authorization group ids for security on the for the referenced entity - the entity will belong to the service.
Parameters:
  ref - The entity reference.
Parameters:
  userId - The userId for a user-specific set of groups, or null for the generic set.
 StringgetEntityDescription(Reference ref)
     Create an entity description for the entity referenced - the entity will belong to the service.
Parameters:
  ref - The entity reference.
 ResourcePropertiesgetEntityResourceProperties(Reference ref)
     Access the resource properties for the referenced entity - the entity will belong to the service.
Parameters:
  ref - The entity reference.
 StringgetEntityUrl(Reference ref)
     Access a URL for the referenced entity - the entity will belong to the service.
Parameters:
  ref - The entity reference.
 HttpAccessgetHttpAccess()
     Get the HttpAccess object that supports entity access via the access servlet for my entities.
 StringgetLabel()
    
 Stringmerge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)
     Merge the resources from the archive into the given site.
Parameters:
  siteId - The id of the site getting imported into.
Parameters:
  root - The XML DOM tree of content to merge.
Parameters:
  archviePath - The path to the folder where we are reading auxilary files.
Parameters:
  fromSite - The site id from which these items were archived.
Parameters:
  attachmentNames - A map of old attachment name (as found in the DOM) to new attachment name.
 booleanparseEntityReference(String reference, Reference ref)
     If the service recognizes the reference as its own, parse it and fill in the Reference
Parameters:
  reference - The reference string to examine.
Parameters:
  ref - The Reference object to set with the results of the parse from a recognized reference.
 booleanwillArchiveMerge()
    



Method Detail
archive
String archive(String siteId, Document doc, Stack stack, String archivePath, List attachments)(Code)
Archive the resources for the given site.
Parameters:
  siteId - the id of the site.
Parameters:
  doc - The document to contain the xml.
Parameters:
  stack - The stack of elements, the top of which will be the containing element of the "service.name" element.
Parameters:
  archivePath - The path to the folder where we are writing auxilary files.
Parameters:
  attachments - A list of attachments - add to this if any attachments need to be included in the archive. A log of status messages from the archive.



getEntity
Entity getEntity(Reference ref)(Code)
Access the referenced Entity - the entity will belong to the service.
Parameters:
  ref - The entity reference. The Entity, or null if not found.



getEntityAuthzGroups
Collection getEntityAuthzGroups(Reference ref, String userId)(Code)
Access a collection of authorization group ids for security on the for the referenced entity - the entity will belong to the service.
Parameters:
  ref - The entity reference.
Parameters:
  userId - The userId for a user-specific set of groups, or null for the generic set. The entity's collection of authorization group ids, or null if this cannot be done.



getEntityDescription
String getEntityDescription(Reference ref)(Code)
Create an entity description for the entity referenced - the entity will belong to the service.
Parameters:
  ref - The entity reference. The entity description, or null if one cannot be made.



getEntityResourceProperties
ResourceProperties getEntityResourceProperties(Reference ref)(Code)
Access the resource properties for the referenced entity - the entity will belong to the service.
Parameters:
  ref - The entity reference. The ResourceProperties object for the entity, or null if it has none.



getEntityUrl
String getEntityUrl(Reference ref)(Code)
Access a URL for the referenced entity - the entity will belong to the service.
Parameters:
  ref - The entity reference. The entity's URL, or null if it does not have one.



getHttpAccess
HttpAccess getHttpAccess()(Code)
Get the HttpAccess object that supports entity access via the access servlet for my entities. The HttpAccess object for my entities, or null if I do not support access.



getLabel
String getLabel()(Code)
a short string identifying the resources kept here, good for a file name or label.



merge
String merge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)(Code)
Merge the resources from the archive into the given site.
Parameters:
  siteId - The id of the site getting imported into.
Parameters:
  root - The XML DOM tree of content to merge.
Parameters:
  archviePath - The path to the folder where we are reading auxilary files.
Parameters:
  fromSite - The site id from which these items were archived.
Parameters:
  attachmentNames - A map of old attachment name (as found in the DOM) to new attachment name. A log of status messages from the merge.



parseEntityReference
boolean parseEntityReference(String reference, Reference ref)(Code)
If the service recognizes the reference as its own, parse it and fill in the Reference
Parameters:
  reference - The reference string to examine.
Parameters:
  ref - The Reference object to set with the results of the parse from a recognized reference. true if the reference belonged to the service, false if not.



willArchiveMerge
boolean willArchiveMerge()(Code)
true if the serice wants to be part of archive / merge, false if not.



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