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


java.lang.Object
   org.sakaiproject.message.impl.BaseMessageService

All known Subclasses:   org.sakaiproject.chat.impl.BaseChatService,  org.sakaiproject.discussion.impl.BaseDiscussionService,  org.sakaiproject.announcement.impl.BaseAnnouncementService,  org.sakaiproject.mailarchive.impl.BaseMailArchiveService,
BaseMessageService
abstract public class BaseMessageService implements MessageService,StorageUser,CacheRefresher(Code)
BaseMessageService is...

Inner Class :public class BaseMessageChannelEdit extends Observable implements MessageChannelEdit,SessionBindingListener
Inner Class :public class BaseMessageEdit implements MessageEdit,SessionBindingListener
Inner Class :public class BaseMessageHeaderEdit implements MessageHeaderEdit
Inner Class :protected interface Storage
Inner Class :protected class MessagePermissionFilter implements Filter
Inner Class :protected class MessageSelectionFilter implements Filter

Field Summary
protected  AuthzGroupServicem_authzGroupService
     Dependency: AuthzGroupService.
protected  booleanm_caching
     Configuration: cache, or not.
protected  Cachem_channelCache
     A Cache object for caching: channels keyed by reference.
protected  EntityManagerm_entityManager
     Dependency: EntityManager.
protected  EventTrackingServicem_eventTrackingService
     Dependency: EventTrackingService.
protected  IdManagerm_idManager
     Dependency: IdManager.
protected  MemoryServicem_memoryService
     Dependency: MemoryService.
protected  Hashtablem_messageCaches
     A bunch of caches for messages: keyed by channel id, the cache is keyed by message reference.
protected  SecurityServicem_securityService
     Dependency: SecurityService.
protected  ServerConfigurationServicem_serverConfigurationService
     Dependency: ServerConfigurationService.
protected  SessionManagerm_sessionManager
     Dependency: SessionManager.
protected  SiteServicem_siteService
     Dependency: SiteService.
protected  Storagem_storage
     A Storage object for persistent storage.
protected  ThreadLocalManagerm_threadLocalManager
     Dependency: ThreadLocalManager.
protected  TimeServicem_timeService
     Dependency: TimeService.
protected  UserDirectoryServicem_userDirectoryService
     Dependency: UserDirectoryService.


Method Summary
public  MessageChannelEditaddChannel(String ref)
     Add a new channel.
public  booleanallowAddChannel(String ref)
     check permissions for addChannel().
Parameters:
  ref - The channel reference.
public  booleanallowEditChannel(String ref)
     check permissions for editChannel()
Parameters:
  ref - The channel reference.
public  booleanallowGetChannel(String ref)
     check permissions for getChannel().
Parameters:
  ref - The channel reference.
protected  booleanallowGetMessage(String channelRef, String msgRef)
     Check the message read permission for the message
Parameters:
  ref - The Reference (assumed to be to a message).
public  booleanallowRemoveChannel(String ref)
     Check permissions for removeChannel().
Parameters:
  ref - The channel reference.
public  Stringarchive(String siteId, Document doc, Stack stack, String archivePath, List attachments)
    
public  voidarchiveSynopticOptions(String siteId, Document doc, Element element)
    
public  voidcancelChannel(MessageChannelEdit edit)
     Cancel the changes made to a MessageChannelEdit object, and release the lock.
public  voidcancelMessage(MessageEdit edit)
     Cancel the changes made to a MessageEdit object, and release the lock.
public  StringchannelReference(String context, String id)
     Access the internal reference which can be used to access the channel from within the system.
Parameters:
  context - The context.
Parameters:
  id - The channel id.
public  voidcommitChannel(MessageChannelEdit edit)
     Commit the changes made to a MessageChannelEdit object, and release the lock.
public  voiddestroy()
    
protected  voiddisableMessageChannel(String siteId)
     Remove the main message channel for a site.
public  MessageChannelEditeditChannel(String ref)
     Return a specific channel, as specified by channel id, locked for update.
protected  voidenableMessageChannel(String siteId)
     Setup a main message channel for a site.
abstract protected  StringeventId(String secure)
     Form a tracking event string based on a security function string.
Parameters:
  secure - The security function string.
protected  MessageChannelfindChannel(String ref)
     Find the channel, in cache or info store - cache it if newly found.
Parameters:
  ref - The channel reference.
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  MessageChannelgetChannel(String ref)
     Return a specific channel.
Parameters:
  ref - The channel reference.
