com.clickntap.tool.calendar
Class UiCalendarInstance

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.UiCalendarInstance
All Implemented Interfaces:
Serializable

public class UiCalendarInstance
extends BO

See Also:
Serialized Form

Constructor Summary
UiCalendarInstance()
           
 
Method Summary
 Datetime dateEndFromMonday(Number n)
           
 Datetime dateStartFromMonday(Number n)
           
 UICalendarConf getConf()
           
 String getUicalendarChannel()
           
 Datetime getUicalendarDateEnd()
           
 Datetime getUicalendarDateStart()
           
 String getUicalendarSelectMode()
           
 Datetime getUicalendarUndoEnd()
           
 Datetime getUicalendarUndoStart()
           
 Boolean isDayInRange(Datetime day)
           
 void last30days(SmartContext ctx)
           
 void last7days(SmartContext ctx)
           
 void modeEnd()
           
 void modeStart()
           
 void setConf(UICalendarConf conf)
           
 void setInterval(SmartContext ctx, Datetime t, int ds, int de)
           
 void setInterval(SmartContext ctx, int ds, int de)
           
 void setUicalendarChannel(String uicalendarChannel)
           
 void setUicalendarDate(SmartContext ctx, Datetime uicalendarDate)
           
 void setUicalendarDateEnd(SmartContext ctx, Datetime dateEnd)
           
 void setUicalendarDateStart(SmartContext ctx, Datetime dateStart)
           
 void setUicalendarDatetime(SmartContext ctx, Datetime uicalendarDatetime)
           
 void setUicalendarSelectMode(String selectMode)
           
 void setUicalendarUndoEnd(SmartContext ctx, Datetime dateEnd)
           
 void setUicalendarUndoStart(SmartContext ctx, Datetime dateStart)
           
 void thisMonth(SmartContext ctx)
           
 void thisWeek(SmartContext ctx)
           
 void today(SmartContext ctx)
           
 void tomorrow(SmartContext ctx)
           
 
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, update
 
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

UiCalendarInstance

public UiCalendarInstance()
Method Detail

getConf

public UICalendarConf getConf()

setConf

public void setConf(UICalendarConf conf)

getUicalendarChannel

public String getUicalendarChannel()

setUicalendarChannel

public void setUicalendarChannel(String uicalendarChannel)

getUicalendarSelectMode

public String getUicalendarSelectMode()

setUicalendarSelectMode

public void setUicalendarSelectMode(String selectMode)

setUicalendarDate

public void setUicalendarDate(SmartContext ctx,
                              Datetime uicalendarDate)

setUicalendarDatetime

public void setUicalendarDatetime(SmartContext ctx,
                                  Datetime uicalendarDatetime)

modeStart

public void modeStart()

modeEnd

public void modeEnd()

getUicalendarDateStart

public Datetime getUicalendarDateStart()

isDayInRange

public Boolean isDayInRange(Datetime day)

dateStartFromMonday

public Datetime dateStartFromMonday(Number n)

dateEndFromMonday

public Datetime dateEndFromMonday(Number n)

setUicalendarDateStart

public void setUicalendarDateStart(SmartContext ctx,
                                   Datetime dateStart)

getUicalendarDateEnd

public Datetime getUicalendarDateEnd()

setUicalendarDateEnd

public void setUicalendarDateEnd(SmartContext ctx,
                                 Datetime dateEnd)

getUicalendarUndoStart

public Datetime getUicalendarUndoStart()

setUicalendarUndoStart

public void setUicalendarUndoStart(SmartContext ctx,
                                   Datetime dateStart)

getUicalendarUndoEnd

public Datetime getUicalendarUndoEnd()

setUicalendarUndoEnd

public void setUicalendarUndoEnd(SmartContext ctx,
                                 Datetime dateEnd)

today

public void today(SmartContext ctx)
           throws Exception
Throws:
Exception

thisWeek

public void thisWeek(SmartContext ctx)
              throws Exception
Throws:
Exception

thisMonth

public void thisMonth(SmartContext ctx)
               throws Exception
Throws:
Exception

last7days

public void last7days(SmartContext ctx)
               throws Exception
Throws:
Exception

last30days

public void last30days(SmartContext ctx)
                throws Exception
Throws:
Exception

tomorrow

public void tomorrow(SmartContext ctx)
              throws Exception
Throws:
Exception

setInterval

public void setInterval(SmartContext ctx,
                        int ds,
                        int de)
                 throws Exception
Throws:
Exception

setInterval

public void setInterval(SmartContext ctx,
                        Datetime t,
                        int ds,
                        int de)
                 throws Exception
Throws:
Exception


Copyright © 2014. All rights reserved.