Package lib

Class Plan

Direct Known Subclasses:
Plan

public class Plan extends Object
Deprecate!!!!!! this class will be move to x package.
Author:
Sakdsitt Likhitmetagool
  • Field Details

  • Constructor Details

    • Plan

      public Plan()
  • Method Details

    • getPlan

      public static String getPlan(String str)
      xxx.
    • getStartDate

      public static String getStartDate(String str)
      xxx.
    • getEndDate

      public static String getEndDate(String str)
      xxx.
    • getProject

      public static String getProject(String str)
      xxx.
    • isPlanString

      public static boolean isPlanString(String str)
      xxx.
    • toPlanString

      public static String toPlanString(String planName, String planStartDate, String planEndDate, String projectName)
      xxx.
    • getUserPlan

      public static int getUserPlan(th.co.skylogicsystem.skyframework.core.datalayer.XData user)
      xxx.
    • firstAvailableSlotPlan

      public static int firstAvailableSlotPlan(th.co.skylogicsystem.skyframework.core.datalayer.XData user)
      xxx.
    • getArrayIndexUserPlan

      public static ArrayList<Integer> getArrayIndexUserPlan(th.co.skylogicsystem.skyframework.core.datalayer.XData user)
      xxx.
    • getPlan

      public static String getPlan(int i, th.co.skylogicsystem.skyframework.core.datalayer.XData user)
      xxx.
    • havePlan

      public static boolean havePlan(String app, th.co.skylogicsystem.skyframework.core.datalayer.XData user)
      xxx.
    • addPlan

      public static void addPlan(String planName, String planStartDate, String planEndDate, String projectName, th.co.skylogicsystem.skyframework.core.datalayer.XData user) throws Exception
      xxx.
      Throws:
      Exception
    • removePlan

      public static void removePlan(String projectName, th.co.skylogicsystem.skyframework.core.datalayer.XData user) throws Exception
      xxx.
      Throws:
      Exception
    • countPlans

      public static int countPlans(th.co.skylogicsystem.skyframework.core.datalayer.XData user) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      xxx.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • countPlans

      public static int countPlans(String planJson) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      xxx.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • getPlans

      public static ArrayList<String> getPlans(th.co.skylogicsystem.skyframework.core.datalayer.XData user) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      xxx.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • getPlans

      public static ArrayList<String> getPlans(String planJson) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      xxx.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • toPlan

      public static String toPlan(String planType, String planStartDate, String planEndDate, String projectName)
      String to Plan.
    • addPlanString

      public static String addPlanString(String addPlan, String planJson) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      Add 1 Plan.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • addPlanString

      public static String addPlanString(String addPlan1, String addPlan2, String planJson) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      Add 2 Plans.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • addPlanString

      public static String addPlanString(String addPlan1, String addPlan2, String addPlan3, String planJson) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      Add 3 Plans.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • addPlanString

      public static String addPlanString(String addPlan1, String addPlan2, String addPlan3, String addPlan4, String planJson) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      Add 4 Plans.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • removePlanString

      public static String removePlanString(String removePlan, String planJson) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      Remove Plan.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • havePlanString

      public static boolean havePlanString(String havePlan, String planJson) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      Have Plan.
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • addPlan

      public static void addPlan(String addPlan) throws Exception
      Add Plan.
      Throws:
      Exception
    • toPlanV2

      public static String toPlanV2(th.co.skylogicsystem.skyframework.core.datalayer.XData user) throws th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
      V.1 to V.2 (Multiple field plans to Single field plan).
      Throws:
      th.co.skylogicsystem.skyframework.core.utils.web.json.JSONException
    • main

      public static void main(String[] args)