public  ListgetChannelIds(String context)
     Access a list of channel ids that are defined related to the context.
public  ListgetChannels()
     Return a list of all the defined channels.
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  MessagegetMessage(Reference ref)
     Get a message, given a reference.
public  ListgetMessages(String channelRef, Time afterDate, int limitedToLatest, boolean ascending, boolean includeDrafts, boolean pubViewOnly)
    
abstract protected  StringgetReferenceRoot()
     Return the reference rooot for use in resource references and urls.
public  MapgetSummary(String channel, int items, int days)
    
protected  StringgetSummaryFromHeader(Message item, MessageHeader header)
    
public  voidinit()
     Final initialization, once all dependencies are set.
public  Stringmerge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)
    
public  StringmessageReference(String context, String channelId, String id)
     Access the internal reference which can be used to access the message from within the system.
Parameters:
  context - The context.
Parameters:
  channelId - The channel id.
Parameters:
  id - The message id.
public  StringmessageReference(String channelRef, String id)
     Access the internal reference which can be used to access the message from within the system.
Parameters:
  channelRef - The channel reference.
Parameters:
  id - The message id.
abstract protected  MessageHeaderEditnewMessageHeader(Message msg, String id)
     Construct a new message header from XML in a DOM element.
Parameters:
  msg - The message to own this header.
Parameters:
  id - The message Id.
abstract protected  MessageHeaderEditnewMessageHeader(Message msg, Element el)
     Construct a new message header from XML in a DOM element.
Parameters:
  msg - The message to own this header.
Parameters:
  el - The XML DOM element that has the header information.
abstract protected  MessageHeaderEditnewMessageHeader(Message msg, MessageHeader other)
     Construct a new message header as a copy of another.
Parameters:
  msg - The message to own this header.
Parameters:
  other - The other header to copy.
abstract protected  StoragenewStorage()
     Construct a Storage object.
protected  voidparseMergeChannelExtra(Element element3, String channelRef)
     Handle the extra "categtories" stuff in the channel part of the merge xml.
public  Objectrefresh(Object key, Object oldValue, Event event)
     Get a new value for this key whose value has already expired in the cache.
Parameters:
  key - The key whose value has expired and needs to be refreshed.
Parameters:
  oldValue - The old exipred value of the key.
Parameters:
  event - The event which triggered this refresh.
public  voidremoveChannel(MessageChannelEdit channel)
     Remove a channel.
protected  BaseMessageServiceservice()
     Access this service from the inner classes.
abstract protected  StringserviceName()
     Report the Service API name being implemented.
public  voidsetAuthzGroupService(AuthzGroupService service)
     Dependency: AuthzGroupService.
public  voidsetCaching(String value)
    
public  voidsetEntityManager(EntityManager service)
     Dependency: EntityManager.
public  voidsetEventTrackingService(EventTrackingService service)
     Dependency: EventTrackingService.
public  voidsetIdManager(IdManager service)
     Dependency: IdManager.
public  voidsetMemoryService(MemoryService service)
     Dependency: MemoryService.
public  voidsetSecurityService(SecurityService service)
     Dependency: SecurityService.
public  voidsetServerConfigurationService(ServerConfigurationService service)
     Dependency: ServerConfigurationService.
public  voidsetSessionManager(SessionManager service)
     Dependency: SessionManager.
public  voidsetSiteService(SiteService service)
     Dependency: SiteService.
public  voidsetThreadLocalManager(ThreadLocalManager service)
     Dependency: ThreadLocalManager.
public  voidsetTimeService(TimeService service)
     Dependency: TimeService.
public  voidsetUserDirectoryService(UserDirectoryService service)
     Dependency: UserDirectoryService.
public  voidtransferSynopticOptions(String fromContext, String toContext)
    
protected  voidunlock(String lock, String resource)
     Check security permission.
protected  voidunlock2(String lock1, String lock2, String resource)
     Check security permission.
