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


java.lang.Object
   org.sakaiproject.user.impl.BasePreferencesService

All known Subclasses:   org.sakaiproject.user.impl.DbPreferencesService,
BasePreferencesService
abstract public class BasePreferencesService implements PreferencesService,StorageUser(Code)

BasePreferencesService is a Sakai Preferences implementation.


Inner Class :public class BasePreferences implements PreferencesEdit,SessionBindingListener
Inner Class :protected interface Storage

Field Summary
protected  StringATTR_PREFERENCE
    
protected  StringATTR_PREFERENCE_IS_NULL
    
protected  Stringm_relativeAccessPoint
     The initial portion of a relative access point URL.
protected  Storagem_storage
     Storage manager for this service.


Method Summary
public  PreferencesEditadd(String id)
    
public  booleanallowUpdate(String id)
    
public  Stringarchive(String siteId, Document doc, Stack stack, String archivePath, List attachments)
    
public  voidcancel(PreferencesEdit edit)
    
public  voidcommit(PreferencesEdit edit)
    
public  voiddestroy()
     Returns to uninitialized state.
public  PreferencesEditedit(String id)
    
abstract protected  EntityManagerentityManager()
    
abstract protected  EventTrackingServiceeventTrackingService()
    
protected  BasePreferencesfindPreferences(String id)
     Find the preferences object, in cache or storage.
Parameters:
  id - The preferences id.
abstract protected  FunctionManagerfunctionManager()
    
protected  StringgetAccessPoint(boolean relative)
     Access the partial URL that forms the root of resource URLs.
Parameters:
  relative - if true, form within the access path only (i.e.
public  TimegetDate(Entity r)
    
public  EntitygetEntity(Reference ref)
    
public  CollectiongetEntityAuthzGroups(Reference ref, String userId)
    
public  StringgetEntityDescription(Reference ref)
    
public  ResourcePropertiesgetEntityResourceProperties(Reference ref)
    
public  StringgetEntityUrl(Reference ref)
    
public  HttpAccessgetHttpAccess()
    
public  StringgetLabel()
    
public  StringgetOwnerId(Entity r)
    
public  PreferencesgetPreferences(String id)
    
public  voidinit()
     Final initialization, once all dependencies are set.
public  booleanisDraft(Entity r)
    
abstract protected  MemoryServicememoryService()
    
public  Stringmerge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)
    
public  EntitynewContainer(String ref)
    
public  EntitynewContainer(Element element)
    
public  EntitynewContainer(Entity other)
    
public  EditnewContainerEdit(String ref)
    
public  EditnewContainerEdit(Element element)
    
public  EditnewContainerEdit(Entity other)
    
public  EntitynewResource(Entity container, String id, Object[] others)
    
public  EntitynewResource(Entity container, Element element)
    
public  EntitynewResource(Entity container, Entity other)
    
public  EditnewResourceEdit(Entity container, String id, Object[] others)
    
public  EditnewResourceEdit(Entity container, Element element)
    
public  EditnewResourceEdit(Entity container, Entity other)
    
abstract protected  StoragenewStorage()
     Construct storage for this service.
public  booleanparseEntityReference(String reference, Reference ref)
    
protected  StringpreferencesId(String ref)
     Access the preferences id extracted from a preferences reference.
Parameters:
  ref - The preferences reference string.
public  StringpreferencesReference(String id)
    
public  voidremove(PreferencesEdit edit)
    
abstract protected  SecurityServicesecurityService()
    
abstract protected  ServerConfigurationServiceserverConfigurationService()
    
abstract protected  SessionManagersessionManager()
    
public  Object[]storageFields(Entity r)
    
protected  voidunlock(String lock, String resource)
     Check security permission.
protected  booleanunlockCheck(String lock, String resource)
     Check security permission.
Parameters:
  lock - The lock id string.
Parameters:
  resource - The resource reference string, or null if no resource is involved.
abstract protected  UserDirectoryServiceuserDirectoryService()
    
public  booleanwillArchiveMerge()
    

Field Detail
ATTR_PREFERENCE
protected String ATTR_PREFERENCE(Code)
The session cache variable for current user's preferences



ATTR_PREFERENCE_IS_NULL
protected String ATTR_PREFERENCE_IS_NULL(Code)
The session cache variable for indicating whether the current user's preference was null when last looked



m_relativeAccessPoint
protected String m_relativeAccessPoint(Code)
The initial portion of a relative access point URL.



m_storage
protected Storage m_storage(Code)
Storage manager for this service.





Method Detail
add
public PreferencesEdit add(String id) throws PermissionException, IdUsedException(Code)



