Blue Mind
Release 1.0

net.bluemind.core.utils
Class Helper

java.lang.Object
  extended by net.bluemind.core.utils.Helper

public final class Helper
extends Object


Constructor Summary
Helper()
           
 
Method Summary
static boolean canReadCalendar(AccessToken reader, int calendarId)
          Returns true if the logged in user can writer on the given calendar id
static boolean canWriteOnCalendar(AccessToken writer, int calendarId)
          Returns true if the logged in user can writer on the given calendar id
static String constructEmailFromList(String listofmail, String domain)
           
static String email(User u)
           
static String getMD5Diggest(String plaintext)
           
static String randomExtId()
          Returns a random calculated extId compatible with Outlook http://msdn.microsoft.com/en-us/library/ee157690(v=exchg.80).aspx
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Helper

public Helper()
Method Detail

email

public static String email(User u)

constructEmailFromList

public static String constructEmailFromList(String listofmail,
                                            String domain)

getMD5Diggest

public static String getMD5Diggest(String plaintext)

canWriteOnCalendar

public static boolean canWriteOnCalendar(AccessToken writer,
                                         int calendarId)
Returns true if the logged in user can writer on the given calendar id

Parameters:
writer -
calendarId -
Returns:

canReadCalendar

public static boolean canReadCalendar(AccessToken reader,
                                      int calendarId)
Returns true if the logged in user can writer on the given calendar id

Parameters:
reader -
targetLogin -
Returns:

randomExtId

public static String randomExtId()
Returns a random calculated extId compatible with Outlook http://msdn.microsoft.com/en-us/library/ee157690(v=exchg.80).aspx

Returns:
extId

Blue Mind
Release 1.0