Class Calendar


  • public class Calendar
    extends java.lang.Object
    Since:
    7.1
    Author:
    Chungyen Tsai
    • Constructor Summary

      Constructors 
      Constructor Description
      Calendar()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String changeDateProperty​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String application, java.lang.String module, java.lang.String dateSimpleName, java.lang.String dateLabel, java.lang.String monthYear)  
      protected static void checkSecurity​(javax.servlet.http.HttpServletRequest request, java.lang.String application, java.lang.String module)  
      protected void cleanRequest()  
      void dragAndDrop​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String application, java.lang.String module, java.lang.String calendarKey, java.lang.String dropDate, java.lang.String dropDateString)  
      java.lang.String format​(java.lang.Object date, boolean withTime, boolean oldLib)  
      protected static ModuleContext getContext​(javax.servlet.http.HttpServletRequest request)  
      java.lang.String getEvents​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String application, java.lang.String module, java.lang.String monthYear, java.lang.String dateSimpleName)  
      protected View getView​(javax.servlet.http.HttpServletRequest request, java.lang.String application, java.lang.String module)  
      protected void initRequest​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String application, java.lang.String module)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Calendar

        public Calendar()
    • Method Detail

      • getEvents

        public java.lang.String getEvents​(javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.http.HttpServletResponse response,
                                          java.lang.String application,
                                          java.lang.String module,
                                          java.lang.String monthYear,
                                          java.lang.String dateSimpleName)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • changeDateProperty

        public java.lang.String changeDateProperty​(javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response,
                                                   java.lang.String application,
                                                   java.lang.String module,
                                                   java.lang.String dateSimpleName,
                                                   java.lang.String dateLabel,
                                                   java.lang.String monthYear)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • dragAndDrop

        public void dragAndDrop​(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                java.lang.String application,
                                java.lang.String module,
                                java.lang.String calendarKey,
                                java.lang.String dropDate,
                                java.lang.String dropDateString)
                         throws javax.ejb.ObjectNotFoundException,
                                ValidationException,
                                XavaException,
                                SystemException,
                                javax.ejb.FinderException,
                                java.text.ParseException
        Throws:
        javax.ejb.ObjectNotFoundException
        ValidationException
        XavaException
        SystemException
        javax.ejb.FinderException
        java.text.ParseException
      • getView

        protected View getView​(javax.servlet.http.HttpServletRequest request,
                               java.lang.String application,
                               java.lang.String module)
      • format

        public java.lang.String format​(java.lang.Object date,
                                       boolean withTime,
                                       boolean oldLib)
      • getContext

        protected static ModuleContext getContext​(javax.servlet.http.HttpServletRequest request)
      • initRequest

        protected void initRequest​(javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response,
                                   java.lang.String application,
                                   java.lang.String module)
        Since:
        5.4
      • cleanRequest

        protected void cleanRequest()
      • checkSecurity

        protected static void checkSecurity​(javax.servlet.http.HttpServletRequest request,
                                            java.lang.String application,
                                            java.lang.String module)