allowUpdate
public boolean allowUpdate(String id)(Code)



archive
public String archive(String siteId, Document doc, Stack stack, String archivePath, List attachments)(Code)



cancel
public void cancel(PreferencesEdit edit)(Code)



commit
public void commit(PreferencesEdit edit)(Code)



destroy
public void destroy()(Code)
Returns to uninitialized state.



edit
public PreferencesEdit edit(String id) throws PermissionException, InUseException, IdUnusedException(Code)



entityManager
abstract protected EntityManager entityManager()(Code)
the EntityManager collaborator.



eventTrackingService
abstract protected EventTrackingService eventTrackingService()(Code)
the EventTrackingService collaborator.



findPreferences
protected BasePreferences findPreferences(String id)(Code)
Find the preferences object, in cache or storage.
Parameters:
  id - The preferences id. The preferences object found in cache or storage, or null if not found.



functionManager
abstract protected FunctionManager functionManager()(Code)
the FunctionManager collaborator.



getAccessPoint
protected String getAccessPoint(boolean relative)(Code)
Access the partial URL that forms the root of resource URLs.
Parameters:
  relative - if true, form within the access path only (i.e. starting with /content) the partial URL that forms the root of resource URLs.



getDate
public Time getDate(Entity r)(Code)



getEntity
public Entity getEntity(Reference ref)(Code)



getEntityAuthzGroups
public Collection getEntityAuthzGroups(Reference ref, String userId)(Code)



getEntityDescription
public String getEntityDescription(Reference ref)(Code)



getEntityResourceProperties
public ResourceProperties getEntityResourceProperties(Reference ref)(Code)



getEntityUrl
public String getEntityUrl(Reference ref)(Code)



getHttpAccess
public HttpAccess getHttpAccess()(Code)



getLabel
public String getLabel()(Code)



getOwnerId
public String getOwnerId(Entity r)(Code)



getPreferences
public Preferences getPreferences(String id)(Code)



init
public void init()(Code)
Final initialization, once all dependencies are set.



isDraft
public boolean isDraft(Entity r)(Code)



memoryService
abstract protected MemoryService memoryService()(Code)
the MemoryService collaborator.



merge
public String merge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)(Code)



newContainer
public Entity newContainer(String ref)(Code)



newContainer
public Entity newContainer(Element element)(Code)



newContainer
public Entity newContainer(Entity other)(Code)



newContainerEdit
public Edit newContainerEdit(String ref)(Code)



newContainerEdit
public Edit newContainerEdit(Element element)(Code)



newContainerEdit
public Edit newContainerEdit(Entity other)(Code)



newResource
public Entity newResource(Entity container, String id, Object[] others)(Code)



newResource
public Entity newResource(Entity container, Element element)(Code)



newResource
public Entity newResource(Entity container, Entity other)(Code)



newResourceEdit
public Edit newResourceEdit(Entity container, String id, Object[] others)(Code)



newResourceEdit
public Edit newResourceEdit(Entity container, Element element)(Code)



newResourceEdit
public Edit newResourceEdit(Entity container, Entity other)(Code)



newStorage
abstract protected Storage newStorage()(Code)
Construct storage for this service.



parseEntityReference
public boolean parseEntityReference(String reference, Reference ref)(Code)



preferencesId
protected String preferencesId(String ref)(Code)
Access the preferences id extracted from a preferences reference.
Parameters:
  ref - The preferences reference string. The the preferences id extracted from a preferences reference.



preferencesReference
public String preferencesReference(String id)(Code)



remove
public void remove(PreferencesEdit edit)(Code)



securityService
abstract protected SecurityService securityService()(Code)
the SecurityService collaborator.



serverConfigurationService
abstract protected ServerConfigurationService serverConfigurationService()(Code)
the ServerConfigurationService collaborator.



sessionManager
abstract protected SessionManager sessionManager()(Code)
the SessionManager collaborator.



storageFields
public Object[] storageFields(Entity r)(Code)



unlock
protected void unlock(String lock, String resource) throws PermissionException(Code)
Check security permission.
Parameters:
  lock - The lock id string.
Parameters:
  resource - The resource reference string, or null if no resource is involved.
exception:
  PermissionException - Thrown if the user does not have access



unlockCheck
protected boolean unlockCheck(String lock, String resource)(Code)
Check security permission.
Parameters:
  lock - The lock id string.
Parameters:
  resource - The resource reference string, or null if no resource is involved. true if allowd, false if not



userDirectoryService
abstract protected UserDirectoryService userDirectoryService()(Code)
the UserDirectoryService collaborator.



willArchiveMerge
public boolean willArchiveMerge()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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