com.clickntap.tool.calendar
Class UiCalendar

java.lang.Object
  extended by com.clickntap.tool.bean.BeanId
      extended by com.clickntap.tool.bean.Bean
          extended by com.clickntap.hub.BO
              extended by com.clickntap.tool.calendar.UiCalendar
All Implemented Interfaces:
Serializable

public class UiCalendar
extends BO

See Also:
Serialized Form

Constructor Summary
UiCalendar()
           
 
Method Summary
 Datetime dateEndFromMonday(Number n)
           
 Datetime dateStartForMonth(Number n)
           
 Datetime dateStartFromMonday(Number n)
           
 UICalendarConf getConf()
           
 SmartContext getCtx()
           
 int getIndex()
           
 UiCalendarInstance getInstance()
           
 String getUicalendarChannel()
           
 Datetime getUicalendarDate()
           
 Datetime getUicalendarDateEnd()
           
 Datetime getUicalendarDateStart()
           
 Datetime getUicalendarDatetime()
           
 Datetime getUicalendarMonth()
           
 String getUicalendarSelectMode()
           
 Datetime getUicalendarUndoEnd()
           
 Datetime getUicalendarUndoStart()
           
 Boolean isDayInRange(Datetime day)
           
 void last30days()
           
 void last7days()
           
 void load(String channel)
           
 void modeEnd()
           
 void modeStart()
           
 void save()
           
 void setBirthday()
           
 void setCtx(SmartContext ctx)
           
 void setIndex(int index)
           
 void setUicalendarChannel(String uicalendarChannel)
           
 void setUicalendarDate(Datetime uicalendarDate)
           
 void setUicalendarDateEnd(Datetime dateEnd)
           
 void setUicalendarDateStart(Datetime dateStart)
           
 void setUicalendarDatetime(Datetime uicalendarDatetime)
           
 void setUicalendarMonth(Datetime uicalendarMonth)
           
 void setUicalendarSelectMode(String selectMode)
           
 void setUicalendarUndoEnd(Datetime dateEnd)
           
 void setUicalendarUndoStart(Datetime dateStart)
           
 void thisMonth()
           
 void thisWeek()
           
 void today()
           
 void tomorrow()
           
 void undo()
           
 Number update()
           
 
Methods inherited from class com.clickntap.hub.BO
getApp, setApp, toJSON
 
Methods inherited from class com.clickntap.tool.bean.Bean
clear, clone, copyFrom, copyTo, create, createOrUpdate, delete, execute, get, getBeanManager, read, read, setBeanManager, stream, toMap, toMap
 
Methods inherited from class com.clickntap.tool.bean.BeanId
getId, setId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UiCalendar

public UiCalendar()
Method Detail

getUicalendarMonth

public Datetime getUicalendarMonth()

setUicalendarMonth

public void setUicalendarMonth(Datetime uicalendarMonth)

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

getCtx

public SmartContext getCtx()

setCtx

public void setCtx(SmartContext ctx)

getInstance

public UiCalendarInstance getInstance()

getUicalendarChannel

public String getUicalendarChannel()

setUicalendarChannel

public void setUicalendarChannel(String uicalendarChannel)

getUicalendarDate

public Datetime getUicalendarDate()

setUicalendarDate

public void setUicalendarDate(Datetime uicalendarDate)

getUicalendarDatetime

public Datetime getUicalendarDatetime()

setUicalendarDatetime

public void setUicalendarDatetime(Datetime uicalendarDatetime)

load

public void load(String channel)
          throws Exception
Throws:
Exception

save

public void save()
          throws Exception
Throws:
Exception

setUicalendarUndoStart

public void setUicalendarUndoStart(Datetime dateStart)

setUicalendarUndoEnd

public void setUicalendarUndoEnd(Datetime dateEnd)

getUicalendarUndoStart

public Datetime getUicalendarUndoStart()

getUicalendarUndoEnd

public Datetime getUicalendarUndoEnd()

setUicalendarDateStart

public void setUicalendarDateStart(Datetime dateStart)

setUicalendarDateEnd

public void setUicalendarDateEnd(Datetime dateEnd)

getUicalendarSelectMode

public String getUicalendarSelectMode()

setUicalendarSelectMode

public void setUicalendarSelectMode(String selectMode)

modeStart

public void modeStart()
               throws Exception
Throws:
Exception

modeEnd

public void modeEnd()
             throws Exception
Throws:
Exception

getUicalendarDateStart

public Datetime getUicalendarDateStart()

isDayInRange

public Boolean isDayInRange(Datetime day)

dateStartFromMonday

public Datetime dateStartFromMonday(Number n)

dateStartForMonth

public Datetime dateStartForMonth(Number n)

dateEndFromMonday

public Datetime dateEndFromMonday(Number n)

getUicalendarDateEnd

public Datetime getUicalendarDateEnd()

today

public void today()
           throws Exception
Throws:
Exception

thisWeek

public void thisWeek()
              throws Exception
Throws:
Exception

thisMonth

public void thisMonth()
               throws Exception
Throws:
Exception

last7days

public void last7days()
               throws Exception
Throws:
Exception

last30days

public void last30days()
                throws Exception
Throws:
Exception

tomorrow

public void tomorrow()
              throws Exception
Throws:
Exception

setBirthday

public void setBirthday()
                 throws Exception
Throws:
Exception

undo

public void undo()
          throws Exception
Throws:
Exception

update

public Number update()
              throws Exception
Overrides:
update in class Bean
Throws:
Exception

getConf

public UICalendarConf getConf()


Copyright © 2014. All rights reserved.