org.exoplatform.calendar.service
Class Calendar

java.lang.Object
  extended by org.exoplatform.calendar.service.Calendar

public class Calendar
extends Object

Created by The eXo Platform SARL Author : Hung Nguyen Quang hung.nguyen@exoplatform.com Jul 11, 2007


Field Summary
static String CALENDAR_PREF
           
static String[] COLORS
           
static String N_ASPARAGUS
           
static String N_BABY_BLUE
           
static String N_BEIGE
           
static String N_BLUE_GRAY
           
static String N_BROWN
           
static String N_GRAY
           
static String N_GREEN
           
static String N_HOT_PINK
           
static String N_LAUREL_GREEN
           
static String N_LIGHT_BLUE
           
static String N_LIGHT_BROWN
           
static String N_LIGHT_GRAY
           
static String N_LIGHT_PURPLE
           
static String N_MOSS_GREEN
           
static String N_MUNSELL_BLUE
           
static String N_NAVY_BLUE
           
static String N_ORANGE
           
static String N_PINK
           
static String N_PLUM_PURPLE
           
static String N_POWDER_BLUE
           
static String N_PURPLE
           
static String N_RED
           
static String N_SKY_BLUE
           
static String N_YELLOW
           
static int TYPE_PRIVATE
           
static int TYPE_PUBLIC
           
static int TYPE_SHARED
           
 
Constructor Summary
Calendar()
           
 
Method Summary
 boolean equals(Object o)
          used to compare 2 calendars or between a calendar and an object
 String getCalendarColor()
           
 String getCalendarOwner()
           
 String getCalendarPath()
           
 String getCategoryId()
          Deprecated. 
 String getDescription()
           
 String[] getEditPermission()
           
 String[] getGroups()
           
 String getId()
           
 String getLocale()
           
 String getName()
           
 String getPrivateUrl()
           
 String getPublicUrl()
           
 String getTimeZone()
           
 String[] getViewPermission()
           
 int hashCode()
           
 boolean isDataInit()
           
 boolean isPublic()
           
 void setCalendarColor(String calendarColor)
           
 void setCalendarOwner(String calendarOwner)
           
 void setCalendarPath(String path)
           
 void setCategoryId(String categoryId)
          Deprecated. 
 void setDataInit(boolean isDataInit)
           
 void setDescription(String description)
           
 void setEditPermission(String[] editPermission)
           
 void setGroups(String[] groups)
           
 void setId(String id)
           
 void setLocale(String locale)
           
 void setName(String name)
           
 void setPrivateUrl(String privateUrl)
           
 void setPublic(boolean isPublic)
           
 void setPublicUrl(String publicUrl)
           
 void setTimeZone(String timeZone)
           
 void setViewPermission(String[] viewPermission)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_PRIVATE

public static final int TYPE_PRIVATE
See Also:
Constant Field Values

TYPE_SHARED

public static final int TYPE_SHARED
See Also:
Constant Field Values

TYPE_PUBLIC

public static final int TYPE_PUBLIC
See Also:
Constant Field Values

N_ASPARAGUS

public static final String N_ASPARAGUS
See Also:
Constant Field Values

N_MUNSELL_BLUE

public static final String N_MUNSELL_BLUE
See Also:
Constant Field Values

N_NAVY_BLUE

public static final String N_NAVY_BLUE
See Also:
Constant Field Values

N_PURPLE

public static final String N_PURPLE
See Also:
Constant Field Values

N_RED

public static final String N_RED
See Also:
Constant Field Values

N_BROWN

public static final String N_BROWN
See Also:
Constant Field Values

N_LAUREL_GREEN

public static final String N_LAUREL_GREEN
See Also:
Constant Field Values

N_SKY_BLUE

public static final String N_SKY_BLUE
See Also:
Constant Field Values

N_BLUE_GRAY

public static final String N_BLUE_GRAY
See Also:
Constant Field Values

N_LIGHT_PURPLE

public static final String N_LIGHT_PURPLE
See Also:
Constant Field Values

N_HOT_PINK

public static final String N_HOT_PINK
See Also:
Constant Field Values

N_LIGHT_BROWN

public static final String N_LIGHT_BROWN
See Also:
Constant Field Values

N_MOSS_GREEN

public static final String N_MOSS_GREEN
See Also:
Constant Field Values

N_POWDER_BLUE

public static final String N_POWDER_BLUE
See Also:
Constant Field Values

N_LIGHT_BLUE

public static final String N_LIGHT_BLUE
See Also:
Constant Field Values

N_PINK

public static final String N_PINK
See Also:
Constant Field Values

N_ORANGE

public static final String N_ORANGE
See Also:
Constant Field Values

N_GRAY

public static final String N_GRAY
See Also:
Constant Field Values

N_GREEN

public static final String N_GREEN
See Also:
Constant Field Values

N_BABY_BLUE

public static final String N_BABY_BLUE
See Also:
Constant Field Values

N_LIGHT_GRAY

public static final String N_LIGHT_GRAY
See Also:
Constant Field Values

N_BEIGE

public static final String N_BEIGE
See Also:
Constant Field Values

N_YELLOW

public static final String N_YELLOW
See Also:
Constant Field Values

N_PLUM_PURPLE

public static final String N_PLUM_PURPLE
See Also:
Constant Field Values

COLORS

public static final String[] COLORS

CALENDAR_PREF

public static final String CALENDAR_PREF
Constructor Detail

Calendar

public Calendar()
Method Detail

getId

public String getId()

setId

public void setId(String id)

getName

public String getName()

setName

public void setName(String name)

getCalendarPath

public String getCalendarPath()

setCalendarPath

public void setCalendarPath(String path)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getEditPermission

public String[] getEditPermission()

setEditPermission

public void setEditPermission(String[] editPermission)

getViewPermission

public String[] getViewPermission()

setViewPermission

public void setViewPermission(String[] viewPermission)

getGroups

public String[] getGroups()

setGroups

public void setGroups(String[] groups)

getCategoryId

@Deprecated
public String getCategoryId()
Deprecated. 


setCategoryId

@Deprecated
public void setCategoryId(String categoryId)
Deprecated. 


isPublic

public boolean isPublic()

setPublic

public void setPublic(boolean isPublic)

setTimeZone

public void setTimeZone(String timeZone)

getTimeZone

public String getTimeZone()

setLocale

public void setLocale(String locale)

getLocale

public String getLocale()

setCalendarColor

public void setCalendarColor(String calendarColor)

getCalendarColor

public String getCalendarColor()

setDataInit

public void setDataInit(boolean isDataInit)

isDataInit

public boolean isDataInit()

setCalendarOwner

public void setCalendarOwner(String calendarOwner)

getCalendarOwner

public String getCalendarOwner()

setPublicUrl

public void setPublicUrl(String publicUrl)

getPublicUrl

public String getPublicUrl()

setPrivateUrl

public void setPrivateUrl(String privateUrl)

getPrivateUrl

public String getPrivateUrl()

equals

public boolean equals(Object o)
used to compare 2 calendars or between a calendar and an object

Overrides:
equals in class Object
Parameters:
o - a particular object
Returns:
true false

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.