protected  voidunlock3(String lock1, String lock2, String lock3, 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.
protected  booleanunlockCheck2(String lock1, String lock2, String resource)
     Check security permission, for either of two locks/
Parameters:
  lock1 - The lock id string.
Parameters:
  lock2 - The lock id string.
Parameters:
  resource - The resource reference string, or null if no resource is involved.
protected  booleanunlockCheck3(String lock1, String lock2, String lock3, String resource)
     Check security permission, for any of three locks/
Parameters:
  lock1 - The lock id string.
Parameters:
  lock2 - The lock id string.
Parameters:
  resource - The resource reference string, or null if no resource is involved.
public  booleanwillArchiveMerge()
    

Field Detail
m_authzGroupService
protected AuthzGroupService m_authzGroupService(Code)
Dependency: AuthzGroupService.



m_caching
protected boolean m_caching(Code)
Configuration: cache, or not.



m_channelCache
protected Cache m_channelCache(Code)
A Cache object for caching: channels keyed by reference. (if m_caching)



m_entityManager
protected EntityManager m_entityManager(Code)
Dependency: EntityManager.



m_eventTrackingService
protected EventTrackingService m_eventTrackingService(Code)
Dependency: EventTrackingService.



m_idManager
protected IdManager m_idManager(Code)
Dependency: IdManager.



m_memoryService
protected MemoryService m_memoryService(Code)
Dependency: MemoryService.



m_messageCaches
protected Hashtable m_messageCaches(Code)
A bunch of caches for messages: keyed by channel id, the cache is keyed by message reference. (if m_caching)



m_securityService
protected SecurityService m_securityService(Code)
Dependency: SecurityService.



m_serverConfigurationService
protected ServerConfigurationService m_serverConfigurationService(Code)
Dependency: ServerConfigurationService.



m_sessionManager
protected SessionManager m_sessionManager(Code)
Dependency: SessionManager.



m_siteService
protected SiteService m_siteService(Code)
Dependency: SiteService.



m_storage
protected Storage m_storage(Code)
A Storage object for persistent storage.



m_threadLocalManager
protected ThreadLocalManager m_threadLocalManager(Code)
Dependency: ThreadLocalManager.



m_timeService
protected TimeService m_timeService(Code)
Dependency: TimeService.



m_userDirectoryService
protected UserDirectoryService m_userDirectoryService(Code)
Dependency: UserDirectoryService.





Method Detail
addChannel
public MessageChannelEdit addChannel(String ref) throws IdUsedException, IdInvalidException, PermissionException(Code)
Add a new channel. Must commitEdit() to make official, or cancelEdit() when done!
Parameters:
  ref - The channel reference. The newly created channel, locked for update.
exception:
  IdUsedException - if the id is not unique.
exception:
  IdInvalidException - if the id is not made up of valid characters.
exception:
  PermissionException - if the user does not have permission to add a channel.



allowAddChannel
public boolean allowAddChannel(String ref)(Code)
check permissions for addChannel().
Parameters:
  ref - The channel reference. true if the user is allowed to addChannel(channelId), false if not.



allowEditChannel
public boolean allowEditChannel(String ref)(Code)
check permissions for editChannel()
Parameters:
  ref - The channel reference. true if the user is allowed to update the channel, false if not.



allowGetChannel
public boolean allowGetChannel(String ref)(Code)
check permissions for getChannel().
Parameters:
  ref - The channel reference. true if the user is allowed to getChannel(channelId), false if not.



allowGetMessage
protected boolean allowGetMessage(String channelRef, String msgRef)(Code)
Check the message read permission for the message
Parameters:
  ref - The Reference (assumed to be to a message). True if the end user has permission to read the message, or permission to all messages in the channel, false if not.



allowRemoveChannel
public boolean allowRemoveChannel(String ref)(Code)
Check permissions for removeChannel().
Parameters:
  ref - The channel reference. true if the user is allowed to removeChannel(), false if not.



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



archiveSynopticOptions
public void archiveSynopticOptions(String siteId, Document doc, Element element)(Code)
try to add synoptic options for this tool to the archive, if they exist
Parameters:
  siteId -
Parameters:
  doc -
Parameters:
  element -



cancelChannel
public void cancelChannel(MessageChannelEdit edit)(Code)
Cancel the changes made to a MessageChannelEdit object, and release the lock. The MessageChannelEdit is disabled, and not to be used after this call.
Parameters:
  user - The MessageChannelEdit object to commit.



cancelMessage
public void cancelMessage(MessageEdit edit)(Code)
Cancel the changes made to a MessageEdit object, and release the lock. The MessageChannelEdit is disabled, and not to be used after this call.
Parameters:
  user - The MessageEdit object to cancel.



channelReference
public String channelReference(String context, String id)(Code)
Access the internal reference which can be used to access the channel from within the system.
Parameters:
  context - The context.
Parameters:
  id - The channel id. The the internal reference which can be used to access the channel from within the system.



commitChannel
public void commitChannel(MessageChannelEdit edit)(Code)
Commit the changes made to a MessageChannelEdit object, and release the lock. The MessageChannelEdit is disabled, and not to be used after this call.
Parameters:
  user - The MessageChannelEdit object to commit.



destroy
public void destroy()(Code)
Destroy



disableMessageChannel
protected void disableMessageChannel(String siteId)(Code)
Remove the main message channel for a site.
Parameters:
  site - The site.



editChannel
public MessageChannelEdit editChannel(String ref) throws IdUnusedException, PermissionException, InUseException(Code)
Return a specific channel, as specified by channel id, locked for update. Must commitEdit() to make official, or cancelEdit() when done!
Parameters:
  ref - The channel reference. the Channel that has the specified id.
exception:
  IdUnusedException - If this name is not a defined channel.
exception:
  PermissionException - If the user does not have any permissions to edit the channel.
exception:
  InUseException - if the channel is locked for edit by someone else.



enableMessageChannel
protected void enableMessageChannel(String siteId)(Code)
Setup a main message channel for a site.
Parameters:
  siteId - The site id.



eventId
abstract protected String eventId(String secure)(Code)
Form a tracking event string based on a security function string.
Parameters:
  secure - The security function string. The event tracking string.



findChannel
protected MessageChannel findChannel(String ref)(Code)
Find the channel, in cache or info store - cache it if newly found.
Parameters:
  ref - The channel reference. The channel, if found.



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 /msg) the partial URL that forms the root of resource URLs.



