Class ExchangeNoteUtil
- java.lang.Object
-
- de.uplanet.lucy.server.businesslogic.exchange.util.impl.ExchangeNoteUtil
-
- All Implemented Interfaces:
IExchangeNoteUtil
@Scriptable public final class ExchangeNoteUtil extends Object implements IExchangeNoteUtil
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IExchangeNote
createNew(String p_strNote, String p_strUserMailbox)
Deprecated.IExchangeNote
createNewNote(String p_strNote, String p_strUserMailbox)
Creates a new note.IExchangeNote
findById(String p_strId)
Finds a note by the given ID.IExchangeNote
findByPermanentUrl(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(Connection p_conn)
Returns an instance initialized with the given Exchange connection.
-
-
-
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(Connection p_conn)
Returns an instance initialized with the given Exchange connection.- Parameters:
p_conn
- the MS Exchange connection- Returns:
- the instance
-
createNew
@Deprecated public IExchangeNote createNew(String p_strNote, String p_strUserMailbox)
Deprecated.Description copied from interface:IExchangeNoteUtil
Creates a new note.- Specified by:
createNew
in interfaceIExchangeNoteUtil
p_strUserMailbox
- The user mailbox or null for the current user.- Returns:
- The
IExchangeNote
instance.
-
createNewNote
public IExchangeNote createNewNote(String p_strNote, String p_strUserMailbox)
Description copied from interface:IExchangeNoteUtil
Creates a new note.- Specified by:
createNewNote
in interfaceIExchangeNoteUtil
p_strUserMailbox
- The user mailbox or null for the current user.- Returns:
- The
IExchangeNote
instance.
-
findById
public IExchangeNote findById(String p_strId)
Description copied from interface:IExchangeNoteUtil
Finds a note by the given ID.- Specified by:
findById
in interfaceIExchangeNoteUtil
- Parameters:
p_strId
- The ID.- Returns:
- The
IExchangeNote
instance.
-
findByPermanentUrl
public IExchangeNote findByPermanentUrl(String p_strUrl)
Description copied from interface:IExchangeNoteUtil
Finds a note by the given permanent URL.- Specified by:
findByPermanentUrl
in interfaceIExchangeNoteUtil
- Parameters:
p_strUrl
- The permanent URL.- Returns:
- The note.
-
-