Class BlueMindAclSession

java.lang.Object
org.exoplatform.bluemind.calendar.service.BlueMindAclSession
All Implemented Interfaces:
AutoCloseable

public final class BlueMindAclSession extends Object implements AutoCloseable
One authenticated conversation with BlueMind's REST API, reading access lists, opened by BlueMindAclClient.open(org.exoplatform.caldav.client.CalDavEndpoint): the reads of one operation share its session. Not a record: what it holds must not be printed.
  • Method Details

    • readAcl

      public List<BlueMindAce> readAcl(String containerUid)
      A container's access list, read in this session.
      Parameters:
      containerUid - the container uid
      Returns:
      the entries, in the order BlueMind lists them
      Throws:
      org.exoplatform.caldav.client.CalDavAuthenticationException - when BlueMind no longer accepts the session
      org.exoplatform.caldav.client.CalDavForbiddenException - when the account may not read the list
      org.exoplatform.caldav.client.CalDavUnreachableException - when the server cannot be reached
      org.exoplatform.caldav.client.CalDavException - when the answer is anything else
    • close

      public void close()
      Logs the session out when nothing keeps it; a failure is only noted.
      Specified by:
      close in interface AutoCloseable
    • toString

      public String toString()
      Overrides:
      toString in class Object