de.uplanet.lucy.server.businesslogic.exchange.util.impl
Class ExchangeNoteUtil

java.lang.Object
  extended by de.uplanet.lucy.server.businesslogic.exchange.util.impl.ExchangeNoteUtil
All Implemented Interfaces:
IExchangeNoteUtil

@Scriptable
public final class ExchangeNoteUtil
extends java.lang.Object
implements IExchangeNoteUtil

Version:
$Revision: 89488 $

Method Summary
 IExchangeNote createNew(java.lang.String p_strNote, java.lang.String p_strUserMailbox)
          Creates a new note.
 IExchangeNote findById(java.lang.String p_strId)
          Finds a note by the given ID.
 IExchangeNote findByPermanentUrl(java.lang.String p_strUrl)
          Finds a note by the given permanent URL.
static IExchangeNoteUtil getInstance()
          Returns an instance initialized with a Exchange connection for the currently logged in user.
static IExchangeNoteUtil getInstance(java.sql.Connection p_conn)
          Returns an instance initialized with the given Exchange connection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static IExchangeNoteUtil getInstance()
Returns an instance initialized with a Exchange connection for the currently logged in user.

Returns:
the instance

getInstance

public static IExchangeNoteUtil getInstance(java.sql.Connection p_conn)
Returns an instance initialized with the given Exchange connection.

Parameters:
p_conn - the MS Exchange connection
Returns:
the instance

createNew

public IExchangeNote createNew(java.lang.String p_strNote,
                               java.lang.String p_strUserMailbox)
Description copied from interface: IExchangeNoteUtil
Creates a new note.

Specified by:
createNew in interface IExchangeNoteUtil
p_strUserMailbox - The user mailbox or null for the current user.
Returns:
The IExchangeNote instance.

findById

public IExchangeNote findById(java.lang.String p_strId)
Description copied from interface: IExchangeNoteUtil
Finds a note by the given ID.

Specified by:
findById in interface IExchangeNoteUtil
Parameters:
p_strId - The ID.
Returns:
The IExchangeNote instance.

findByPermanentUrl

public IExchangeNote findByPermanentUrl(java.lang.String p_strUrl)
Description copied from interface: IExchangeNoteUtil
Finds a note by the given permanent URL.

Specified by:
findByPermanentUrl in interface IExchangeNoteUtil
Parameters:
p_strUrl - The permanent URL.
Returns:
The note.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.