getChannel
public MessageChannel getChannel(String ref) throws IdUnusedException, PermissionException(Code)
Return a specific channel.
Parameters:
  ref - The channel reference. the MessageChannel that has the specified name.
exception:
  IdUnusedException - If this name is not defined for any channel.
exception:
  PermissionException - If the user does not have any permissions to the channel.



getChannelIds
public List getChannelIds(String context)(Code)
Access a list of channel ids that are defined related to the context.
Parameters:
  context - The context in which to search A List (String) of channel id for channels withing the context.



getChannels
public List getChannels()(Code)
Return a list of all the defined channels. a list of MessageChannel (or extension) objects (may be empty).



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)



getMessage
public Message getMessage(Reference ref) throws IdUnusedException, PermissionException(Code)
Get a message, given a reference. This call avoids the need to have channel security, as long as the user has permissions to the message.
Parameters:
  ref - The message reference The message.
exception:
  IdUnusedException - If this reference does not identify a message.
exception:
  PermissionException - If the user does not have any permissions to the message.



getMessages
public List getMessages(String channelRef, Time afterDate, int limitedToLatest, boolean ascending, boolean includeDrafts, boolean pubViewOnly) throws PermissionException(Code)



getReferenceRoot
abstract protected String getReferenceRoot()(Code)
Return the reference rooot for use in resource references and urls. The reference rooot for use in resource references and urls.



getSummary
public Map getSummary(String channel, int items, int days) throws org.sakaiproject.exception.IdUsedException, org.sakaiproject.exception.IdInvalidException, org.sakaiproject.exception.PermissionException(Code)
getSummary implementation



getSummaryFromHeader
protected String getSummaryFromHeader(Message item, MessageHeader header)(Code)



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



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



messageReference
public String messageReference(String context, String channelId, String id)(Code)
Access the internal reference which can be used to access the message from within the system.
Parameters:
  context - The context.
Parameters:
  channelId - The channel id.
Parameters:
  id - The message id. The the internal reference which can be used to access the message from within the system.



messageReference
public String messageReference(String channelRef, String id)(Code)
Access the internal reference which can be used to access the message from within the system.
Parameters:
  channelRef - The channel reference.
Parameters:
  id - The message id. The the internal reference which can be used to access the message from within the system.



newMessageHeader
abstract protected MessageHeaderEdit newMessageHeader(Message msg, String id)(Code)
Construct a new message header from XML in a DOM element.
Parameters:
  msg - The message to own this header.
Parameters:
  id - The message Id. The new message header.



newMessageHeader
abstract protected MessageHeaderEdit newMessageHeader(Message msg, Element el)(Code)
Construct a new message header from XML in a DOM element.
Parameters:
  msg - The message to own this header.
Parameters:
  el - The XML DOM element that has the header information. The new message header.



newMessageHeader
abstract protected MessageHeaderEdit newMessageHeader(Message msg, MessageHeader other)(Code)
Construct a new message header as a copy of another.
Parameters:
  msg - The message to own this header.
Parameters:
  other - The other header to copy. The new message header.



newStorage
abstract protected Storage newStorage()(Code)
Construct a Storage object. The new storage object.



