Java Doc for Reference.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.Reference

All known Subclasses:   org.sakaiproject.entity.impl.ReferenceComponent,
Reference
public interface Reference (Code)

Reference holds an immutable reference to a Sakai entity.





Method Summary
 voidaddSiteContextAuthzGroup(Collection rv)
     Add the AuthzGroup(s) for context as a site.
 voidaddUserAuthzGroup(Collection rv, String id)
     Add the AuthzGroup for this user id, or for the user's type template, or for the general template.
 voidaddUserTemplateAuthzGroup(Collection rv, String id)
     Add the AuthzGroup for this user id, or for the user's type template, or for the general template.
 CollectiongetAuthzGroups()
     Compute the set of AuthzGroup ids associated with this referenced resource.
 CollectiongetAuthzGroups(String userId)
     Compute the set of AuthzGroup ids associated with this referenced resource, perhaps customized for security about this end user.
Parameters:
  userId - the end user ID, or null if we want the generic set.
 StringgetContainer()
    
 StringgetContext()
     Access the context id, if any.
 StringgetDescription()
    
 EntitygetEntity()
     Find the Entity that is referenced.
 EntityProducergetEntityProducer()
     Access the entity producer responsible for the referenced entity.
 StringgetId()
     Access the primary id.
 ResourcePropertiesgetProperties()
     Find the ResourceProperties object for this reference.
 StringgetReference()
     Access the reference.
 StringgetSubType()
     Access the subType.
 StringgetType()
     Access the type, an application id string.
 StringgetUrl()
     Access the URL which can be used to access the referenced resource.
 booleanisKnownType()
    
 booleanset(String type, String subType, String id, String container, String context)
    
 voidupdateReference(String ref)
     Update the reference string.



Method Detail
addSiteContextAuthzGroup
void addSiteContextAuthzGroup(Collection rv)(Code)
Add the AuthzGroup(s) for context as a site.
Parameters:
  rv - The list.



addUserAuthzGroup
void addUserAuthzGroup(Collection rv, String id)(Code)
Add the AuthzGroup for this user id, or for the user's type template, or for the general template.
Parameters:
  rv - The list.
Parameters:
  id - The user id.



addUserTemplateAuthzGroup
void addUserTemplateAuthzGroup(Collection rv, String id)(Code)
Add the AuthzGroup for this user id, or for the user's type template, or for the general template.
Parameters:
  rv - The list.
Parameters:
  id - The user id.



getAuthzGroups
Collection getAuthzGroups()(Code)
Compute the set of AuthzGroup ids associated with this referenced resource. List of AuthzGroup ids (String) associated with this referenced resource.



getAuthzGroups
Collection getAuthzGroups(String userId)(Code)
Compute the set of AuthzGroup ids associated with this referenced resource, perhaps customized for security about this end user.
Parameters:
  userId - the end user ID, or null if we want the generic set. List of AuthzGroup ids (String) associated with this referenced resource.



getContainer
String getContainer()(Code)
Access a single container id, the from most general (or only) The single or most general container, if any.



getContext
String getContext()(Code)
Access the context id, if any. the context id, if any.



getDescription
String getDescription()(Code)
a description of the resource referenced.



getEntity
Entity getEntity()(Code)
Find the Entity that is referenced. The Entity object that this references.



getEntityProducer
EntityProducer getEntityProducer()(Code)
Access the entity producer responsible for the referenced entity. The EntityProducer responsible for the referenced entity, or null if there is none.



getId
String getId()(Code)
Access the primary id. The primary id.



getProperties
ResourceProperties getProperties()(Code)
Find the ResourceProperties object for this reference. A ResourcesProperties object found (or constructed) for this reference.



getReference
String getReference()(Code)
Access the reference. The reference.



getSubType
String getSubType()(Code)
Access the subType. The subType.



getType
String getType()(Code)
Access the type, an application id string. This value must uniquely identify the application responsible for the reference, and must be unchanging over time (it may end up stored in database values). The type, an application id string.



getUrl
String getUrl()(Code)
Access the URL which can be used to access the referenced resource. The URL which can be used to access the referenced resource.



isKnownType
boolean isKnownType()(Code)
Check if the reference's type is known true if known, false if not.



set
boolean set(String type, String subType, String id, String container, String context)(Code)
Accept the settings for a reference - may be rejected if already set
Parameters:
  type -
Parameters:
  subType -
Parameters:
  id -
Parameters:
  container -
Parameters:
  container2 -
Parameters:
  context - true if settings are accepted, false if not.



updateReference
void updateReference(String ref)(Code)
Update the reference string.
Parameters:
  ref - The new reference string.



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