de.uplanet.lucy.server.businesslogic.exchange.util
Class ExchangeUserMailboxInfo

java.lang.Object
  extended by de.uplanet.lucy.server.businesslogic.exchange.util.ExchangeUserMailboxInfo

@Scriptable
public final class ExchangeUserMailboxInfo
extends java.lang.Object

Provides information about an user's Exchange mailbox account.

Version:
$Revision: 99360 $

Method Summary
 int getAppointmentPriorityDefaultValue()
           
 java.lang.String getCalendarFolderHref()
           
 java.lang.String getCalendarFolderName()
           
 java.lang.String getContactsFolderHref()
           
 java.lang.String getContactsFolderName()
           
 java.lang.String getDeletedItemsFolderHref()
           
 java.lang.String getDeletedItemsFolderName()
           
 java.lang.String getDraftsFolderHref()
           
 java.lang.String getDraftsFolderName()
           
 java.lang.String getEMailAddress()
           
 java.lang.String getInboxFolderHref()
           
 java.lang.String getInboxFolderName()
           
static ExchangeUserMailboxInfo getInstance()
          Returns the instance from the current session or creates a new instance and stores it in the session.
static ExchangeUserMailboxInfo getInstanceForDataGroup(DataGroupInfo p_dgInfo)
          Returns an instance for the current user or an impersonate user depending on the DataGroupInfo properties.
static ExchangeUserMailboxInfo getInstanceForImpersonateUser(java.lang.String p_strUserGuid)
          Returns an instance for the given impersonate user.
 java.lang.String getJournalFolderHref()
           
 java.lang.String getJournalFolderName()
           
 java.lang.String getMailboxName()
           
 java.lang.String getOutboxFolderHref()
           
 java.lang.String getOutboxFolderName()
           
 java.lang.String getSenderAddress(java.lang.String p_strSender)
           
 java.lang.String getSentItemsFolderHref()
           
 java.lang.String getSentItemsFolderName()
           
 int getTaskPriorityDefaultValue()
           
 java.lang.String getTasksFolderHref()
           
 java.lang.String getTasksFolderName()
           
 ExchangeAccount getUserAccount()
           
 boolean isExchange2010()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ExchangeUserMailboxInfo getInstance()
Returns the instance from the current session or creates a new instance and stores it in the session. Beware that there must be be a valid Exchange web user account for the currently logged in Intrexx user in order to create the instance.

Returns:
The instance or an empty instance if mailbox properties could not be loaded for the current user.
Throws:
java.lang.IllegalStateException - If no active session and user is available.

getInstanceForImpersonateUser

public static ExchangeUserMailboxInfo getInstanceForImpersonateUser(java.lang.String p_strUserGuid)
Returns an instance for the given impersonate user.

Parameters:
p_strUserGuid - The user GUID.
Returns:
The instance or an empty instance if mailbox properties could not be loaded for the given user.

getInstanceForDataGroup

public static ExchangeUserMailboxInfo getInstanceForDataGroup(DataGroupInfo p_dgInfo)
Returns an instance for the current user or an impersonate user depending on the DataGroupInfo properties.

Parameters:
p_dgInfo - The DataGroupInfo.
Returns:
The instance or null if mailbox properties could not be loaded for the user.

getMailboxName

public java.lang.String getMailboxName()

getEMailAddress

public java.lang.String getEMailAddress()

getUserAccount

public ExchangeAccount getUserAccount()

getCalendarFolderHref

public java.lang.String getCalendarFolderHref()

getContactsFolderHref

public java.lang.String getContactsFolderHref()

getDeletedItemsFolderHref

public java.lang.String getDeletedItemsFolderHref()

getDraftsFolderHref

public java.lang.String getDraftsFolderHref()

getInboxFolderHref

public java.lang.String getInboxFolderHref()

getJournalFolderHref

public java.lang.String getJournalFolderHref()

getOutboxFolderHref

public java.lang.String getOutboxFolderHref()

getSentItemsFolderHref

public java.lang.String getSentItemsFolderHref()

getTasksFolderHref

public java.lang.String getTasksFolderHref()

getCalendarFolderName

public java.lang.String getCalendarFolderName()

getContactsFolderName

public java.lang.String getContactsFolderName()

getDeletedItemsFolderName

public java.lang.String getDeletedItemsFolderName()

getDraftsFolderName

public java.lang.String getDraftsFolderName()

getInboxFolderName

public java.lang.String getInboxFolderName()

getJournalFolderName

public java.lang.String getJournalFolderName()

getOutboxFolderName

public java.lang.String getOutboxFolderName()

getSentItemsFolderName

public java.lang.String getSentItemsFolderName()

getTasksFolderName

public java.lang.String getTasksFolderName()

isExchange2010

public boolean isExchange2010()

getAppointmentPriorityDefaultValue

public int getAppointmentPriorityDefaultValue()

getTaskPriorityDefaultValue

public int getTaskPriorityDefaultValue()

getSenderAddress

public java.lang.String getSenderAddress(java.lang.String p_strSender)


Last updated: 2012-07-06 09-36
Copyright © 2000-2012 United Planet. All Rights Reserved.