parseMergeChannelExtra
protected void parseMergeChannelExtra(Element element3, String channelRef)(Code)
Handle the extra "categtories" stuff in the channel part of the merge xml.
Parameters:
  element - The "channel" node child.
Parameters:
  channelRef - The message channel ref.



refresh
public Object refresh(Object key, Object oldValue, Event event)(Code)
Get a new value for this key whose value has already expired in the cache.
Parameters:
  key - The key whose value has expired and needs to be refreshed.
Parameters:
  oldValue - The old exipred value of the key.
Parameters:
  event - The event which triggered this refresh. a new value for use in the cache for this key; if null, the entry will be removed.



removeChannel
public void removeChannel(MessageChannelEdit channel) throws PermissionException(Code)
Remove a channel. Remove a channel - it must be locked from editChannel().
Parameters:
  channel - The channel to remove.
exception:
  PermissionException - if the user does not have permission to remove a channel.



service
protected BaseMessageService service()(Code)
Access this service from the inner classes.



serviceName
abstract protected String serviceName()(Code)
Report the Service API name being implemented.



setAuthzGroupService
public void setAuthzGroupService(AuthzGroupService service)(Code)
Dependency: AuthzGroupService.
Parameters:
  service - The AuthzGroupService.



setCaching
public void setCaching(String value)(Code)
Configuration: set the locks-in-db
Parameters:
  path - The storage path.



setEntityManager
public void setEntityManager(EntityManager service)(Code)
Dependency: EntityManager.
Parameters:
  service - The EntityManager.



setEventTrackingService
public void setEventTrackingService(EventTrackingService service)(Code)
Dependency: EventTrackingService.
Parameters:
  service - The EventTrackingService.



setIdManager
public void setIdManager(IdManager service)(Code)
Dependency: IdManager.
Parameters:
  service - The IdManager.



setMemoryService
public void setMemoryService(MemoryService service)(Code)
Dependency: MemoryService.
Parameters:
  service - The MemoryService.



setSecurityService
public void setSecurityService(SecurityService service)(Code)
Dependency: SecurityService.
Parameters:
  service - The SecurityService.



setServerConfigurationService
public void setServerConfigurationService(ServerConfigurationService service)(Code)
Dependency: ServerConfigurationService.
Parameters:
  service - The ServerConfigurationService.



setSessionManager
public void setSessionManager(SessionManager service)(Code)
Dependency: SessionManager.
Parameters:
  service - The SessionManager.



setSiteService
public void setSiteService(SiteService service)(Code)
Dependency: SiteService.
Parameters:
  service - The SiteService.



setThreadLocalManager
public void setThreadLocalManager(ThreadLocalManager service)(Code)
Dependency: ThreadLocalManager.
Parameters:
  service - The ThreadLocalManager.



setTimeService
public void setTimeService(TimeService service)(Code)
Dependency: TimeService.
Parameters:
  service - The TimeService.



setUserDirectoryService
public void setUserDirectoryService(UserDirectoryService service)(Code)
Dependency: UserDirectoryService.
Parameters:
  service - The UserDirectoryService.



transferSynopticOptions
public void transferSynopticOptions(String fromContext, String toContext)(Code)
Import the synoptic tool options from another site
Parameters:
  fromContext -
Parameters:
  toContext -



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



unlock2
protected void unlock2(String lock1, String lock2, String resource) throws PermissionException(Code)
Check security permission.
Parameters:
  lock1 - The lock id string.
Parameters:
  lock2 - 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 to either.



unlock3
protected void unlock3(String lock1, String lock2, String lock3, String resource) throws PermissionException(Code)
Check security permission.
Parameters:
  lock1 - The lock id string.
Parameters:
  lock2 - The lock id string.
Parameters:
  lock3 - 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 to either.



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



unlockCheck2
protected boolean unlockCheck2(String lock1, String lock2, String resource)(Code)
Check security permission, for either of two locks/
Parameters:
  lock1 - The lock id string.
Parameters:
  lock2 - The lock id string.
Parameters:
  resource - The resource reference string, or null if no resource is involved. true if either allowed, false if not



unlockCheck3
protected boolean unlockCheck3(String lock1, String lock2, String lock3, String resource)(Code)
Check security permission, for any of three locks/
Parameters:
  lock1 - The lock id string.
Parameters:
  lock2 - The lock id string.
Parameters:
  resource - The resource reference string, or null if no resource is involved. true if either allowed, false if not



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.