pase.server
Class FlowServiceImpl

java.lang.Object
  extended by pase.server.FlowServiceImpl
All Implemented Interfaces:
FlowService

public class FlowServiceImpl
extends java.lang.Object
implements FlowService


Constructor Summary
FlowServiceImpl()
           
 
Method Summary
 java.lang.String addBookingEvent(BookingEvent bookingEvent)
           
 boolean addMainMeeting(java.lang.String memID, java.lang.String meetingID)
           
 boolean addMonitorRelation(java.lang.String sourceTaskID, java.lang.String createdRootTaskID)
          Add task monitor relation, store root task ID and those created root task ID when executed.
 boolean addMonitorRelation(java.lang.String sourceTaskID, java.util.Vector createdRootTaskIDs)
          Add task monitor relation, store root task ID and those created root task ID when executed.
 boolean addWorkDiaryManager(java.lang.String memID)
           
 boolean aotuUpdateAPRepeatRule(APRepeatRule repeatRule)
           
 int asynGetRootTaskSummaryOfJoinMember(java.lang.String mID, int state)
          Return the count of root tasks of the specific member, which tasks were initialized by member.
 int asynGetTaskOfMember(java.lang.String user)
          Return the task count of the specific member
 boolean autoUpdateMeetingLastNoticeTime(java.lang.String meetingID)
           
 boolean autoUpdateRMRepeatRuleTime(java.lang.String ruleID)
           
 java.util.Vector batchProcess(java.util.List completeTask, java.util.List removeTask, java.util.List createPro)
          Batch processing task.
 boolean bypassTask(Task p_Task, java.lang.String p_AstID)
          Bypass a task with a specified condition.
 java.lang.Object callServerSideScriptFunction(java.lang.String library, java.lang.String function, java.lang.Object[] args)
          Call function on server-side script
 boolean cancelTaskInClient(Task t)
          Cancel the client side Task.
 boolean cancelTaskInClient(Task t, java.lang.String loginID)
          Cancel the client side Task
 boolean commitWorkDiary(WorkDiaryInfo workDiaryInfo, boolean flag)
           
 boolean commitWorkDiaryAssign(WorkDiaryAssignInfo workDiaryAssignInfo, boolean flag)
           
 boolean commitWorkDiaryMsg(WorkDiaryMsgInfo workDiaryMsgInfo)
           
 java.util.HashMap completeTask(Task t)
          Complete the task
 java.util.HashMap completeTask(Task t, java.lang.String stateID)
          Complete the task with changing artifact state
 java.lang.String createAPRepeatRule(APRepeatRule repeatRule)
           
 PASEartInstance createArtInstance(java.lang.String aID)
          Create artifact instance
 PASEartInstance createArtInstance(java.lang.String tID, java.lang.String aID)
           
 java.lang.String createEIPLayout(java.lang.String companyID)
           
 java.lang.String createEIPLayout(java.lang.String companyID, java.util.HashMap languageHm)
           
 PASEartInstance createFreqArtInstance(java.lang.String aID)
          Create artifact instance, for FreqAp use
 java.lang.String createMarquee(Marquee marquee, java.lang.String parentID)
           
 java.lang.String createMarqueeData(Marquee marquee, boolean isUploadImage)
           
 java.lang.String createMeetingInfo(MeetingInfo info, MemberRecord user)
           
 java.lang.String createMeetingRoom(MeetingRoom room)
           
 java.lang.String createPortalImage(Image image, java.lang.String portletID)
           
 java.lang.String createProcess(java.lang.String userID, java.lang.String proID, java.util.HashMap args, boolean isPopUp, boolean isDelible)
          Create a process.
 java.lang.String createProcess(java.lang.String userID, java.lang.String roleID, java.lang.String proID, java.util.HashMap args, boolean isPopUp, boolean isDelible)
           
 java.lang.String createProcess(java.lang.String userID, java.lang.String roleID, java.lang.String proID, java.util.HashMap args, boolean isPopUp, boolean isDelible, java.lang.String taskID, java.lang.String dtTemplateID, boolean isShowMonitorRelation)
          Create a process.
 java.util.HashMap createProcessEx(java.lang.String flag, java.lang.String loginID, java.lang.String proID, java.lang.String subject, int priority, java.util.List fileList, java.util.Map args, java.util.Map artifactArgs)
          For mail to create a process.
 java.lang.String createRMItem(RMItem item)
           
 java.lang.String createRMRepeatRule(RMRepeatRule repeatRule)
           
 boolean creatOutLinkByPortletID(Link link)
           
 java.lang.String creatQuickCustomizedCategory(Category category)
           
 java.lang.String creatQuickCustomizedLink(Link link)
           
 boolean creatQuickVote(QuickVote quickVote)
           
 java.lang.String creatQuickVoteTheme(QuickVote quickVote)
           
 boolean deleteAPRepeatRule(APRepeatRule repeatRule)
           
 java.lang.Boolean deleteAPTask(java.lang.String taskId)
           
 boolean deleteAPWork(java.lang.String workID, MemberRecord user)
           
 boolean deleteAPWorkParentMap(java.lang.String workID, java.lang.String parentID)
           
 boolean deleteBookingEvent(BookingEvent bookingEvent)
           
 boolean deleteBookingEventByRepeatRule(RMRepeatRule repeatRule)
           
 boolean deleteBookingEventByRepeatRuleAfterDate(RMRepeatRule repeatRule, java.util.Date date, boolean isUpdateRule)
           
 boolean deleteEIPColorTheme(java.lang.String themeID)
           
 boolean deleteEIPLayoutByLayout(java.lang.String layoutID)
           
 boolean deleteImageSlider(java.lang.String portletId)
           
 boolean deleteMainMeeting(java.lang.String memID, java.lang.String meetingID)
           
 boolean deleteMarqueeData(java.lang.String marqueeDataID)
           
 boolean deleteMeetingInfo(java.lang.String id, MemberRecord user)
           
 boolean deleteMeetingRoom(java.lang.String id)
           
 boolean deleteOutLinkByPortletID(java.lang.String portletID)
           
 void deletePersonalTaskTracking(java.lang.String mId, java.lang.String rootTskID)
           
 boolean deletePortalImage(java.lang.String imageID)
           
 boolean deletePublicMemOfWorkDiary(java.lang.String memID)
           
 boolean deleteQuickCustomizedCategory(java.lang.String catID)
           
 boolean deleteQuickCustomizedLink(java.lang.String linkID)
           
 boolean deleteQuickLinkByPortletID(java.lang.String portletID)
           
 boolean deleteQuickVote(java.lang.String quickVoteId)
           
 boolean deleteQuickVoteTheme(java.lang.String quickVoteThemeId)
           
 boolean deleteRMItem(RMItem item)
           
 boolean deleteRMRepeatRule(RMRepeatRule repeatRule)
           
 boolean delWorkDiaryManager()
           
 boolean forceCompleteATask(Task parentTask)
          Complete an ATask.
 boolean forceReassignTask(java.lang.String p_TaskID, java.lang.String p_MemID)
          Re-assign a task to another member.
 boolean forceReassignTask(java.lang.String p_TaskID, java.lang.String p_MemID, java.lang.String p_RoleID)
          Force to reassign the task and assign the specific roleID when this member has multi-roles.
 boolean forceReassignTask(Task p_Task, MemberRecord p_MR)
          Re-assign a task to another member.
 boolean forceResetTask(java.lang.String p_TaskID, java.lang.String p_MemID)
           
 boolean forceResetTask(java.lang.String p_TaskID, java.lang.String p_MemID, java.lang.String p_RoleID)
           
 boolean forceResetTask(Task p_Task, MemberRecord p_MR)
           
 java.util.Vector getAddSignTaskList(java.lang.String signTaskId)
          get sign task list of the same singTaskId
 java.util.List getAfterRepeatUnstartedMeetingInfoID(APRepeatRule repeatRule, boolean byTime)
           
 java.lang.String getAlbumID()
           
 java.lang.String getAlbumPhotoID()
           
 java.util.Collection getAllAddASResult(java.lang.String taskId)
          Returns all add AS result that were written before the given task.
 java.util.Vector getAllAgentTaskIDListOfMember(java.lang.String mID, int beginIndex, int endIndex, java.lang.String order)
           
 java.util.HashMap getAllClassificationTaskOfMember(java.lang.String user, java.lang.String type, boolean useClassificationBox, int sortType, java.lang.String sortOrder)
          Return tasks of the specific member
 java.util.Vector getAllCSSignResult(java.lang.String result, CSTask csTask, java.lang.String csSignResult, java.util.Vector auditList)
           
 java.util.Vector getAllCSSignResult(java.util.Vector parseTaskList)
           
 java.util.Collection getAllCSTaskNote(java.lang.String taskID)
          Returns all CS tasks' note that were written before the given task.
 java.util.HashMap getAllEIPLayoutByLayoutID(java.lang.String layoutID)
           
 java.util.HashMap getAllEIPLayoutListMap()
           
 java.util.List getAllEIPLayoutPortletsShare()
           
 java.util.List getAllEIPLayoutTabsShare()
           
 java.util.Vector getAllErrorTaskOfMember(java.lang.String memberID)
           
 java.util.Collection getAllIapSignResult(java.lang.String taskId)
          Returns all iap sign result that were written before the given task.
 java.util.List<java.lang.String> getAllMeetingIdsByRoom(java.lang.String roomId)
           
 java.util.List getAllMeetingRoomByGroupID(java.lang.String groupID, MemberRecord mem, java.lang.String manager_use, java.lang.Boolean enable)
           
 java.util.List getAllMeetingRoomGroup(MemberRecord mem, java.lang.String manager_use, java.lang.Boolean enable, java.lang.String comID)
           
 java.util.Collection getAllProSignResult(java.lang.String taskId)
          Returns all pro sign result that were written before the given task.
 java.util.Vector<java.lang.String> getAllQuickVoteThemeID()
           
 java.util.Vector getAllRMCategory()
           
 java.util.Vector getAllRMCategory(MemberRecord user)
           
 java.util.Vector getAllRMItemOfCategory(java.lang.String categoryID)
           
 java.util.Vector getAllRMItemOfCategory(java.lang.String categoryID, MemberRecord user)
           
 java.util.List<RMManageInfo> getAllRMManageInfoByComIDs(java.util.List<java.lang.String> comIDs)
           
 java.util.List getAllSubComIDListByManager(java.lang.String memID)
           
 java.util.List getAllSubDepIDListByManager(java.lang.String memID)
           
 java.util.Collection getAllSubMemIDListByManager(java.lang.String memID)
           
 java.util.Vector getAllTaskIDListForPage(java.lang.String mID, int beginIndex, int pagecount, java.lang.String order)
           
 java.util.Vector getAllTaskIDListOfMember(java.lang.String mID, int beginIndex, int endIndex, java.lang.String order)
          Return task ID list of the specific member
 int getAllTaskMonitoringQuantity(java.lang.String mID)
          Return Task Monitoring (All Tasks) quantity
 java.util.Vector getAllTinyTaskList(java.lang.String user)
          Return tasks of the specific member
 java.util.Vector getAllTinyTaskList(java.lang.String mID, int sc, int ec, java.lang.String order)
          Return tasks of the specific member
 java.util.Vector getAllTskIDListByGPro(java.lang.String gProID, java.lang.String frontTaskID)
          Get the ids of root task list which will trigger the GatherProcess This method will be used in the PreAction and PostAction of the GatherProcess only.
 java.util.Vector getApprovalHistoryRootTaskOfJoinMember(java.lang.String mbrID)
          Get root tasks that there are any sub-task are executed by the specified member, where the task member and the task executor are the same.
 java.util.Map getAPRangeByAPRoleID(java.util.List APRoleIDList)
           
 APRepeatRule getAPRepeatRuleByAPID(java.lang.String apID)
           
 java.util.List<APTask> getAPTaskByComID(java.util.List comIDList, java.lang.Boolean isEnabled)
           
 java.util.List<APTask> getAPTaskByMember(MemberRecord mem, java.util.List filterComIDs)
           
 APTask getAPTaskByTaskID(java.lang.String tskID)
           
 java.util.List<APWork> getAPWorkByAPID(java.lang.String parentID, java.lang.String userID)
           
 java.util.List<APWork> getAPWorkByFilter(java.util.Map filterMap)
           
 APWork getAPWorkByWorkID(java.lang.String workID, java.lang.String userID)
           
 java.util.List<APWorkComment> getAPWorkComment(java.lang.String parentID)
           
 APWorkComment getAPWorkCommentById(java.lang.String commentId)
           
 java.util.Map getAPWorkCount(java.util.Map filterMap)
           
 java.util.List<java.util.Map> getAPWorkParentMap(java.lang.String workID, java.lang.String parentID)
           
 PASEartInstance getArtInstance(java.lang.String iID)
          Return a data object of artifact instance with current Task
 PASEartInstance getArtInstance(java.lang.String iID, java.lang.String tID)
          Return a data object of artifact instance with specific task
 java.util.Vector getArtInstanceOfArtifact(java.lang.String aID)
          Return all artifact instances instanciated by some specific artifact.
 java.util.HashMap getATaskNote(java.lang.String tskID)
          Get all ATask information for the specified root task.
 java.util.List getBeforeRepeatMeetingInfo(APRepeatRule repeatRule, boolean byTime)
           
 BookingEvent getBookingEvent(java.lang.String bookingEventID)
           
 java.util.Vector getBookingEventsInRange(java.util.Date startTime, java.util.Date endTime, java.lang.String category, java.lang.String item, MemberRecord user)
           
 java.util.Vector getBookingEventsInRange(RMSearchCondition cond)
           
 java.lang.String getBuyGroupId()
           
 java.lang.String getBuyId()
           
 java.lang.String getBuyItemId()
           
 java.lang.String getBuyStoreId()
           
 RMItem getCategory(java.lang.String categoryID)
           
 java.util.Vector getCollectedTskIDListByGPro(java.lang.String gProID, java.lang.String frontTaskID)
          Get the ids of root task list which has triggered the GatherProcess This method will be used in the PreAction and PostAction of the GatherProcess only.
 java.util.List getCompanyIDListOfAPManager(MemberRecord member, java.lang.String functionName, java.lang.String permission)
           
 java.util.Vector getCPTaskIDList(java.lang.String cProID, java.lang.String frontTaskID)
          Get the root task id list which created by the CreateProcess with the specified CreateProcess id and front task id.
 java.util.Hashtable getCSLockHashtable()
          Get the hashtable keep the information about locked countersign tasks.
 CSSignInfo getCSSignInfo(Task task)
           
 java.util.HashMap getCSTaskNote(java.lang.String tskID)
          Get all CSTask information for the specified task.
 java.util.Vector getDebatesSearchPrompt(java.lang.String keyWord)
           
 java.lang.String getEditTimeLimitOfWorkDiary(java.lang.String comID)
           
 EIPColorTheme getEIPColorTheme(java.lang.String themeID)
           
 java.util.List getEIPColorThemeListByComID(java.lang.String comID, boolean editMode)
           
 EIPLayout getEIPLayout(java.lang.String layoutID)
           
 java.util.List getEIPLayoutByCompanyID(java.util.List comIDList)
           
 java.util.List getEIPLayoutByCompanyID(java.util.List comIDList, java.util.Locale locale)
           
 java.util.List getEIPLayoutByCompanyID(java.lang.String comID)
           
 EIPLayoutI18n getEIPLayoutI18n(java.lang.String i18nID)
           
 EIPLayoutPersonal getEIPLayoutPersonal(java.lang.String memID)
           
 EIPLayoutPortlets getEIPLayoutPortlets(java.lang.String portletID)
           
 java.util.List getEIPLayoutPortletsByParentID(java.lang.String parentID)
           
 EIPLayoutPortlets getEIPLayoutPortletsShare(java.lang.String portletID)
           
 java.util.List getEIPLayoutPortletsShareByParentID(java.lang.String parentID)
           
 EIPLayoutTabColumn getEIPLayoutTabColumn(java.lang.String columnID)
           
 java.util.List getEIPLayoutTabColumnByTabID(java.lang.String tabID)
           
 EIPLayoutTabs getEIPLayoutTabs(java.lang.String tabID)
           
 java.util.List getEIPLayoutTabsByLayoutID(java.lang.String layoutID)
           
 EIPLayoutTabs getEIPLayoutTabsShare(java.lang.String tabID)
           
 java.util.List getEIPLayoutTabsShareByParentID(java.lang.String parentID)
           
 EIPPortletDefine getEIPPortletDefine(java.lang.String portletID)
           
 EIPTabDefine getEIPTabDefine(java.lang.String tabID)
           
 java.util.Vector getFreqMessageByMbrId(java.lang.String mbrId)
           
 java.util.Vector getGroupSignProcess(java.lang.String memID)
           
 java.util.Vector getGroupSignTinyTaskList(java.lang.String mID)
          Return all groupsign tasks of some specific member.
 java.util.Vector getHistoryRootTaskOfJoinMember(java.lang.String mbrID)
          Get root tasks that there are any sub-task are executed by the specified member.
 java.util.Vector<IapRulePattern> getIapRuleOfTask(java.lang.String iapProcessId, java.util.List<java.lang.String> taskIdList)
          Get the IapRulePatterna list gainst given task list
 java.util.Vector<java.util.Vector<IapRulePattern>> getIapRulePatterns(java.lang.String iapId)
          Returns all add AS result that were written before the given task.
 java.util.List getIapSignTaskGroupByTskId(java.lang.String tskId)
           
 ImageSlider getImageSlider(java.lang.String portletId)
           
 java.util.Vector getInvolvedExecutors(java.lang.String rootTaskID)
          Get involved executors of Root process
 java.util.Vector getInvolvedMembers(java.lang.String rootTaskID)
          Get involved members of Root process
 MeetingInfo getLastMeetingByWork(java.lang.String workID, java.lang.String memID)
           
 Marquee getMarquee(java.lang.String parentID)
           
 Marquee getMarqueeConfig(java.lang.String marqueeID)
           
 Marquee getMarqueeData(java.lang.String marqueeDataID)
           
 java.util.Vector<Marquee> getMarqueeDataList(java.lang.String marqueeID)
           
 MeetingInfo getMeetingInfoByID(java.lang.String id, java.lang.String userID)
           
 java.util.Map getMeetingInfoCount(java.lang.String memID, java.lang.String model, java.lang.String user_company)
           
 int getMeetingRoomCountOfGroup(java.lang.String groupID)
           
 MeetingRoom getMeetingRoomOrGroupByID(java.lang.String id)
           
 java.util.Vector getMeetingSearchPrompt(java.lang.String keyWord, java.lang.String status)
           
 java.util.Map getMeetingShowInfos(java.util.Map queryConditions)
           
 java.util.Map getMemberConflictMeeting(MemberRecord mem, java.lang.String memIDs, java.lang.String meetingID, java.lang.String start_time, java.lang.String end_time)
           
 java.lang.String getNewIdGeneratorID(java.lang.String startWith, java.lang.String id, int size)
           
 java.lang.String getNewWorkDiaryID()
           
 java.lang.String getNewWorkDiaryMsgID()
           
 Link getOutLinkByPortletID(java.lang.String PortletId, java.lang.String comId)
           
 java.util.List getParentMeetingListByWorkID(java.lang.String workID, java.lang.String userID)
           
 java.util.Vector getPDiagramDetail(java.lang.String rootTID)
          Return the detail of process diagram
 java.util.HashMap getPDiagramState(java.lang.String rootTID)
          Return the states of process diagram
 java.util.Vector getPersonalTaskTracking(java.lang.String mId)
           
 java.util.Vector getPersonalTaskTracking(java.lang.String mId, int sortType, java.lang.String sortOrder)
           
 Image getPortalImage(java.lang.String imageID)
           
 java.util.Vector getPortalImageList(java.lang.String type, java.lang.String comId, java.lang.String portletID)
           
 java.util.HashMap getProcessDiagram(java.lang.String rootPID, java.lang.String rootTaskID)
          Return a process diagram
 java.util.HashMap getProcessDiagramAndState(java.lang.String rootPID, java.lang.String rootTaskID)
          Return a process diagram and its states
 java.util.Vector getProcessList(java.lang.String userID)
          Return processes of the specific member, which these processes could be initialized by member.
 java.util.HashMap getProcessView(java.lang.String rootPID)
           
 java.lang.String getProSignStateDisplayName(java.lang.String proId, java.lang.String proSignStateId)
           
 java.util.List getPumpTaskList(java.lang.String rootID)
           
 java.util.List getPumpTaskList(java.lang.String rootID, java.lang.String memberID)
           
 java.util.Vector getQuickCustomizedLinkOfCatID(java.lang.String catID)
           
 java.util.Vector getQuickCustomizedOfCatID(java.lang.String catID)
           
 java.util.Vector getQuickCustomizedOfPortlet(java.lang.String portletID, java.lang.String CompanyID)
           
 Category getQuickLinkCategoryOfCatID(java.lang.String catID)
           
 Link getQuickLinkOfLinkID(java.lang.String linkID)
           
 java.util.Vector getQuickVote(java.lang.String themeId)
           
 QuickVote getQuickVoteThemeOfPortlet(java.lang.String portletId, java.lang.String comId)
           
 java.util.Vector<java.lang.String> getRealManageCompanyIDsOfAPManager(java.lang.String memID, java.lang.String APType)
           
 java.util.Vector getRequestHistoryRootTaskOfJoinMember(java.lang.String mbrID)
          Get root tasks that are initializied by the specified member
 RMItem getRMItem(java.lang.String rmitemID)
           
 RMManageInfo getRMManageInfo(java.lang.String comID)
           
 java.util.HashMap getRootTaskDataListOfJoinMember(java.lang.String memberID, java.lang.String type, int sortType, java.lang.String sortOrder, boolean removeDraft)
           
 java.util.Vector getRootTaskOfJoinMember(java.lang.String mID)
          Return Root tasks executed by some specific member, including deputy
 java.util.Vector getRootTaskOfJoinMember(java.lang.String mID, int state)
          Return Root tasks executed by some specific member and states, including deputy
 java.util.Vector getRootTaskOfJoinMember(java.lang.String mID, java.lang.String proID)
          Return Root tasks executed by some specific member and states, including deputy
 java.util.Vector getRootTaskOfMember(java.lang.String mID)
          Return Root tasks executed by some specific member, deputy exclusively
 java.util.Vector getRootTaskOfMember(java.lang.String mID, int state)
          Return Root tasks executed by some specific member and states, deputy exclusively
 java.util.Vector getRootTaskOfProcess(java.lang.String pID)
          Retrieving the root Tasks of the given DBProcess id.
 java.util.Vector getRootTaskOfProcess(java.lang.String pID, int state)
          Retrieving the root Tasks of the given DBProcess id and task state.
 java.util.Vector getRootTaskSummaryOfJoinMember(java.lang.String mID, int state)
          Return root tasks of the specific member, which tasks were initialized by member.
 java.lang.String getScriptLibrary(java.lang.String fullname)
          Get Script Library by name
 java.util.Vector getSequelProIDList(java.lang.String pID, java.lang.String rootTaskID)
          Get all call processes ID list in this RootTask.
 java.util.Collection getSignResultOfTask(java.lang.String taskID)
          Returns all sign result that were written before
 java.util.Vector getSubTaskIDList(java.lang.String parentID)
          Return subtasks id of some specific task
 java.util.Vector getSubTaskList(java.lang.String parentID)
          Return subtasks of some specific task
 java.util.Vector getSubTaskList(java.lang.String rootID, boolean bIncludeRootID)
          Return subtasks of some specific root task
 Task getTask(java.lang.String tID)
          Return a data object of task
 java.util.Vector getTaskIDListOfMember(java.lang.String mID, int sc, int ec, java.lang.String order)
          Return task ID list of the specific member
 java.util.Vector getTaskList(java.lang.String user)
          Return tasks of the specific member
 java.util.Vector getTaskList(java.lang.String user, int sc, int ec)
          Return tasks of the specific member
 TaskMonitorRelation getTaskMonitorRelationByRoot(java.lang.String rootTskID)
          Get the task relation info of create process by the rootTask was triggered
 int getTaskNumberOfMember(java.lang.String mID)
           
 java.util.Vector getTaskOfCompany()
          Get all tasks.
 java.util.Vector getTaskOfCompany(int state)
          Get tasks with the specified task states.
 java.util.Vector getTaskOfDepartment(java.lang.String dID)
          Get all tasks for the specified department.
 java.util.Vector getTaskOfDepartment(java.lang.String dID, int state)
          Get tasks for the specified department, with the specified task states.
 java.util.Vector getTaskOfMember(java.lang.String mID)
          Return tasks executed by some specific member
 java.util.Vector getTaskOfMember(java.lang.String mID, int state)
          Return tasks which in some state and executed by some specific member
 java.util.Vector getTaskOfProcess(java.lang.String pID)
          Return tasks instantiated of some specific process.
 java.util.Vector getTaskOfProcess(java.lang.String pID, int state)
          Return tasks which are in some state and instantiated of some specific process.
 java.util.Vector getTaskOfRole(java.lang.String rID)
          Get all tasks for the specified role.
 java.util.Vector getTaskOfRole(java.lang.String rID, int state)
          Get tasks for the specified role, with the specified task states.
 java.util.Vector getTaskOfRootTask(java.lang.String rootTID)
          Return tasks of some specific root task
 java.util.Vector getTinyPDiagramDetail(java.lang.String rootTID, java.lang.String memID)
          Return the detail of process diagram
 java.util.List getTinyRootTaskIdListOfJoinMember(java.lang.String mID, java.lang.String rootDate, java.lang.String rootName, java.lang.String rootState)
          Return Root TinyTask(s) executed by some specific member, including deputy
 java.util.List getTinyRootTaskIdListOfJoinMember(java.lang.String mID, java.lang.String rootDate, java.lang.String rootName, java.lang.String rootState, long fromTime, long toTime)
          Return Root TinyTask(s) executed by some specific member, including deputy
 java.util.Vector getTinyRootTaskOfJoinMember(java.lang.String mID)
          Return Root TinyTask(s) executed by some specific member, including deputy
 java.util.Vector getTinyRootTaskOfJoinMember(java.lang.String mID, java.lang.String proID)
          Return Root TinyTask(s) executed by some specific member, including deputy
 TinyTask getTinyTask(Task task, java.lang.String mID)
          Return tasks of the specific member
 java.util.List getTinyTaskIdListTracked(java.lang.String mID, java.util.List idList, java.lang.String state)
          Return tasks of the specific member and tasks
 java.util.Vector getTinyTaskList(java.lang.String user)
          Return tasks of the specific member
 java.util.Vector getTinyTaskList(java.lang.String mID, int sc, int ec, java.lang.String order)
          Return tasks of the specific member
 java.util.Vector getTinyTaskList(java.lang.String mID, java.util.List idList)
          Return tasks of the specific member and tasks
 java.util.Vector getTranslateArtInsList(java.lang.String artID)
          Get all PASEArtInstance data for the specified artifact.
 java.util.HashMap getTreeTaskList(java.lang.String user)
          Return tasks of the specific member
 int getUncompletePATaskNo(Task parentTask)
          Calculate the tasks count which tasks are "Add Parallel Announce" and are complete under the specified task.
 WorkDiaryAssignInfo getWorkDiaryAssignInfoByMemID(java.lang.String memID)
           
 WorkDiaryInfo getWorkDiaryByID(java.lang.String workDiaryID)
           
 java.util.Vector getWorkDiaryEditableOfOpenByMemID(java.lang.String memID)
           
 java.lang.String getWorkDiaryID(java.lang.String memID, java.lang.String createDate)
           
 java.util.Vector getWorkDiaryManager()
           
 WorkDiaryMsgInfo getWorkDiaryMsgByID(java.lang.String workDiaryMsgID)
           
 java.util.Map<java.lang.String,java.util.Vector> getWorkDiaryOfOpen()
           
 java.util.Vector getWorkDiaryOfOpenByMemID(java.lang.String memID)
           
 java.util.Map<java.lang.String,java.util.Vector> getWorkDiaryOfOpenEditable()
           
 java.util.Map<java.lang.String,java.util.List> getWorkDiarys(java.lang.String startTime, java.lang.String endTime, java.lang.String memID, java.lang.String dayList)
           
 boolean goBackTo(java.lang.String fromTaskID, java.lang.String toProID, boolean artMode)
          Sets the executing task back to another process which had been executed.
 boolean goBackTo(java.lang.String fromTaskID, Task toTask, boolean artMode)
          Sets the executing task back to another process which had been executed.
 boolean goBackTo(java.lang.String fromTaskID, Task toTask, boolean artMode, boolean isEmailNotify)
          Sets the executing task back to another process which had been executed.
 boolean goBackTo(java.lang.String fromTaskID, Task toTask, java.lang.String comment, boolean artMode, boolean isEmailNotify)
          Sets the executing task back to another process which had been executed.
 boolean goBackTo(Task fromTask, java.lang.String toProID, boolean artMode)
          Sets the executing task back to another process which had been executed.
 java.util.HashMap goBackToWithDetailRet(Task fromTask, java.lang.String toProID, boolean artMode)
          Sets the executing task back to another process which had been executed.
 boolean hasEventOfCategory(java.lang.String categoryID)
           
 boolean hasEventOfItem(java.lang.String itemID)
           
 java.util.HashMap initProcess(java.lang.String user, PASEProcess process)
          Initial the process
 java.util.HashMap initProcess(java.lang.String user, java.lang.String rolID, java.lang.String depID, java.lang.String proID, java.lang.String keyword, int priority)
          Initial the process
 APTask insertAPTask(APTask task)
           
 java.lang.String insertAPWork(APWork work, MemberRecord user)
           
 APWorkComment insertAPWorkComment(APWorkComment comment)
           
 boolean insertAPWorkParentMap(java.lang.String workID, java.lang.String parentID)
           
 boolean insertEIPLayout(EIPLayout eipLayout)
           
 boolean insertEIPLayoutI18n(EIPLayoutI18n eipLayoutI18n)
           
 boolean insertEIPLayoutPersonal(EIPLayoutPersonal eipLayoutPersonal)
           
 boolean insertEIPLayoutPortlets(EIPLayoutPortlets eipLayoutPortlets)
           
 boolean insertEIPLayoutPortletsShare(EIPLayoutPortlets eipLayoutPortletsShare)
           
 boolean insertEIPLayoutTabColumn(EIPLayoutTabColumn eipLayoutMenuGroup)
           
 boolean insertEIPLayoutTabs(EIPLayoutTabs eipLayoutTabs)
           
 boolean insertEIPLayoutTabsShare(EIPLayoutTabs eipLayoutTabsShare)
           
 boolean insertEIPPortletDefine(EIPPortletDefine eipPortletDefine)
           
 boolean insertEIPTabDefine(EIPTabDefine eipTabDefine)
           
 void insertImageSlider(java.lang.String portletId, java.lang.String mode, java.lang.String height)
           
 boolean insertMeetingRecordSendRecord(java.util.Map sendRecord)
           
 void insertPersonalTaskTracking(java.lang.String mId, java.lang.String rootTskID)
           
 boolean isAfterIapGoBackToProAndReturn(java.lang.String taskId)
          Returns @param host a host address.
 boolean isATaskComplete(Task t)
           
 boolean isCSTaskComplete(Task t)
           
 boolean isEIPLayoutExist(java.lang.String layoutID)
           
 boolean isLocked(java.lang.String tID)
          Check the task locking state
 boolean isOverlappingBookingEvent(BookingEvent bookingEvent)
           
 boolean isOverlappingBookingEventRule(BookingEvent bookingEvent, java.lang.String ruleID)
           
 boolean isShowSignArea(java.lang.String rootID, java.lang.String currentTskID, boolean includeCoSign)
           
 void lockTask(java.lang.String tskID)
          Lock a task.
 java.util.HashMap notifyTask(java.lang.String tskID)
          Notify a task.
 boolean orderMarqueeDataList(java.util.HashMap<java.lang.String,java.lang.String> mapMarqueesDataId)
           
 java.util.Vector parseAddASResultString(java.lang.String result)
          Parse the countersign result string to CSResultData
 java.util.Vector parseCSResultString(java.lang.String result, java.util.List auditNameList)
          Parse the countersign result string to CSResultData
 boolean pickQueueTask(Task t)
          Pick a task to execute from its queue.
 java.lang.String produceArtIns_ID(Task t, java.lang.String artIDEnc, java.lang.String artID, java.lang.String insID)
           
 boolean recoverDefaultEIPLayout(java.lang.String layoutID)
           
 boolean removeAFTVElementVO(java.lang.String subject, java.lang.String item)
           
 boolean removeRootTaskByShell(java.lang.String p_RootTaskID, java.lang.String p_MemID)
          Remove a root task, if the user has permission to remove the task.
 boolean removeTaskByAdm(java.lang.String p_TaskID)
          Remove a root task.
 boolean removeTaskByUser(java.lang.String p_RootTaskID, java.lang.String p_MemID)
          Remove a root task, if the user has permission to remove the task.
 boolean renameEIPLayout(java.lang.String layoutID, java.util.HashMap languageHm)
           
 boolean replyWorkDiary(WorkDiaryMsgInfo workDiaryMsgInfo, WorkDiaryInfo workDiaryInfo, boolean flag)
           
 void reScheduleTask(Task task)
          Reschedule the task Cron Event(s)
 void reScheduleTaskExcludeNonOfficeHour(Task task)
          Reschedule the task Cron Event(s) that exclude the Non-Office-Hour.
 void reScheduleTaskIncludeNonOfficeHour(Task task)
          Reschedule the task Cron Event(s) that include the Non-Office-Hour.
 boolean retrieveAgentTask(java.lang.String taskID, java.lang.String memberID)
           
 void runScriptOnServer(java.lang.String code, Task t)
          Execute script on the specified task
 boolean saveAFTVElementVO(AFTVElementVO vo)
           
 boolean saveEditTimeLimitOfWorkDiary(java.lang.String comID, java.lang.String timeLimit)
           
 boolean saveEIPLayout(java.util.HashMap allLayoutMap)
           
 boolean saveEIPLayoutPersonal(EIPLayoutPersonal eipLayoutPersonal)
           
 boolean saveEIPLayoutRange(EIPLayout eipLayout)
           
 boolean setArtInsState(PASEartInstance artInstance, java.lang.String stateID)
          Return true for success, else false
 boolean setEIPColorThemeEnabled(java.lang.String themeID, java.lang.String comID, boolean enabled)
           
 boolean setEIPColorThemeRangeType(java.lang.String themeID, java.lang.String type)
           
 boolean setMonitorRelation(java.lang.String sourceTaskID, java.lang.String createdRootTaskID)
          Set task monitor relation, store root task ID and those created root task ID when executed.
 boolean setMonitorRelation(java.lang.String sourceTaskID, java.util.Vector createdRootTaskIDs)
          Set task monitor relation, store root task ID and those created root task ID when executed.
 void setRmiServer(RMIServer rmiServer)
           
 java.util.HashMap startTask(Task t)
          Start the task
 void stopRootTask(java.lang.String rootID)
          Stop a root task.
 java.util.HashMap suspendTask(Task t)
          suspend Task
 void unlockCoSign(java.lang.String rt_proID)
          Unlock a countrsign task.
 void unlockTask(java.lang.String tskID)
          UnLock a task.
 boolean updateAPRepeatRule(APRepeatRule repeatRule)
           
 java.lang.Boolean updateAPTask(APTask task)
           
 boolean updateAPWork(APWork work, MemberRecord user)
           
 java.util.Map updateAPWorkProperty(java.util.Map property, MemberRecord user)
           
 boolean updateArtInstance(PASEartInstance instance)
          Update artifact instance Notice: Artifact instance is carrying artifact state information.
 boolean updateArtInstance(java.lang.String tID, PASEartInstance instance)
          Update artifact instance
 boolean updateArtInstanceLog(java.lang.String tID, PASEartInstance instance)
          Update artifact instance log
 boolean updateBookingEvent(BookingEvent bookingEvent)
           
 boolean updateEIPColorTheme(EIPColorTheme eipColorTheme)
           
 boolean updateEIPLayout(EIPLayout eipLayout)
           
 boolean updateEIPLayoutI18n(EIPLayoutI18n eipLayoutI18n)
           
 boolean updateEIPLayoutPersonal(EIPLayoutPersonal eipLayoutPersonal)
           
 boolean updateEIPLayoutPortlets(EIPLayoutPortlets eipLayoutPortlets)
           
 boolean updateEIPLayoutPortletsShare(EIPLayoutPortlets eipLayoutPortletsShare)
           
 boolean updateEIPLayoutTabColumn(EIPLayoutTabColumn eipLayoutMenuGroup)
           
 boolean updateEIPLayoutTabs(EIPLayoutTabs eipLayoutTabs)
           
 boolean updateEIPLayoutTabsShare(EIPLayoutTabs eipLayoutTabsShare)
           
 boolean updateEIPPortletDefine(EIPPortletDefine eipPortletDefine)
           
 boolean updateEIPTabDefine(EIPTabDefine eipTabDefine)
           
 boolean updateImageSlider(ImageSlider imageSlider)
           
 boolean updateMarquee(Marquee marquee)
           
 boolean updateMarqueeData(Marquee marquee, boolean isUploadImage)
           
 boolean updateMarqueeRange(java.lang.String rangeEditList, java.lang.String comID)
           
 boolean updateMeetingCalendarTime(java.lang.String meetingID, java.util.Date st, java.util.Date et, MemberRecord user)
           
 boolean updateMeetingInfo(MeetingInfo info, MemberRecord user)
           
 boolean updateMeetingInfoHold(java.lang.String meetingID, boolean isHold)
           
 boolean updateMeetingInfoRecode(java.lang.String meetingID, java.lang.String recode, java.util.List attachments, java.lang.String lastUpdateRecordTime)
           
 boolean updateMeetingRoom(MeetingRoom room)
           
 boolean updateOutLinkByPortletID(Link link)
           
 boolean updatePortalImage(Image image)
           
 boolean updateQuickCustomizedCategory(Category category)
           
 boolean updateQuickCustomizedLink(Link link)
           
 boolean updateQuickVote(QuickVote quickVote)
           
 boolean updateRMItem(RMItem item)
           
 boolean updateRMManageInfo(RMManageInfo manageInfo)
           
 boolean updateRMRepeatRule(RMRepeatRule repeatRule)
           
 boolean updateTask(Task t)
          Update the data object of task.
 boolean updateTaskAttachedFileList(Task t)
          Update the attached file list of task.
 boolean updateTaskColorLabel(Task t)
           
 boolean updateTaskKeyWord(Task task)
           
 boolean updateTaskNote(Task t)
          Update the note of task.
 boolean updateTaskState(Task t)
          Update the state of task.
 boolean updateWorkDiaryOfOpen(java.lang.String memID, java.lang.String rangeVisibleList)
           
 boolean updateWorkDiaryOfOpen(java.lang.String memID, java.lang.String rangeVisibleList, java.lang.String rangeEditableList)
           
 java.util.List validateMeetingInfo(MemberRecord mem, java.util.Map argsMap)
           
 void waitTask(java.lang.String tskID)
          Wait a task.
 void waitTask(java.lang.String tskID, java.lang.String timeString)
          Wait a task.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowServiceImpl

public FlowServiceImpl()
Method Detail

setRmiServer

public void setRmiServer(RMIServer rmiServer)

initProcess

public java.util.HashMap initProcess(java.lang.String user,
                                     PASEProcess process)
Description copied from interface: FlowService
Initial the process

Specified by:
initProcess in interface FlowService
process - the given PASEProcess
Returns:
the result ( [Key:Value] = [rootTaskID:rootTaskID] ; [retValue:Boolean(true/false)])

initProcess

public java.util.HashMap initProcess(java.lang.String user,
                                     java.lang.String rolID,
                                     java.lang.String depID,
                                     java.lang.String proID,
                                     java.lang.String keyword,
                                     int priority)
Description copied from interface: FlowService
Initial the process

Specified by:
initProcess in interface FlowService
Parameters:
user - the user's loginId
proID - the process Id
keyword - keyword
priority - priority
Returns:
the result ( [Key:Value] = [rootTaskID:rootTaskID] ; [retValue:Boolean(true/false)])

startTask

public java.util.HashMap startTask(Task t)
Description copied from interface: FlowService
Start the task

Specified by:
startTask in interface FlowService
Parameters:
t - the given Task
Returns:
the result ( [Key:Value] = [retValue:Boolean(true/false)])

completeTask

public java.util.HashMap completeTask(Task t)
Description copied from interface: FlowService
Complete the task

Specified by:
completeTask in interface FlowService
Parameters:
t - the given Task
Returns:
the result ( [Key:Value] = [retValue:Boolean(true)] )

completeTask

public java.util.HashMap completeTask(Task t,
                                      java.lang.String stateID)
Description copied from interface: FlowService
Complete the task with changing artifact state

Specified by:
completeTask in interface FlowService
Parameters:
t - the given Task , stateID the prefer state.
Returns:
the result ( [Key:Value] = [retValue:Boolean(true)] )

suspendTask

public java.util.HashMap suspendTask(Task t)
Description copied from interface: FlowService
suspend Task

Specified by:
suspendTask in interface FlowService
Parameters:
t - the given Task
Returns:
the result ( [Key:Value] = [retValue:Boolean(true)] )

cancelTaskInClient

public boolean cancelTaskInClient(Task t,
                                  java.lang.String loginID)
Description copied from interface: FlowService
Cancel the client side Task

Specified by:
cancelTaskInClient in interface FlowService
Parameters:
t - the given Task
loginID - the user login ID
Returns:
true for success.

cancelTaskInClient

public boolean cancelTaskInClient(Task t)
Description copied from interface: FlowService
Cancel the client side Task. (using the Task to find the user ID.)

Specified by:
cancelTaskInClient in interface FlowService
Parameters:
t - the given Task
Returns:
true for success.

pickQueueTask

public boolean pickQueueTask(Task t)
Description copied from interface: FlowService
Pick a task to execute from its queue.

Specified by:
pickQueueTask in interface FlowService
Parameters:
t - the given Task

bypassTask

public boolean bypassTask(Task p_Task,
                          java.lang.String p_AstID)
Description copied from interface: FlowService
Bypass a task with a specified condition.

Specified by:
bypassTask in interface FlowService
Parameters:
p_Task - the given Task
p_AstID - the given artifact state id
Returns:
true if successful.

forceReassignTask

public boolean forceReassignTask(java.lang.String p_TaskID,
                                 java.lang.String p_MemID,
                                 java.lang.String p_RoleID)
Description copied from interface: FlowService
Force to reassign the task and assign the specific roleID when this member has multi-roles.

Specified by:
forceReassignTask in interface FlowService
Parameters:
p_TaskID - the given TaskID
p_MemID - the given MemberRecordID
p_RoleID - the given RoleID
Returns:
true if it sets successfully; false otherwise

forceReassignTask

public boolean forceReassignTask(java.lang.String p_TaskID,
                                 java.lang.String p_MemID)
Description copied from interface: FlowService
Re-assign a task to another member.

Specified by:
forceReassignTask in interface FlowService
Parameters:
p_TaskID - the given task id
p_MemID - the given member id
Returns:
true if successful.

forceReassignTask

public boolean forceReassignTask(Task p_Task,
                                 MemberRecord p_MR)
Description copied from interface: FlowService
Re-assign a task to another member.

Specified by:
forceReassignTask in interface FlowService
Parameters:
p_Task - the given Task
p_MR - the given MemberRecord
Returns:
true if successful.

forceResetTask

public boolean forceResetTask(java.lang.String p_TaskID,
                              java.lang.String p_MemID,
                              java.lang.String p_RoleID)
Specified by:
forceResetTask in interface FlowService

forceResetTask

public boolean forceResetTask(java.lang.String p_TaskID,
                              java.lang.String p_MemID)
Specified by:
forceResetTask in interface FlowService

forceResetTask

public boolean forceResetTask(Task p_Task,
                              MemberRecord p_MR)
Specified by:
forceResetTask in interface FlowService

waitTask

public void waitTask(java.lang.String tskID)
Description copied from interface: FlowService
Wait a task.

Specified by:
waitTask in interface FlowService
Parameters:
tskID - the given task id

waitTask

public void waitTask(java.lang.String tskID,
                     java.lang.String timeString)
Description copied from interface: FlowService
Wait a task.

Specified by:
waitTask in interface FlowService
Parameters:
tskID - the given task id
timeString - the given time (ex: 2003/06/23/11/30) to notify

notifyTask

public java.util.HashMap notifyTask(java.lang.String tskID)
Description copied from interface: FlowService
Notify a task.

Specified by:
notifyTask in interface FlowService
Parameters:
tskID - the given task id

lockTask

public void lockTask(java.lang.String tskID)
Description copied from interface: FlowService
Lock a task.

Specified by:
lockTask in interface FlowService
Parameters:
tskID - the given task id

unlockTask

public void unlockTask(java.lang.String tskID)
Description copied from interface: FlowService
UnLock a task.

Specified by:
unlockTask in interface FlowService
Parameters:
tskID - the given task id

isLocked

public boolean isLocked(java.lang.String tID)
Description copied from interface: FlowService
Check the task locking state

Specified by:
isLocked in interface FlowService
Parameters:
tID - the given task id
Returns:
true for locked
See Also:
Task

goBackToWithDetailRet

public java.util.HashMap goBackToWithDetailRet(Task fromTask,
                                               java.lang.String toProID,
                                               boolean artMode)
Description copied from interface: FlowService
Sets the executing task back to another process which had been executed.

Specified by:
goBackToWithDetailRet in interface FlowService
Parameters:
fromTask - the given Task
toProID - the given process id
artMode - an artifact content mode. true for present artifact content. false for archived artifact content in the specified process.
Returns:
the HashMap.
See Also:
Task

goBackTo

public boolean goBackTo(Task fromTask,
                        java.lang.String toProID,
                        boolean artMode)
Description copied from interface: FlowService
Sets the executing task back to another process which had been executed.

Examples:

 var fromTask = WFCI.getTask("Tsk000000226229");
 
 var toProID = "PRO00440363552012";
 
 var Result = WFCI.goBackTo(fromTask, toProID, true);
 

Specified by:
goBackTo in interface FlowService
Parameters:
fromTask - the given Task
toProID - the given process id
artMode - an artifact content mode. true for present artifact content. false for archived artifact content in the specified process.
Returns:
true if succeeded; false otherwise. @
See Also:
Task

goBackTo

public boolean goBackTo(java.lang.String fromTaskID,
                        java.lang.String toProID,
                        boolean artMode)
Description copied from interface: FlowService
Sets the executing task back to another process which had been executed.

Examples:

 var fromTaskID = "Tsk000000226229";
 
 var toProID = "PRO00440363552012";
 
 var Result = WFCI.goBackTo(fromTaskID, toProID, true);
 

Specified by:
goBackTo in interface FlowService
Parameters:
fromTaskID - the given Task
toProID - the given process id
artMode - an artifact content mode. True for present artifact content or false for archived artifact content in the specified process.
Returns:
true if succeeded; false otherwise. @
See Also:
Task

goBackTo

public boolean goBackTo(java.lang.String fromTaskID,
                        Task toTask,
                        boolean artMode)
Description copied from interface: FlowService
Sets the executing task back to another process which had been executed.

Examples:

 var fromTaskID = "Tsk000000226229";
 
 var toTask = WFCI.getTask("Tsk0001134355209");
 
 var Result = WFCI.goBackTo(fromTaskID, toTask, true);
 

Specified by:
goBackTo in interface FlowService
Parameters:
fromTaskID - the given task id
toTask - the given Task
artMode - an artifact content mode. True for present artifact content or false for archived artifact content in the specified process.
Returns:
true if succeeded; false otherwise. @
See Also:
Task

goBackTo

public boolean goBackTo(java.lang.String fromTaskID,
                        Task toTask,
                        boolean artMode,
                        boolean isEmailNotify)
Description copied from interface: FlowService
Sets the executing task back to another process which had been executed.

Examples:

   var fromTaskID = "Tsk000000226229";
   var toTask = WFCI.getTask("Tsk0001134355209");
   var Result = WFCI.goBackTo(fromTaskID, toTask, true);
 

Specified by:
goBackTo in interface FlowService
Parameters:
fromTaskID - a Task ID.
toTask - a Task.
artMode - an artifact content mode. True for present artifact content or false for archived artifact content in the specified process.
Returns:
true if succeeded; false otherwise.
See Also:
Task

goBackTo

public boolean goBackTo(java.lang.String fromTaskID,
                        Task toTask,
                        java.lang.String comment,
                        boolean artMode,
                        boolean isEmailNotify)
Description copied from interface: FlowService
Sets the executing task back to another process which had been executed.

Examples:

   var fromTaskID = "Tsk000000226229";
   var toTask = WFCI.getTask("Tsk0001134355209");
   var Result = WFCI.goBackTo(fromTaskID, "comment", toTask, true);
 

Specified by:
goBackTo in interface FlowService
Parameters:
fromTaskID - a Task ID.
toTask - a Task.
comment - retrieved reason.
artMode - an artifact content mode. True for present artifact content or false for archived artifact content in the specified process.
Returns:
true if succeeded; false otherwise.
See Also:
Task

unlockCoSign

public void unlockCoSign(java.lang.String rt_proID)
Description copied from interface: FlowService
Unlock a countrsign task.

Specified by:
unlockCoSign in interface FlowService
Parameters:
rt_proID - the given process id of root task

batchProcess

public java.util.Vector batchProcess(java.util.List completeTask,
                                     java.util.List removeTask,
                                     java.util.List createPro)
Description copied from interface: FlowService
Batch processing task. Complete tasks, remove task and create processes at one time.

Specified by:
batchProcess in interface FlowService
Parameters:
completeTask - the given completed tasks (each element in List is instance of Task)
removeTask - the given removed tasks (each element in List is root task id)
createPro - the given create process list(each element in List is instance of List)
Returns:
created process tasks (each element in List is root task id

stopRootTask

public void stopRootTask(java.lang.String rootID)
Description copied from interface: FlowService
Stop a root task.

Specified by:
stopRootTask in interface FlowService
Parameters:
rootID - the given root task id

createProcess

public java.lang.String createProcess(java.lang.String userID,
                                      java.lang.String proID,
                                      java.util.HashMap args,
                                      boolean isPopUp,
                                      boolean isDelible)
Description copied from interface: FlowService
Create a process.

Specified by:
createProcess in interface FlowService
Parameters:
userID - the given member id
proID - the given process id
args - the given arguments
isPopUp - whether the root task is popup or not
isDelible - whether the root task is delible or not

createProcess

public java.lang.String createProcess(java.lang.String userID,
                                      java.lang.String roleID,
                                      java.lang.String proID,
                                      java.util.HashMap args,
                                      boolean isPopUp,
                                      boolean isDelible,
                                      java.lang.String taskID,
                                      java.lang.String dtTemplateID,
                                      boolean isShowMonitorRelation)
Description copied from interface: FlowService
Create a process.

Specified by:
createProcess in interface FlowService
Parameters:
userID - the given member id
roleID - the given role id
proID - the given process id
args - the given arguments
isPopUp - whether the root task is popup or not
isDelible - whether the root task is delible or not
isShowMonitorRelation - whether the specified task will show monitor relation in monitor or not

createProcessEx

public java.util.HashMap createProcessEx(java.lang.String flag,
                                         java.lang.String loginID,
                                         java.lang.String proID,
                                         java.lang.String subject,
                                         int priority,
                                         java.util.List fileList,
                                         java.util.Map args,
                                         java.util.Map artifactArgs)
Description copied from interface: FlowService
For mail to create a process.

Specified by:
createProcessEx in interface FlowService
Parameters:
flag - the given root task type
loginID - the given user's login id
proID - the given process id
subject - the given mail subject
priority - the given mail priority
fileList - the given attached file list
args - the given process arguments
artifactArgs - the given artifact argments

removeTaskByUser

public boolean removeTaskByUser(java.lang.String p_RootTaskID,
                                java.lang.String p_MemID)
Description copied from interface: FlowService
Remove a root task, if the user has permission to remove the task.

Specified by:
removeTaskByUser in interface FlowService
Parameters:
p_RootTaskID - the given root task id
p_MemID - the member id
Returns:
true if successful.

removeRootTaskByShell

public boolean removeRootTaskByShell(java.lang.String p_RootTaskID,
                                     java.lang.String p_MemID)
Description copied from interface: FlowService
Remove a root task, if the user has permission to remove the task. (the same as removeRootTask function)

Specified by:
removeRootTaskByShell in interface FlowService
Parameters:
p_RootTaskID - the given root task id
p_MemID - the member id
Returns:
true if successful.

removeTaskByAdm

public boolean removeTaskByAdm(java.lang.String p_TaskID)
Description copied from interface: FlowService
Remove a root task.

Specified by:
removeTaskByAdm in interface FlowService
Parameters:
p_TaskID - the given root task id
Returns:
true if successful.

forceCompleteATask

public boolean forceCompleteATask(Task parentTask)
Description copied from interface: FlowService
Complete an ATask.

Specified by:
forceCompleteATask in interface FlowService
Parameters:
parentTask - the given parent task
Returns:
true if successful.

getTask

public Task getTask(java.lang.String tID)
Description copied from interface: FlowService
Return a data object of task

Specified by:
getTask in interface FlowService
Parameters:
tID - the given task id
Returns:
the task
See Also:
Task

getRootTaskOfMember

public java.util.Vector getRootTaskOfMember(java.lang.String mID)
Description copied from interface: FlowService
Return Root tasks executed by some specific member, deputy exclusively

Specified by:
getRootTaskOfMember in interface FlowService
Parameters:
mID - the given member id
Returns:
all correspondence root tasks
See Also:
Task

getRootTaskOfMember

public java.util.Vector getRootTaskOfMember(java.lang.String mID,
                                            int state)
Description copied from interface: FlowService
Return Root tasks executed by some specific member and states, deputy exclusively

Specified by:
getRootTaskOfMember in interface FlowService
Parameters:
mID - the given member id
state - the given state of task
Returns:
all correspondence root tasks
See Also:
Task

getRootTaskOfJoinMember

public java.util.Vector getRootTaskOfJoinMember(java.lang.String mID)
Description copied from interface: FlowService
Return Root tasks executed by some specific member, including deputy

Specified by:
getRootTaskOfJoinMember in interface FlowService
Parameters:
mID - the given member id
Returns:
all correspondence root tasks
See Also:
Task

getRootTaskOfJoinMember

public java.util.Vector getRootTaskOfJoinMember(java.lang.String mID,
                                                int state)
Description copied from interface: FlowService
Return Root tasks executed by some specific member and states, including deputy

Specified by:
getRootTaskOfJoinMember in interface FlowService
Parameters:
mID - the given member id
state - the given state of task
Returns:
all correspondence root tasks
See Also:
Task

getRootTaskOfJoinMember

public java.util.Vector getRootTaskOfJoinMember(java.lang.String mID,
                                                java.lang.String proID)
Description copied from interface: FlowService
Return Root tasks executed by some specific member and states, including deputy

Specified by:
getRootTaskOfJoinMember in interface FlowService
Parameters:
mID - the given member id
proID - the given ID of process
Returns:
all correspondence root tasks
See Also:
Task

getTinyRootTaskOfJoinMember

public java.util.Vector getTinyRootTaskOfJoinMember(java.lang.String mID)
Description copied from interface: FlowService
Return Root TinyTask(s) executed by some specific member, including deputy

Specified by:
getTinyRootTaskOfJoinMember in interface FlowService
Parameters:
mID - the given member id
Returns:
all correspondence tiny root tasks
See Also:
TinyTask

getTinyRootTaskOfJoinMember

public java.util.Vector getTinyRootTaskOfJoinMember(java.lang.String mID,
                                                    java.lang.String proID)
Description copied from interface: FlowService
Return Root TinyTask(s) executed by some specific member, including deputy

Specified by:
getTinyRootTaskOfJoinMember in interface FlowService
Parameters:
mID - the given member id
proID - the given process id
Returns:
all correspondence tiny root tasks
See Also:
TinyTask

getTinyRootTaskIdListOfJoinMember

public java.util.List getTinyRootTaskIdListOfJoinMember(java.lang.String mID,
                                                        java.lang.String rootDate,
                                                        java.lang.String rootName,
                                                        java.lang.String rootState)
Description copied from interface: FlowService
Return Root TinyTask(s) executed by some specific member, including deputy

Specified by:
getTinyRootTaskIdListOfJoinMember in interface FlowService
Parameters:
mID - the given member id
rootDate - the given condition, date
rootName - the given condition, method
rootState - the given condition, state
Returns:
all correspondence tiny root tasks
See Also:
TinyTask AF-2248, by Jason

getTinyRootTaskIdListOfJoinMember

public java.util.List getTinyRootTaskIdListOfJoinMember(java.lang.String mID,
                                                        java.lang.String rootDate,
                                                        java.lang.String rootName,
                                                        java.lang.String rootState,
                                                        long fromTime,
                                                        long toTime)
Description copied from interface: FlowService
Return Root TinyTask(s) executed by some specific member, including deputy

Specified by:
getTinyRootTaskIdListOfJoinMember in interface FlowService
Parameters:
mID - the given member id
rootDate - the given condition, date
rootName - the given condition, method
rootState - the given condition, state
Returns:
all correspondence tiny root tasks
See Also:
TinyTask

getRootTaskSummaryOfJoinMember

public java.util.Vector getRootTaskSummaryOfJoinMember(java.lang.String mID,
                                                       int state)
Description copied from interface: FlowService
Return root tasks of the specific member, which tasks were initialized by member.

Specified by:
getRootTaskSummaryOfJoinMember in interface FlowService
Parameters:
mID - the given member id
state - the given state of task
Returns:
all correspondence root task (each elemen in Vector are instance of RootTaskSummary)
See Also:
RootTaskSummary

asynGetRootTaskSummaryOfJoinMember

public int asynGetRootTaskSummaryOfJoinMember(java.lang.String mID,
                                              int state)
Description copied from interface: FlowService
Return the count of root tasks of the specific member, which tasks were initialized by member.

Specified by:
asynGetRootTaskSummaryOfJoinMember in interface FlowService
Parameters:
mID - the given member id
state - the given state of task
Returns:
root task count

getAllTaskMonitoringQuantity

public int getAllTaskMonitoringQuantity(java.lang.String mID)
Description copied from interface: FlowService
Return Task Monitoring (All Tasks) quantity

Specified by:
getAllTaskMonitoringQuantity in interface FlowService
Parameters:
mID - the given member id
Returns:
Task Monitoring (All Tasks) quantity

getTaskOfMember

public java.util.Vector getTaskOfMember(java.lang.String mID)
Description copied from interface: FlowService
Return tasks executed by some specific member

Specified by:
getTaskOfMember in interface FlowService
Parameters:
mID - the given member id
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
See Also:
Task

getTaskOfMember

public java.util.Vector getTaskOfMember(java.lang.String mID,
                                        int state)
Description copied from interface: FlowService
Return tasks which in some state and executed by some specific member

Specified by:
getTaskOfMember in interface FlowService
Parameters:
mID - the given member id
state - the given state of task
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
See Also:
Task

getTaskOfProcess

public java.util.Vector getTaskOfProcess(java.lang.String pID)
Description copied from interface: FlowService
Return tasks instantiated of some specific process.

Specified by:
getTaskOfProcess in interface FlowService
Parameters:
pID - the given process id
Returns:
all correspondence tasks (each element in Vector are instance of Task)
See Also:
Task

getTaskOfProcess

public java.util.Vector getTaskOfProcess(java.lang.String pID,
                                         int state)
Description copied from interface: FlowService
Return tasks which are in some state and instantiated of some specific process.

Specified by:
getTaskOfProcess in interface FlowService
Parameters:
pID - the given process id
state - the given state of task
Returns:
all correspondence tasks (each element in Vector are instance of Task)
See Also:
Task

getRootTaskOfProcess

public java.util.Vector getRootTaskOfProcess(java.lang.String pID)
Description copied from interface: FlowService
Retrieving the root Tasks of the given DBProcess id.

Specified by:
getRootTaskOfProcess in interface FlowService
Parameters:
pID - the given process id
Returns:
all correspondence tasks (each element in Vector is a instance of Task)

getRootTaskOfProcess

public java.util.Vector getRootTaskOfProcess(java.lang.String pID,
                                             int state)
Description copied from interface: FlowService
Retrieving the root Tasks of the given DBProcess id and task state.

Specified by:
getRootTaskOfProcess in interface FlowService
Parameters:
pID - the given process id
state - the given state of task
Returns:
all correspondence tasks (each element in Vector is a instance of Task)

getSubTaskIDList

public java.util.Vector getSubTaskIDList(java.lang.String parentID)
Description copied from interface: FlowService
Return subtasks id of some specific task

Specified by:
getSubTaskIDList in interface FlowService
Parameters:
parentID - the given parent task id
Returns:
all correspondence tasks id(each elemen in Vector are instance of Task Id)

getSubTaskList

public java.util.Vector getSubTaskList(java.lang.String parentID)
Description copied from interface: FlowService
Return subtasks of some specific task

Specified by:
getSubTaskList in interface FlowService
Parameters:
parentID - the given parent task id
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
See Also:
Task

getSubTaskList

public java.util.Vector getSubTaskList(java.lang.String rootID,
                                       boolean bIncludeRootID)
Description copied from interface: FlowService
Return subtasks of some specific root task

Specified by:
getSubTaskList in interface FlowService
Parameters:
rootID - the given root task id
bIncludeRootID - the returned value contains rootTaskID
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
See Also:
Task

getTaskOfRootTask

public java.util.Vector getTaskOfRootTask(java.lang.String rootTID)
Description copied from interface: FlowService
Return tasks of some specific root task

Specified by:
getTaskOfRootTask in interface FlowService
Parameters:
rootTID - the given root task id
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
See Also:
Task

asynGetTaskOfMember

public int asynGetTaskOfMember(java.lang.String user)
Description copied from interface: FlowService
Return the task count of the specific member

Specified by:
asynGetTaskOfMember in interface FlowService
Parameters:
user - the given member id
Returns:
task count

getTaskList

public java.util.Vector getTaskList(java.lang.String user,
                                    int sc,
                                    int ec)
Description copied from interface: FlowService
Return tasks of the specific member

Specified by:
getTaskList in interface FlowService
Parameters:
user - the given member id
sc - the given start index
ec - the given end index
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
See Also:
Task

getTaskList

public java.util.Vector getTaskList(java.lang.String user)
Description copied from interface: FlowService
Return tasks of the specific member

Specified by:
getTaskList in interface FlowService
Parameters:
user - the given member id
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
See Also:
Task

getGroupSignTinyTaskList

public java.util.Vector getGroupSignTinyTaskList(java.lang.String mID)
Description copied from interface: FlowService
Return all groupsign tasks of some specific member.

Specified by:
getGroupSignTinyTaskList in interface FlowService
Parameters:
mID - the given member id
Returns:
the correspondence vector of TinyTask
See Also:
TinyTask

getTinyTask

public TinyTask getTinyTask(Task task,
                            java.lang.String mID)
Description copied from interface: FlowService
Return tasks of the specific member

Specified by:
getTinyTask in interface FlowService
mID - the given member id
Returns:
all correspondence tasks (each element in Vector are instance of TinyTask)
See Also:
TinyTask

getTinyTaskList

public java.util.Vector getTinyTaskList(java.lang.String user)
Description copied from interface: FlowService
Return tasks of the specific member

Specified by:
getTinyTaskList in interface FlowService
Parameters:
user - the given member id
Returns:
all correspondence tasks (each element in Vector are instance of TinyTask)
See Also:
TinyTask

getAllTinyTaskList

public java.util.Vector getAllTinyTaskList(java.lang.String user)
Description copied from interface: FlowService
Return tasks of the specific member

Specified by:
getAllTinyTaskList in interface FlowService
Parameters:
user - the given member id
Returns:
all(mem and exe) correspondence tasks (each element in Vector are instance of TinyTask)
See Also:
TinyTask

getAllClassificationTaskOfMember

public java.util.HashMap getAllClassificationTaskOfMember(java.lang.String user,
                                                          java.lang.String type,
                                                          boolean useClassificationBox,
                                                          int sortType,
                                                          java.lang.String sortOrder)
Description copied from interface: FlowService
Return tasks of the specific member

Specified by:
getAllClassificationTaskOfMember in interface FlowService
Parameters:
user - the given member id
Returns:
all correspondence tasks (each element in Vector are instance of TinyTask)
See Also:
TinyTask

getTinyTaskList

public java.util.Vector getTinyTaskList(java.lang.String mID,
                                        int sc,
                                        int ec,
                                        java.lang.String order)
Description copied from interface: FlowService
Return tasks of the specific member

Specified by:
getTinyTaskList in interface FlowService
Parameters:
mID - the given Member ID
sc - the given start index
ec - the given end index
order - the given field name to order
Returns:
all correspondence tasks (each elemen in Vector are instance of TinyTask)
See Also:
TinyTask

getAllTinyTaskList

public java.util.Vector getAllTinyTaskList(java.lang.String mID,
                                           int sc,
                                           int ec,
                                           java.lang.String order)
Description copied from interface: FlowService
Return tasks of the specific member

Specified by:
getAllTinyTaskList in interface FlowService
Parameters:
mID - the given Member ID
sc - the given start index
ec - the given end index
order - the given field name to order
Returns:
all(mem and exe) correspondence tasks (each elemen in Vector are instance of TinyTask)
See Also:
TinyTask

getTinyTaskList

public java.util.Vector getTinyTaskList(java.lang.String mID,
                                        java.util.List idList)
Description copied from interface: FlowService
Return tasks of the specific member and tasks

Specified by:
getTinyTaskList in interface FlowService
Parameters:
mID - the given member id
Returns:
all correspondence tasks (each elemen in Vector are instance of TinyTask)
See Also:
TinyTask

getTinyTaskIdListTracked

public java.util.List getTinyTaskIdListTracked(java.lang.String mID,
                                               java.util.List idList,
                                               java.lang.String state)
Description copied from interface: FlowService
Return tasks of the specific member and tasks

Specified by:
getTinyTaskIdListTracked in interface FlowService
Parameters:
mID - the given member id
state - the given task state
Returns:
all correspondence tasks (each elemen in Vector are instance of TinyTask)
See Also:
TinyTask AF-2248

getTaskIDListOfMember

public java.util.Vector getTaskIDListOfMember(java.lang.String mID,
                                              int sc,
                                              int ec,
                                              java.lang.String order)
Description copied from interface: FlowService
Return task ID list of the specific member

Specified by:
getTaskIDListOfMember in interface FlowService
Parameters:
mID - the given member id
sc - the given start index
ec - the given end index
order - the given field name to order
Returns:
all correspondence task ID(each elemen in Vector are instance of Task ID)

getAllTaskIDListOfMember

public java.util.Vector getAllTaskIDListOfMember(java.lang.String mID,
                                                 int beginIndex,
                                                 int endIndex,
                                                 java.lang.String order)
Description copied from interface: FlowService
Return task ID list of the specific member

Specified by:
getAllTaskIDListOfMember in interface FlowService
beginIndex - the given start index
endIndex - the given end index
Returns:
all correspondence task ID(each elemen in Vector are instance of Task ID)

getAllTaskIDListForPage

public java.util.Vector getAllTaskIDListForPage(java.lang.String mID,
                                                int beginIndex,
                                                int pagecount,
                                                java.lang.String order)
Specified by:
getAllTaskIDListForPage in interface FlowService

getTaskNumberOfMember

public int getTaskNumberOfMember(java.lang.String mID)
Specified by:
getTaskNumberOfMember in interface FlowService

getAllAgentTaskIDListOfMember

public java.util.Vector getAllAgentTaskIDListOfMember(java.lang.String mID,
                                                      int beginIndex,
                                                      int endIndex,
                                                      java.lang.String order)
Specified by:
getAllAgentTaskIDListOfMember in interface FlowService

getTreeTaskList

public java.util.HashMap getTreeTaskList(java.lang.String user)
Description copied from interface: FlowService
Return tasks of the specific member

Specified by:
getTreeTaskList in interface FlowService
Parameters:
user - the given member id
Returns:
tree-structure HashMap
See Also:
ProcessTask

getProcessList

public java.util.Vector getProcessList(java.lang.String userID)
Description copied from interface: FlowService
Return processes of the specific member, which these processes could be initialized by member.

Specified by:
getProcessList in interface FlowService
Parameters:
userID - the given member id
Returns:
all correspondence processes (each elemen in Vector are instance of PASEProcess)
See Also:
PASEProcess

updateTask

public boolean updateTask(Task t)
Description copied from interface: FlowService
Update the data object of task. The method will update the task in cache and database.

Specified by:
updateTask in interface FlowService
Parameters:
t - the given task
Returns:
true for success
See Also:
Task

updateTaskState

public boolean updateTaskState(Task t)
Description copied from interface: FlowService
Update the state of task. The method will update the task state in cache and database.

Specified by:
updateTaskState in interface FlowService
Parameters:
t - the given task
Returns:
true for success
See Also:
Task

getCSTaskNote

public java.util.HashMap getCSTaskNote(java.lang.String tskID)
Description copied from interface: FlowService
Get all CSTask information for the specified task. The value of key "data" is not null when the value of key "retValue" is Boolean.TRUE.

Specified by:
getCSTaskNote in interface FlowService
Parameters:
tskID - the given task id
Returns:
the result ( [Key:Value] = [data:AllCSTaskNote(String)] ; [retValue:Boolean(true/false)])

getAllCSTaskNote

public java.util.Collection getAllCSTaskNote(java.lang.String taskID)
Description copied from interface: FlowService
Returns all CS tasks' note that were written before the given task.

Specified by:
getAllCSTaskNote in interface FlowService
Parameters:
taskID - the given task id
Returns:
the CSResultData objects collection

getATaskNote

public java.util.HashMap getATaskNote(java.lang.String tskID)
Description copied from interface: FlowService
Get all ATask information for the specified root task. The value of key "data" is not null when the value of key "retValue" is Boolean.TRUE.

Specified by:
getATaskNote in interface FlowService
Parameters:
tskID - the given task id
Returns:
the result ( [Key:Value] = [data:AllATaskNote(String)] ; [retValue:Boolean(true/false)])

getSequelProIDList

public java.util.Vector getSequelProIDList(java.lang.String pID,
                                           java.lang.String rootTaskID)
Description copied from interface: FlowService
Get all call processes ID list in this RootTask.

Specified by:
getSequelProIDList in interface FlowService
Parameters:
pID - the given call process id
rootTaskID - the given root task id
Returns:
the correspodence process ID instances(each element in Vector are instance of ProcessID)

getCSLockHashtable

public java.util.Hashtable getCSLockHashtable()
Description copied from interface: FlowService
Get the hashtable keep the information about locked countersign tasks.

Specified by:
getCSLockHashtable in interface FlowService
Returns:
the Hashtable, which stores the pair of (rootTaskID+ProcessID:taskID).

getGroupSignProcess

public java.util.Vector getGroupSignProcess(java.lang.String memID)

getUncompletePATaskNo

public int getUncompletePATaskNo(Task parentTask)
Description copied from interface: FlowService
Calculate the tasks count which tasks are "Add Parallel Announce" and are complete under the specified task.

Specified by:
getUncompletePATaskNo in interface FlowService
Parameters:
parentTask - the given parent task
Returns:
the tasks count.
See Also:
Task

getTaskOfCompany

public java.util.Vector getTaskOfCompany()
Description copied from interface: FlowService
Get all tasks.

Specified by:
getTaskOfCompany in interface FlowService
Returns:
the correspodence task instances(each element in Vector are instance of Task)
See Also:
Task

getTaskOfCompany

public java.util.Vector getTaskOfCompany(int state)
Description copied from interface: FlowService
Get tasks with the specified task states.

Specified by:
getTaskOfCompany in interface FlowService
Parameters:
state - the given state of task
Returns:
the correspodence task instances(each element in Vector are instance of Task)
See Also:
Task

getTaskOfDepartment

public java.util.Vector getTaskOfDepartment(java.lang.String dID)
Description copied from interface: FlowService
Get all tasks for the specified department.

Specified by:
getTaskOfDepartment in interface FlowService
Parameters:
dID - the given department id
Returns:
the correspodence task instances(each element in Vector are instance of Task)
See Also:
Task

getTaskOfDepartment

public java.util.Vector getTaskOfDepartment(java.lang.String dID,
                                            int state)
Description copied from interface: FlowService
Get tasks for the specified department, with the specified task states.

Specified by:
getTaskOfDepartment in interface FlowService
Parameters:
dID - the given department id
state - the given state of task
Returns:
the correspodence task instances(each element in Vector are instance of Task)
See Also:
Task

getTaskOfRole

public java.util.Vector getTaskOfRole(java.lang.String rID)
Description copied from interface: FlowService
Get all tasks for the specified role.

Specified by:
getTaskOfRole in interface FlowService
Parameters:
rID - the given role id
Returns:
the correspodence task instances(each element in Vector are instance of Task)
See Also:
Task

getTaskOfRole

public java.util.Vector getTaskOfRole(java.lang.String rID,
                                      int state)
Description copied from interface: FlowService
Get tasks for the specified role, with the specified task states.

Specified by:
getTaskOfRole in interface FlowService
Parameters:
rID - the given role id
Returns:
the correspodence task instances(each element in Vector are instance of Task)
See Also:
Task

getHistoryRootTaskOfJoinMember

public java.util.Vector getHistoryRootTaskOfJoinMember(java.lang.String mbrID)
Description copied from interface: FlowService
Get root tasks that there are any sub-task are executed by the specified member.

Specified by:
getHistoryRootTaskOfJoinMember in interface FlowService
Parameters:
mbrID - the given member id
Returns:
the correspodence root task instances(each element in Vector are instance of Task)
See Also:
Task

getApprovalHistoryRootTaskOfJoinMember

public java.util.Vector getApprovalHistoryRootTaskOfJoinMember(java.lang.String mbrID)
Description copied from interface: FlowService
Get root tasks that there are any sub-task are executed by the specified member, where the task member and the task executor are the same.

Specified by:
getApprovalHistoryRootTaskOfJoinMember in interface FlowService
Returns:
the correspodence root task instances(each element in Vector are instance of Task)
See Also:
Task

getRequestHistoryRootTaskOfJoinMember

public java.util.Vector getRequestHistoryRootTaskOfJoinMember(java.lang.String mbrID)
Description copied from interface: FlowService
Get root tasks that are initializied by the specified member

Specified by:
getRequestHistoryRootTaskOfJoinMember in interface FlowService
Parameters:
mbrID - the given member id
Returns:
the correspodence root task instances(each element in Vector are instance of Task)
See Also:
Task

getProcessDiagram

public java.util.HashMap getProcessDiagram(java.lang.String rootPID,
                                           java.lang.String rootTaskID)
Description copied from interface: FlowService
Return a process diagram

Specified by:
getProcessDiagram in interface FlowService
Parameters:
rootPID - the given root proccess id
rootTaskID - the given root task id
Returns:
the process diagram
See Also:
PDiagramManager, PDiagramManager.getProcessDiagram

getPDiagramState

public java.util.HashMap getPDiagramState(java.lang.String rootTID)
Description copied from interface: FlowService
Return the states of process diagram

Specified by:
getPDiagramState in interface FlowService
Parameters:
rootTID - the given root task id
Returns:
the process diagram states
See Also:
PDiagramManager, PDiagramManager.getPDiagramState

getProcessDiagramAndState

public java.util.HashMap getProcessDiagramAndState(java.lang.String rootPID,
                                                   java.lang.String rootTaskID)
Description copied from interface: FlowService
Return a process diagram and its states

Specified by:
getProcessDiagramAndState in interface FlowService
Parameters:
rootPID - the given root process id
rootTaskID - the given root task id
Returns:
the process diagram and its states
See Also:
PDiagramManager

getProcessView

public java.util.HashMap getProcessView(java.lang.String rootPID)
Specified by:
getProcessView in interface FlowService

getPDiagramDetail

public java.util.Vector getPDiagramDetail(java.lang.String rootTID)
Description copied from interface: FlowService
Return the detail of process diagram

Specified by:
getPDiagramDetail in interface FlowService
Parameters:
rootTID - the given root task id
Returns:
the detail information in process diagram
See Also:
PDiagramManager, PDiagramManager.getPDiagramDetail

getTinyPDiagramDetail

public java.util.Vector getTinyPDiagramDetail(java.lang.String rootTID,
                                              java.lang.String memID)
Description copied from interface: FlowService
Return the detail of process diagram

Specified by:
getTinyPDiagramDetail in interface FlowService
Parameters:
rootTID - the given root task id
memID - the given member Id for permission check
Returns:
the detail information in process diagram
See Also:
PDiagramManager, PDiagramManager.getPDiagramDetail

getArtInstance

public PASEartInstance getArtInstance(java.lang.String iID)
Description copied from interface: FlowService
Return a data object of artifact instance with current Task

Specified by:
getArtInstance in interface FlowService
Parameters:
iID - the given ArtifactInstanceID
Returns:
the artifact instance
See Also:
getArtInstance

getArtInstance

public PASEartInstance getArtInstance(java.lang.String iID,
                                      java.lang.String tID)
Description copied from interface: FlowService
Return a data object of artifact instance with specific task

Specified by:
getArtInstance in interface FlowService
Parameters:
iID - the given ArtifactInstanceID
Returns:
the artifact instance
See Also:
getArtInstance

setArtInsState

public boolean setArtInsState(PASEartInstance artInstance,
                              java.lang.String stateID)
Description copied from interface: FlowService
Return true for success, else false

Specified by:
setArtInsState in interface FlowService
Parameters:
artInstance - the given PASEartInstance, stateID for ArtStateID
Returns:
true for success, else false
See Also:
getArtInstance

getArtInstanceOfArtifact

public java.util.Vector getArtInstanceOfArtifact(java.lang.String aID)
Description copied from interface: FlowService
Return all artifact instances instanciated by some specific artifact.

Specified by:
getArtInstanceOfArtifact in interface FlowService
Parameters:
aID - the given ArtifactID
Returns:
the correspodence artifact instances(each element in Vector are instance of PASEartInstance)
See Also:
PASEartInstance

updateArtInstance

public boolean updateArtInstance(java.lang.String tID,
                                 PASEartInstance instance)
Description copied from interface: FlowService
Update artifact instance

Specified by:
updateArtInstance in interface FlowService
Parameters:
tID - the given task id
instance - the given PASEartInstance
Returns:
true for success, else false
See Also:
PASEartInstance

updateArtInstance

public boolean updateArtInstance(PASEartInstance instance)
Description copied from interface: FlowService
Update artifact instance Notice: Artifact instance is carrying artifact state information. If the state of instance parameter is not the same as current instance, current instance will not be updated with parameter instance. Use updateArtInstanceLog(java.lang.String tID, PASEartInstance instance) method instead. This behavior is for protecting those processes which are not completed yet. Update artifact instance with wrong artifact state could damage process routing.

Specified by:
updateArtInstance in interface FlowService
Parameters:
instance - the given PASEartInstance
Returns:
true for success, else false
See Also:
PASEartInstance

updateArtInstanceLog

public boolean updateArtInstanceLog(java.lang.String tID,
                                    PASEartInstance instance)
Description copied from interface: FlowService
Update artifact instance log

Specified by:
updateArtInstanceLog in interface FlowService
Parameters:
tID - the given task id
instance - the given PASEartInstance
Returns:
true for success, else false
See Also:
PASEartInstance

createArtInstance

public PASEartInstance createArtInstance(java.lang.String tID,
                                         java.lang.String aID)
Specified by:
createArtInstance in interface FlowService
Parameters:
tID - the given TaskID
Returns:
the artifact instance
See Also:
PASEartInstance

createArtInstance

public PASEartInstance createArtInstance(java.lang.String aID)
Description copied from interface: FlowService
Create artifact instance

Specified by:
createArtInstance in interface FlowService
Returns:
the artifact instance
See Also:
PASEartInstance

createFreqArtInstance

public PASEartInstance createFreqArtInstance(java.lang.String aID)
Description copied from interface: FlowService
Create artifact instance, for FreqAp use

Specified by:
createFreqArtInstance in interface FlowService
Parameters:
aID - the given ArtifactID
Returns:
the artifact instance
See Also:
PASEartInstance

getTranslateArtInsList

public java.util.Vector getTranslateArtInsList(java.lang.String artID)
Description copied from interface: FlowService
Get all PASEArtInstance data for the specified artifact.

Specified by:
getTranslateArtInsList in interface FlowService
Parameters:
artID - the given ArtifactID
Returns:
all correspondence artifact instances (each elemen in Vector are instance of TranslateArtIns)
See Also:
TranslateArtIns

addMonitorRelation

public boolean addMonitorRelation(java.lang.String sourceTaskID,
                                  java.lang.String createdRootTaskID)
Description copied from interface: FlowService
Add task monitor relation, store root task ID and those created root task ID when executed.

Specified by:
addMonitorRelation in interface FlowService
Parameters:
sourceTaskID - the given RootTaskID
createdRootTaskID - the given created RootTaskID
Returns:
true if the execution is successful; false otherwise.

addMonitorRelation

public boolean addMonitorRelation(java.lang.String sourceTaskID,
                                  java.util.Vector createdRootTaskIDs)
Description copied from interface: FlowService
Add task monitor relation, store root task ID and those created root task ID when executed.

Specified by:
addMonitorRelation in interface FlowService
Parameters:
sourceTaskID - the given RootTaskID
createdRootTaskIDs - the given created RootTaskID list
Returns:
true if the execution is successful; false otherwise.

setMonitorRelation

public boolean setMonitorRelation(java.lang.String sourceTaskID,
                                  java.lang.String createdRootTaskID)
Description copied from interface: FlowService
Set task monitor relation, store root task ID and those created root task ID when executed.

Specified by:
setMonitorRelation in interface FlowService
Parameters:
sourceTaskID - the given RootTaskID
Returns:
true if the execution is successful; false otherwise.

setMonitorRelation

public boolean setMonitorRelation(java.lang.String sourceTaskID,
                                  java.util.Vector createdRootTaskIDs)
Description copied from interface: FlowService
Set task monitor relation, store root task ID and those created root task ID when executed.

Specified by:
setMonitorRelation in interface FlowService
Parameters:
sourceTaskID - the given RootTaskID
createdRootTaskIDs - the given created RootTaskID list
Returns:
true if the execution is successful; false otherwise.

parseAddASResultString

public java.util.Vector parseAddASResultString(java.lang.String result)
Description copied from interface: FlowService
Parse the countersign result string to CSResultData

Specified by:
parseAddASResultString in interface FlowService
Parameters:
result - the given countersign result string
Returns:
all correspondence countersign result instances (each elemen in Vector are instance of CSResultData)
See Also:
CSResultData

parseCSResultString

public java.util.Vector parseCSResultString(java.lang.String result,
                                            java.util.List auditNameList)
Description copied from interface: FlowService
Parse the countersign result string to CSResultData

Specified by:
parseCSResultString in interface FlowService
Parameters:
result - the given countersign result string
auditNameList - the given auditing member list(each elemen in Vector are instance of String[3], String[0] for MemberID, String[1] for RoleID, String[2] for DepartmentID)
Returns:
all correspondence countersign result instances (each elemen in Vector are instance of CSResultData)
See Also:
CSResultData

getAllCSSignResult

public java.util.Vector getAllCSSignResult(java.util.Vector parseTaskList)
Specified by:
getAllCSSignResult in interface FlowService

getAllCSSignResult

public java.util.Vector getAllCSSignResult(java.lang.String result,
                                           CSTask csTask,
                                           java.lang.String csSignResult,
                                           java.util.Vector auditList)
Specified by:
getAllCSSignResult in interface FlowService

getInvolvedMembers

public java.util.Vector getInvolvedMembers(java.lang.String rootTaskID)
Description copied from interface: FlowService
Get involved members of Root process

Specified by:
getInvolvedMembers in interface FlowService
Parameters:
rootTaskID - the given RootTaskID
Returns:
the member ID list.

getInvolvedExecutors

public java.util.Vector getInvolvedExecutors(java.lang.String rootTaskID)
Description copied from interface: FlowService
Get involved executors of Root process

Specified by:
getInvolvedExecutors in interface FlowService
Parameters:
rootTaskID - the given RootTaskID
Returns:
the member ID list.

runScriptOnServer

public void runScriptOnServer(java.lang.String code,
                              Task t)
Description copied from interface: FlowService
Execute script on the specified task

Specified by:
runScriptOnServer in interface FlowService
Parameters:
code - the given script context
t - the given Task
See Also:
Task

getAddSignTaskList

public java.util.Vector getAddSignTaskList(java.lang.String signTaskId)
Description copied from interface: FlowService
get sign task list of the same singTaskId

Specified by:
getAddSignTaskList in interface FlowService
Parameters:
signTaskId - signTaskId;
Returns:
Vector a task list @

getAllAddASResult

public java.util.Collection getAllAddASResult(java.lang.String taskId)
Description copied from interface: FlowService
Returns all add AS result that were written before the given task.

Specified by:
getAllAddASResult in interface FlowService
Returns:
the AddCSResultData objects collection @

getAllIapSignResult

public java.util.Collection getAllIapSignResult(java.lang.String taskId)
Description copied from interface: FlowService
Returns all iap sign result that were written before the given task.

Specified by:
getAllIapSignResult in interface FlowService
Returns:
the IapSignResultData objects collection @

isAfterIapGoBackToProAndReturn

public boolean isAfterIapGoBackToProAndReturn(java.lang.String taskId)
Description copied from interface: FlowService
Returns @param host a host address.

Specified by:
isAfterIapGoBackToProAndReturn in interface FlowService
Parameters:
taskId - a task id.
Returns:
boolean as given task is after IAP GoBackToAndReturn.

getAllProSignResult

public java.util.Collection getAllProSignResult(java.lang.String taskId)
Description copied from interface: FlowService
Returns all pro sign result that were written before the given task.

Specified by:
getAllProSignResult in interface FlowService
Parameters:
taskId - the given task id
Returns:
the ProSignResultData objects collection @

getSignResultOfTask

public java.util.Collection getSignResultOfTask(java.lang.String taskID)
Description copied from interface: FlowService
Returns all sign result that were written before

Specified by:
getSignResultOfTask in interface FlowService
Parameters:
taskID - the given task id
Returns:
the SignResultData Objects collection

getIapRulePatterns

public java.util.Vector<java.util.Vector<IapRulePattern>> getIapRulePatterns(java.lang.String iapId)
Description copied from interface: FlowService
Returns all add AS result that were written before the given task.

Specified by:
getIapRulePatterns in interface FlowService
Returns:
the iap rule pattern objects collection.

getFreqMessageByMbrId

public java.util.Vector getFreqMessageByMbrId(java.lang.String mbrId)
Specified by:
getFreqMessageByMbrId in interface FlowService

getScriptLibrary

public java.lang.String getScriptLibrary(java.lang.String fullname)
Description copied from interface: FlowService
Get Script Library by name

Specified by:
getScriptLibrary in interface FlowService
Parameters:
fullname - the given script library name
Returns:
script of the library

callServerSideScriptFunction

public java.lang.Object callServerSideScriptFunction(java.lang.String library,
                                                     java.lang.String function,
                                                     java.lang.Object[] args)
Description copied from interface: FlowService
Call function on server-side script

Specified by:
callServerSideScriptFunction in interface FlowService
Parameters:
library - the given script library
function - the function name
args - the arguments
Returns:
Object of the called function

reScheduleTask

public void reScheduleTask(Task task)
Description copied from interface: FlowService
Reschedule the task Cron Event(s)

Specified by:
reScheduleTask in interface FlowService
Parameters:
task - the Task

reScheduleTaskExcludeNonOfficeHour

public void reScheduleTaskExcludeNonOfficeHour(Task task)
Description copied from interface: FlowService
Reschedule the task Cron Event(s) that exclude the Non-Office-Hour.

Specified by:
reScheduleTaskExcludeNonOfficeHour in interface FlowService
Parameters:
task - the Task

reScheduleTaskIncludeNonOfficeHour

public void reScheduleTaskIncludeNonOfficeHour(Task task)
Description copied from interface: FlowService
Reschedule the task Cron Event(s) that include the Non-Office-Hour.

Specified by:
reScheduleTaskIncludeNonOfficeHour in interface FlowService
Parameters:
task - the Task

getCPTaskIDList

public java.util.Vector getCPTaskIDList(java.lang.String cProID,
                                        java.lang.String frontTaskID)
Description copied from interface: FlowService
Get the root task id list which created by the CreateProcess with the specified CreateProcess id and front task id. This method will be used in the PreAction and PostAction of the CreateProcess only.

Specified by:
getCPTaskIDList in interface FlowService
Parameters:
cProID - the CreateProcess id
frontTaskID - the front task id
Returns:
the root task id list

getAllTskIDListByGPro

public java.util.Vector getAllTskIDListByGPro(java.lang.String gProID,
                                              java.lang.String frontTaskID)
Description copied from interface: FlowService
Get the ids of root task list which will trigger the GatherProcess This method will be used in the PreAction and PostAction of the GatherProcess only.

Specified by:
getAllTskIDListByGPro in interface FlowService
Parameters:
gProID - the GatherProcess id
frontTaskID - the front task id
Returns:
the root task id list

getCollectedTskIDListByGPro

public java.util.Vector getCollectedTskIDListByGPro(java.lang.String gProID,
                                                    java.lang.String frontTaskID)
Description copied from interface: FlowService
Get the ids of root task list which has triggered the GatherProcess This method will be used in the PreAction and PostAction of the GatherProcess only.

Specified by:
getCollectedTskIDListByGPro in interface FlowService
Parameters:
gProID - the GatherProcess id
frontTaskID - the front task id
Returns:
the root task id list

isATaskComplete

public boolean isATaskComplete(Task t)
Specified by:
isATaskComplete in interface FlowService

isCSTaskComplete

public boolean isCSTaskComplete(Task t)
Specified by:
isCSTaskComplete in interface FlowService

getCSSignInfo

public CSSignInfo getCSSignInfo(Task task)
Specified by:
getCSSignInfo in interface FlowService

saveAFTVElementVO

public boolean saveAFTVElementVO(AFTVElementVO vo)
Specified by:
saveAFTVElementVO in interface FlowService

removeAFTVElementVO

public boolean removeAFTVElementVO(java.lang.String subject,
                                   java.lang.String item)
Specified by:
removeAFTVElementVO in interface FlowService

getPumpTaskList

public java.util.List getPumpTaskList(java.lang.String rootID)
Specified by:
getPumpTaskList in interface FlowService

getPumpTaskList

public java.util.List getPumpTaskList(java.lang.String rootID,
                                      java.lang.String memberID)
Specified by:
getPumpTaskList in interface FlowService

getTaskMonitorRelationByRoot

public TaskMonitorRelation getTaskMonitorRelationByRoot(java.lang.String rootTskID)
Description copied from interface: FlowService
Get the task relation info of create process by the rootTask was triggered

Specified by:
getTaskMonitorRelationByRoot in interface FlowService
Parameters:
rootTskID - the given task id
Returns:
task relation info.

getIapRuleOfTask

public java.util.Vector<IapRulePattern> getIapRuleOfTask(java.lang.String iapProcessId,
                                                         java.util.List<java.lang.String> taskIdList)
Description copied from interface: FlowService
Get the IapRulePatterna list gainst given task list

Specified by:
getIapRuleOfTask in interface FlowService
Parameters:
iapProcessId - the IAP process id
Returns:
List of IapRulePattern id.

retrieveAgentTask

public boolean retrieveAgentTask(java.lang.String taskID,
                                 java.lang.String memberID)
Specified by:
retrieveAgentTask in interface FlowService

getRMItem

public RMItem getRMItem(java.lang.String rmitemID)
Specified by:
getRMItem in interface FlowService

updateBookingEvent

public boolean updateBookingEvent(BookingEvent bookingEvent)
Specified by:
updateBookingEvent in interface FlowService

addBookingEvent

public java.lang.String addBookingEvent(BookingEvent bookingEvent)
Specified by:
addBookingEvent in interface FlowService

deleteBookingEvent

public boolean deleteBookingEvent(BookingEvent bookingEvent)
Specified by:
deleteBookingEvent in interface FlowService

getAllRMCategory

public java.util.Vector getAllRMCategory()
Specified by:
getAllRMCategory in interface FlowService

getAllRMCategory

public java.util.Vector getAllRMCategory(MemberRecord user)
Specified by:
getAllRMCategory in interface FlowService

getAllRMItemOfCategory

public java.util.Vector getAllRMItemOfCategory(java.lang.String categoryID)
Specified by:
getAllRMItemOfCategory in interface FlowService

getAllRMItemOfCategory

public java.util.Vector getAllRMItemOfCategory(java.lang.String categoryID,
                                               MemberRecord user)
Specified by:
getAllRMItemOfCategory in interface FlowService

getBookingEvent

public BookingEvent getBookingEvent(java.lang.String bookingEventID)
Specified by:
getBookingEvent in interface FlowService

getBookingEventsInRange

public java.util.Vector getBookingEventsInRange(java.util.Date startTime,
                                                java.util.Date endTime,
                                                java.lang.String category,
                                                java.lang.String item,
                                                MemberRecord user)
Specified by:
getBookingEventsInRange in interface FlowService

getBookingEventsInRange

public java.util.Vector getBookingEventsInRange(RMSearchCondition cond)
Specified by:
getBookingEventsInRange in interface FlowService

isOverlappingBookingEvent

public boolean isOverlappingBookingEvent(BookingEvent bookingEvent)
Specified by:
isOverlappingBookingEvent in interface FlowService

createRMRepeatRule

public java.lang.String createRMRepeatRule(RMRepeatRule repeatRule)
Specified by:
createRMRepeatRule in interface FlowService

updateRMRepeatRule

public boolean updateRMRepeatRule(RMRepeatRule repeatRule)
Specified by:
updateRMRepeatRule in interface FlowService

autoUpdateRMRepeatRuleTime

public boolean autoUpdateRMRepeatRuleTime(java.lang.String ruleID)
Specified by:
autoUpdateRMRepeatRuleTime in interface FlowService

deleteRMRepeatRule

public boolean deleteRMRepeatRule(RMRepeatRule repeatRule)
Specified by:
deleteRMRepeatRule in interface FlowService

deleteBookingEventByRepeatRule

public boolean deleteBookingEventByRepeatRule(RMRepeatRule repeatRule)
Specified by:
deleteBookingEventByRepeatRule in interface FlowService

deleteBookingEventByRepeatRuleAfterDate

public boolean deleteBookingEventByRepeatRuleAfterDate(RMRepeatRule repeatRule,
                                                       java.util.Date date,
                                                       boolean isUpdateRule)
Specified by:
deleteBookingEventByRepeatRuleAfterDate in interface FlowService

isOverlappingBookingEventRule

public boolean isOverlappingBookingEventRule(BookingEvent bookingEvent,
                                             java.lang.String ruleID)
Specified by:
isOverlappingBookingEventRule in interface FlowService

getPortalImage

public Image getPortalImage(java.lang.String imageID)
Specified by:
getPortalImage in interface FlowService

getPortalImageList

public java.util.Vector getPortalImageList(java.lang.String type,
                                           java.lang.String comId,
                                           java.lang.String portletID)
Specified by:
getPortalImageList in interface FlowService

updatePortalImage

public boolean updatePortalImage(Image image)
Specified by:
updatePortalImage in interface FlowService

deletePortalImage

public boolean deletePortalImage(java.lang.String imageID)
Specified by:
deletePortalImage in interface FlowService

createPortalImage

public java.lang.String createPortalImage(Image image,
                                          java.lang.String portletID)
Specified by:
createPortalImage in interface FlowService

createMarquee

public java.lang.String createMarquee(Marquee marquee,
                                      java.lang.String parentID)
Specified by:
createMarquee in interface FlowService

updateMarquee

public boolean updateMarquee(Marquee marquee)
Specified by:
updateMarquee in interface FlowService

getMarquee

public Marquee getMarquee(java.lang.String parentID)
Specified by:
getMarquee in interface FlowService

getMarqueeConfig

public Marquee getMarqueeConfig(java.lang.String marqueeID)
Specified by:
getMarqueeConfig in interface FlowService

createMarqueeData

public java.lang.String createMarqueeData(Marquee marquee,
                                          boolean isUploadImage)
Specified by:
createMarqueeData in interface FlowService

deleteMarqueeData

public boolean deleteMarqueeData(java.lang.String marqueeDataID)
Specified by:
deleteMarqueeData in interface FlowService

updateMarqueeData

public boolean updateMarqueeData(Marquee marquee,
                                 boolean isUploadImage)
Specified by:
updateMarqueeData in interface FlowService

getMarqueeData

public Marquee getMarqueeData(java.lang.String marqueeDataID)
Specified by:
getMarqueeData in interface FlowService

getMarqueeDataList

public java.util.Vector<Marquee> getMarqueeDataList(java.lang.String marqueeID)
Specified by:
getMarqueeDataList in interface FlowService

orderMarqueeDataList

public boolean orderMarqueeDataList(java.util.HashMap<java.lang.String,java.lang.String> mapMarqueesDataId)
Specified by:
orderMarqueeDataList in interface FlowService

updateMarqueeRange

public boolean updateMarqueeRange(java.lang.String rangeEditList,
                                  java.lang.String comID)
Specified by:
updateMarqueeRange in interface FlowService

updateOutLinkByPortletID

public boolean updateOutLinkByPortletID(Link link)
Specified by:
updateOutLinkByPortletID in interface FlowService

getOutLinkByPortletID

public Link getOutLinkByPortletID(java.lang.String PortletId,
                                  java.lang.String comId)
Specified by:
getOutLinkByPortletID in interface FlowService

creatOutLinkByPortletID

public boolean creatOutLinkByPortletID(Link link)
Specified by:
creatOutLinkByPortletID in interface FlowService

deleteOutLinkByPortletID

public boolean deleteOutLinkByPortletID(java.lang.String portletID)
Specified by:
deleteOutLinkByPortletID in interface FlowService

getQuickVote

public java.util.Vector getQuickVote(java.lang.String themeId)
Specified by:
getQuickVote in interface FlowService

getQuickVoteThemeOfPortlet

public QuickVote getQuickVoteThemeOfPortlet(java.lang.String portletId,
                                            java.lang.String comId)
Specified by:
getQuickVoteThemeOfPortlet in interface FlowService

updateQuickVote

public boolean updateQuickVote(QuickVote quickVote)
Specified by:
updateQuickVote in interface FlowService

creatQuickVote

public boolean creatQuickVote(QuickVote quickVote)
Specified by:
creatQuickVote in interface FlowService

creatQuickVoteTheme

public java.lang.String creatQuickVoteTheme(QuickVote quickVote)
Specified by:
creatQuickVoteTheme in interface FlowService

deleteQuickVote

public boolean deleteQuickVote(java.lang.String quickVoteId)
Specified by:
deleteQuickVote in interface FlowService

deleteQuickVoteTheme

public boolean deleteQuickVoteTheme(java.lang.String quickVoteThemeId)
Specified by:
deleteQuickVoteTheme in interface FlowService

getAllQuickVoteThemeID

public java.util.Vector<java.lang.String> getAllQuickVoteThemeID()
Specified by:
getAllQuickVoteThemeID in interface FlowService

createRMItem

public java.lang.String createRMItem(RMItem item)
Specified by:
createRMItem in interface FlowService

deleteRMItem

public boolean deleteRMItem(RMItem item)
Specified by:
deleteRMItem in interface FlowService

getRMManageInfo

public RMManageInfo getRMManageInfo(java.lang.String comID)
Specified by:
getRMManageInfo in interface FlowService

getAllRMManageInfoByComIDs

public java.util.List<RMManageInfo> getAllRMManageInfoByComIDs(java.util.List<java.lang.String> comIDs)
Specified by:
getAllRMManageInfoByComIDs in interface FlowService

updateRMItem

public boolean updateRMItem(RMItem item)
Specified by:
updateRMItem in interface FlowService

updateRMManageInfo

public boolean updateRMManageInfo(RMManageInfo manageInfo)
Specified by:
updateRMManageInfo in interface FlowService

getCategory

public RMItem getCategory(java.lang.String categoryID)
Specified by:
getCategory in interface FlowService

hasEventOfCategory

public boolean hasEventOfCategory(java.lang.String categoryID)
Specified by:
hasEventOfCategory in interface FlowService

hasEventOfItem

public boolean hasEventOfItem(java.lang.String itemID)
Specified by:
hasEventOfItem in interface FlowService

insertEIPLayout

public boolean insertEIPLayout(EIPLayout eipLayout)
Specified by:
insertEIPLayout in interface FlowService

getQuickCustomizedOfPortlet

public java.util.Vector getQuickCustomizedOfPortlet(java.lang.String portletID,
                                                    java.lang.String CompanyID)
Specified by:
getQuickCustomizedOfPortlet in interface FlowService

getQuickCustomizedOfCatID

public java.util.Vector getQuickCustomizedOfCatID(java.lang.String catID)
Specified by:
getQuickCustomizedOfCatID in interface FlowService

getQuickCustomizedLinkOfCatID

public java.util.Vector getQuickCustomizedLinkOfCatID(java.lang.String catID)
Specified by:
getQuickCustomizedLinkOfCatID in interface FlowService

creatQuickCustomizedLink

public java.lang.String creatQuickCustomizedLink(Link link)
Specified by:
creatQuickCustomizedLink in interface FlowService

creatQuickCustomizedCategory

public java.lang.String creatQuickCustomizedCategory(Category category)
Specified by:
creatQuickCustomizedCategory in interface FlowService

deleteQuickCustomizedCategory

public boolean deleteQuickCustomizedCategory(java.lang.String catID)
Specified by:
deleteQuickCustomizedCategory in interface FlowService

deleteQuickCustomizedLink

public boolean deleteQuickCustomizedLink(java.lang.String linkID)
Specified by:
deleteQuickCustomizedLink in interface FlowService

getQuickLinkCategoryOfCatID

public Category getQuickLinkCategoryOfCatID(java.lang.String catID)
Specified by:
getQuickLinkCategoryOfCatID in interface FlowService

getQuickLinkOfLinkID

public Link getQuickLinkOfLinkID(java.lang.String linkID)
Specified by:
getQuickLinkOfLinkID in interface FlowService

updateQuickCustomizedCategory

public boolean updateQuickCustomizedCategory(Category category)
Specified by:
updateQuickCustomizedCategory in interface FlowService

updateQuickCustomizedLink

public boolean updateQuickCustomizedLink(Link link)
Specified by:
updateQuickCustomizedLink in interface FlowService

deleteQuickLinkByPortletID

public boolean deleteQuickLinkByPortletID(java.lang.String portletID)
Specified by:
deleteQuickLinkByPortletID in interface FlowService

updateEIPLayout

public boolean updateEIPLayout(EIPLayout eipLayout)
Specified by:
updateEIPLayout in interface FlowService

getEIPLayout

public EIPLayout getEIPLayout(java.lang.String layoutID)
Specified by:
getEIPLayout in interface FlowService

getEIPLayoutByCompanyID

public java.util.List getEIPLayoutByCompanyID(java.lang.String comID)
Specified by:
getEIPLayoutByCompanyID in interface FlowService

getEIPLayoutByCompanyID

public java.util.List getEIPLayoutByCompanyID(java.util.List comIDList,
                                              java.util.Locale locale)
Specified by:
getEIPLayoutByCompanyID in interface FlowService

getEIPLayoutByCompanyID

public java.util.List getEIPLayoutByCompanyID(java.util.List comIDList)
Specified by:
getEIPLayoutByCompanyID in interface FlowService

insertEIPLayoutI18n

public boolean insertEIPLayoutI18n(EIPLayoutI18n eipLayoutI18n)
Specified by:
insertEIPLayoutI18n in interface FlowService

updateEIPLayoutI18n

public boolean updateEIPLayoutI18n(EIPLayoutI18n eipLayoutI18n)
Specified by:
updateEIPLayoutI18n in interface FlowService

getEIPLayoutI18n

public EIPLayoutI18n getEIPLayoutI18n(java.lang.String i18nID)
Specified by:
getEIPLayoutI18n in interface FlowService

insertEIPLayoutPortlets

public boolean insertEIPLayoutPortlets(EIPLayoutPortlets eipLayoutPortlets)
Specified by:
insertEIPLayoutPortlets in interface FlowService

updateEIPLayoutPortlets

public boolean updateEIPLayoutPortlets(EIPLayoutPortlets eipLayoutPortlets)
Specified by:
updateEIPLayoutPortlets in interface FlowService

getEIPLayoutPortlets

public EIPLayoutPortlets getEIPLayoutPortlets(java.lang.String portletID)
Specified by:
getEIPLayoutPortlets in interface FlowService

insertEIPLayoutTabColumn

public boolean insertEIPLayoutTabColumn(EIPLayoutTabColumn eipLayoutMenuGroup)
Specified by:
insertEIPLayoutTabColumn in interface FlowService

updateEIPLayoutTabColumn

public boolean updateEIPLayoutTabColumn(EIPLayoutTabColumn eipLayoutMenuGroup)
Specified by:
updateEIPLayoutTabColumn in interface FlowService

getEIPLayoutTabColumn

public EIPLayoutTabColumn getEIPLayoutTabColumn(java.lang.String columnID)
Specified by:
getEIPLayoutTabColumn in interface FlowService

insertEIPLayoutTabs

public boolean insertEIPLayoutTabs(EIPLayoutTabs eipLayoutTabs)
Specified by:
insertEIPLayoutTabs in interface FlowService

updateEIPLayoutTabs

public boolean updateEIPLayoutTabs(EIPLayoutTabs eipLayoutTabs)
Specified by:
updateEIPLayoutTabs in interface FlowService

getEIPLayoutTabs

public EIPLayoutTabs getEIPLayoutTabs(java.lang.String tabID)
Specified by:
getEIPLayoutTabs in interface FlowService

insertEIPTabDefine

public boolean insertEIPTabDefine(EIPTabDefine eipTabDefine)
Specified by:
insertEIPTabDefine in interface FlowService

updateEIPTabDefine

public boolean updateEIPTabDefine(EIPTabDefine eipTabDefine)
Specified by:
updateEIPTabDefine in interface FlowService

getEIPTabDefine

public EIPTabDefine getEIPTabDefine(java.lang.String tabID)
Specified by:
getEIPTabDefine in interface FlowService

insertEIPPortletDefine

public boolean insertEIPPortletDefine(EIPPortletDefine eipPortletDefine)
Specified by:
insertEIPPortletDefine in interface FlowService

updateEIPPortletDefine

public boolean updateEIPPortletDefine(EIPPortletDefine eipPortletDefine)
Specified by:
updateEIPPortletDefine in interface FlowService

getEIPPortletDefine

public EIPPortletDefine getEIPPortletDefine(java.lang.String portletID)
Specified by:
getEIPPortletDefine in interface FlowService

getEIPLayoutTabsByLayoutID

public java.util.List getEIPLayoutTabsByLayoutID(java.lang.String layoutID)
Specified by:
getEIPLayoutTabsByLayoutID in interface FlowService

getEIPLayoutTabColumnByTabID

public java.util.List getEIPLayoutTabColumnByTabID(java.lang.String tabID)
Specified by:
getEIPLayoutTabColumnByTabID in interface FlowService

getEIPLayoutPortletsByParentID

public java.util.List getEIPLayoutPortletsByParentID(java.lang.String parentID)
Specified by:
getEIPLayoutPortletsByParentID in interface FlowService

getAllEIPLayoutListMap

public java.util.HashMap getAllEIPLayoutListMap()
Specified by:
getAllEIPLayoutListMap in interface FlowService

getEIPLayoutPersonal

public EIPLayoutPersonal getEIPLayoutPersonal(java.lang.String memID)
Specified by:
getEIPLayoutPersonal in interface FlowService

insertEIPLayoutPersonal

public boolean insertEIPLayoutPersonal(EIPLayoutPersonal eipLayoutPersonal)
Specified by:
insertEIPLayoutPersonal in interface FlowService

updateEIPLayoutPersonal

public boolean updateEIPLayoutPersonal(EIPLayoutPersonal eipLayoutPersonal)
Specified by:
updateEIPLayoutPersonal in interface FlowService

saveEIPLayoutPersonal

public boolean saveEIPLayoutPersonal(EIPLayoutPersonal eipLayoutPersonal)
Specified by:
saveEIPLayoutPersonal in interface FlowService

deleteEIPLayoutByLayout

public boolean deleteEIPLayoutByLayout(java.lang.String layoutID)
Specified by:
deleteEIPLayoutByLayout in interface FlowService

createEIPLayout

public java.lang.String createEIPLayout(java.lang.String companyID)
Specified by:
createEIPLayout in interface FlowService

createEIPLayout

public java.lang.String createEIPLayout(java.lang.String companyID,
                                        java.util.HashMap languageHm)
Specified by:
createEIPLayout in interface FlowService

saveEIPLayout

public boolean saveEIPLayout(java.util.HashMap allLayoutMap)
Specified by:
saveEIPLayout in interface FlowService

getAllEIPLayoutByLayoutID

public java.util.HashMap getAllEIPLayoutByLayoutID(java.lang.String layoutID)
Specified by:
getAllEIPLayoutByLayoutID in interface FlowService

recoverDefaultEIPLayout

public boolean recoverDefaultEIPLayout(java.lang.String layoutID)
Specified by:
recoverDefaultEIPLayout in interface FlowService

insertEIPLayoutPortletsShare

public boolean insertEIPLayoutPortletsShare(EIPLayoutPortlets eipLayoutPortletsShare)
Specified by:
insertEIPLayoutPortletsShare in interface FlowService

updateEIPLayoutPortletsShare

public boolean updateEIPLayoutPortletsShare(EIPLayoutPortlets eipLayoutPortletsShare)
Specified by:
updateEIPLayoutPortletsShare in interface FlowService

getEIPLayoutPortletsShare

public EIPLayoutPortlets getEIPLayoutPortletsShare(java.lang.String portletID)
Specified by:
getEIPLayoutPortletsShare in interface FlowService

getEIPLayoutPortletsShareByParentID

public java.util.List getEIPLayoutPortletsShareByParentID(java.lang.String parentID)
Specified by:
getEIPLayoutPortletsShareByParentID in interface FlowService

getAllEIPLayoutPortletsShare

public java.util.List getAllEIPLayoutPortletsShare()
Specified by:
getAllEIPLayoutPortletsShare in interface FlowService

insertEIPLayoutTabsShare

public boolean insertEIPLayoutTabsShare(EIPLayoutTabs eipLayoutTabsShare)
Specified by:
insertEIPLayoutTabsShare in interface FlowService

updateEIPLayoutTabsShare

public boolean updateEIPLayoutTabsShare(EIPLayoutTabs eipLayoutTabsShare)
Specified by:
updateEIPLayoutTabsShare in interface FlowService

getEIPLayoutTabsShare

public EIPLayoutTabs getEIPLayoutTabsShare(java.lang.String tabID)
Specified by:
getEIPLayoutTabsShare in interface FlowService

getEIPLayoutTabsShareByParentID

public java.util.List getEIPLayoutTabsShareByParentID(java.lang.String parentID)
Specified by:
getEIPLayoutTabsShareByParentID in interface FlowService

getAllEIPLayoutTabsShare

public java.util.List getAllEIPLayoutTabsShare()
Specified by:
getAllEIPLayoutTabsShare in interface FlowService

renameEIPLayout

public boolean renameEIPLayout(java.lang.String layoutID,
                               java.util.HashMap languageHm)
Specified by:
renameEIPLayout in interface FlowService

saveEIPLayoutRange

public boolean saveEIPLayoutRange(EIPLayout eipLayout)
Specified by:
saveEIPLayoutRange in interface FlowService

isEIPLayoutExist

public boolean isEIPLayoutExist(java.lang.String layoutID)
Specified by:
isEIPLayoutExist in interface FlowService

getEIPColorTheme

public EIPColorTheme getEIPColorTheme(java.lang.String themeID)
Specified by:
getEIPColorTheme in interface FlowService

updateEIPColorTheme

public boolean updateEIPColorTheme(EIPColorTheme eipColorTheme)
Specified by:
updateEIPColorTheme in interface FlowService

deleteEIPColorTheme

public boolean deleteEIPColorTheme(java.lang.String themeID)
Specified by:
deleteEIPColorTheme in interface FlowService

getEIPColorThemeListByComID

public java.util.List getEIPColorThemeListByComID(java.lang.String comID,
                                                  boolean editMode)
Specified by:
getEIPColorThemeListByComID in interface FlowService

setEIPColorThemeEnabled

public boolean setEIPColorThemeEnabled(java.lang.String themeID,
                                       java.lang.String comID,
                                       boolean enabled)
Specified by:
setEIPColorThemeEnabled in interface FlowService

setEIPColorThemeRangeType

public boolean setEIPColorThemeRangeType(java.lang.String themeID,
                                         java.lang.String type)
Specified by:
setEIPColorThemeRangeType in interface FlowService

updateTaskColorLabel

public boolean updateTaskColorLabel(Task t)
Specified by:
updateTaskColorLabel in interface FlowService

isShowSignArea

public boolean isShowSignArea(java.lang.String rootID,
                              java.lang.String currentTskID,
                              boolean includeCoSign)
Specified by:
isShowSignArea in interface FlowService

updateTaskNote

public boolean updateTaskNote(Task t)
Description copied from interface: FlowService
Update the note of task. The method will update the task note in cache and database.

Specified by:
updateTaskNote in interface FlowService
Returns:
true for success
See Also:
Task

updateTaskAttachedFileList

public boolean updateTaskAttachedFileList(Task t)
Description copied from interface: FlowService
Update the attached file list of task. The method will update the task attached file list in cache and database.

Specified by:
updateTaskAttachedFileList in interface FlowService
Returns:
true for success
See Also:
Task

updateTaskKeyWord

public boolean updateTaskKeyWord(Task task)
Specified by:
updateTaskKeyWord in interface FlowService

getAlbumID

public java.lang.String getAlbumID()
Specified by:
getAlbumID in interface FlowService

getAlbumPhotoID

public java.lang.String getAlbumPhotoID()
Specified by:
getAlbumPhotoID in interface FlowService

produceArtIns_ID

public java.lang.String produceArtIns_ID(Task t,
                                         java.lang.String artIDEnc,
                                         java.lang.String artID,
                                         java.lang.String insID)
Specified by:
produceArtIns_ID in interface FlowService

getWorkDiarys

public java.util.Map<java.lang.String,java.util.List> getWorkDiarys(java.lang.String startTime,
                                                                    java.lang.String endTime,
                                                                    java.lang.String memID,
                                                                    java.lang.String dayList)
Specified by:
getWorkDiarys in interface FlowService

getNewWorkDiaryID

public java.lang.String getNewWorkDiaryID()
Specified by:
getNewWorkDiaryID in interface FlowService

commitWorkDiary

public boolean commitWorkDiary(WorkDiaryInfo workDiaryInfo,
                               boolean flag)
Specified by:
commitWorkDiary in interface FlowService

getNewWorkDiaryMsgID

public java.lang.String getNewWorkDiaryMsgID()
Specified by:
getNewWorkDiaryMsgID in interface FlowService

getWorkDiaryByID

public WorkDiaryInfo getWorkDiaryByID(java.lang.String workDiaryID)
Specified by:
getWorkDiaryByID in interface FlowService

replyWorkDiary

public boolean replyWorkDiary(WorkDiaryMsgInfo workDiaryMsgInfo,
                              WorkDiaryInfo workDiaryInfo,
                              boolean flag)
Specified by:
replyWorkDiary in interface FlowService

getWorkDiaryMsgByID

public WorkDiaryMsgInfo getWorkDiaryMsgByID(java.lang.String workDiaryMsgID)
Specified by:
getWorkDiaryMsgByID in interface FlowService

commitWorkDiaryMsg

public boolean commitWorkDiaryMsg(WorkDiaryMsgInfo workDiaryMsgInfo)
Specified by:
commitWorkDiaryMsg in interface FlowService

commitWorkDiaryAssign

public boolean commitWorkDiaryAssign(WorkDiaryAssignInfo workDiaryAssignInfo,
                                     boolean flag)
Specified by:
commitWorkDiaryAssign in interface FlowService

getWorkDiaryAssignInfoByMemID

public WorkDiaryAssignInfo getWorkDiaryAssignInfoByMemID(java.lang.String memID)
Specified by:
getWorkDiaryAssignInfoByMemID in interface FlowService

updateWorkDiaryOfOpen

public boolean updateWorkDiaryOfOpen(java.lang.String memID,
                                     java.lang.String rangeVisibleList)
Specified by:
updateWorkDiaryOfOpen in interface FlowService

updateWorkDiaryOfOpen

public boolean updateWorkDiaryOfOpen(java.lang.String memID,
                                     java.lang.String rangeVisibleList,
                                     java.lang.String rangeEditableList)
Specified by:
updateWorkDiaryOfOpen in interface FlowService

getWorkDiaryOfOpenByMemID

public java.util.Vector getWorkDiaryOfOpenByMemID(java.lang.String memID)
Specified by:
getWorkDiaryOfOpenByMemID in interface FlowService

getWorkDiaryEditableOfOpenByMemID

public java.util.Vector getWorkDiaryEditableOfOpenByMemID(java.lang.String memID)
Specified by:
getWorkDiaryEditableOfOpenByMemID in interface FlowService

getWorkDiaryOfOpen

public java.util.Map<java.lang.String,java.util.Vector> getWorkDiaryOfOpen()
Specified by:
getWorkDiaryOfOpen in interface FlowService

getWorkDiaryOfOpenEditable

public java.util.Map<java.lang.String,java.util.Vector> getWorkDiaryOfOpenEditable()
Specified by:
getWorkDiaryOfOpenEditable in interface FlowService

deletePublicMemOfWorkDiary

public boolean deletePublicMemOfWorkDiary(java.lang.String memID)
Specified by:
deletePublicMemOfWorkDiary in interface FlowService

addWorkDiaryManager

public boolean addWorkDiaryManager(java.lang.String memID)
Specified by:
addWorkDiaryManager in interface FlowService

delWorkDiaryManager

public boolean delWorkDiaryManager()
Specified by:
delWorkDiaryManager in interface FlowService

getWorkDiaryManager

public java.util.Vector getWorkDiaryManager()
Specified by:
getWorkDiaryManager in interface FlowService

saveEditTimeLimitOfWorkDiary

public boolean saveEditTimeLimitOfWorkDiary(java.lang.String comID,
                                            java.lang.String timeLimit)
Specified by:
saveEditTimeLimitOfWorkDiary in interface FlowService

getEditTimeLimitOfWorkDiary

public java.lang.String getEditTimeLimitOfWorkDiary(java.lang.String comID)
Specified by:
getEditTimeLimitOfWorkDiary in interface FlowService

getWorkDiaryID

public java.lang.String getWorkDiaryID(java.lang.String memID,
                                       java.lang.String createDate)
Specified by:
getWorkDiaryID in interface FlowService

createProcess

public java.lang.String createProcess(java.lang.String userID,
                                      java.lang.String roleID,
                                      java.lang.String proID,
                                      java.util.HashMap args,
                                      boolean isPopUp,
                                      boolean isDelible)
Specified by:
createProcess in interface FlowService

getMeetingShowInfos

public java.util.Map getMeetingShowInfos(java.util.Map queryConditions)
Specified by:
getMeetingShowInfos in interface FlowService

getMeetingInfoCount

public java.util.Map getMeetingInfoCount(java.lang.String memID,
                                         java.lang.String model,
                                         java.lang.String user_company)
Specified by:
getMeetingInfoCount in interface FlowService

getMeetingSearchPrompt

public java.util.Vector getMeetingSearchPrompt(java.lang.String keyWord,
                                               java.lang.String status)
Specified by:
getMeetingSearchPrompt in interface FlowService

getDebatesSearchPrompt

public java.util.Vector getDebatesSearchPrompt(java.lang.String keyWord)
Specified by:
getDebatesSearchPrompt in interface FlowService

deleteMeetingInfo

public boolean deleteMeetingInfo(java.lang.String id,
                                 MemberRecord user)
Specified by:
deleteMeetingInfo in interface FlowService

getMeetingInfoByID

public MeetingInfo getMeetingInfoByID(java.lang.String id,
                                      java.lang.String userID)
Specified by:
getMeetingInfoByID in interface FlowService

getParentMeetingListByWorkID

public java.util.List getParentMeetingListByWorkID(java.lang.String workID,
                                                   java.lang.String userID)
Specified by:
getParentMeetingListByWorkID in interface FlowService

getLastMeetingByWork

public MeetingInfo getLastMeetingByWork(java.lang.String workID,
                                        java.lang.String memID)
Specified by:
getLastMeetingByWork in interface FlowService

updateMeetingInfo

public boolean updateMeetingInfo(MeetingInfo info,
                                 MemberRecord user)
Specified by:
updateMeetingInfo in interface FlowService

createMeetingInfo

public java.lang.String createMeetingInfo(MeetingInfo info,
                                          MemberRecord user)
Specified by:
createMeetingInfo in interface FlowService

updateMeetingInfoRecode

public boolean updateMeetingInfoRecode(java.lang.String meetingID,
                                       java.lang.String recode,
                                       java.util.List attachments,
                                       java.lang.String lastUpdateRecordTime)
Specified by:
updateMeetingInfoRecode in interface FlowService

updateMeetingInfoHold

public boolean updateMeetingInfoHold(java.lang.String meetingID,
                                     boolean isHold)
Specified by:
updateMeetingInfoHold in interface FlowService

insertMeetingRecordSendRecord

public boolean insertMeetingRecordSendRecord(java.util.Map sendRecord)
Specified by:
insertMeetingRecordSendRecord in interface FlowService

getMemberConflictMeeting

public java.util.Map getMemberConflictMeeting(MemberRecord mem,
                                              java.lang.String memIDs,
                                              java.lang.String meetingID,
                                              java.lang.String start_time,
                                              java.lang.String end_time)
Specified by:
getMemberConflictMeeting in interface FlowService

autoUpdateMeetingLastNoticeTime

public boolean autoUpdateMeetingLastNoticeTime(java.lang.String meetingID)
Specified by:
autoUpdateMeetingLastNoticeTime in interface FlowService

updateMeetingCalendarTime

public boolean updateMeetingCalendarTime(java.lang.String meetingID,
                                         java.util.Date st,
                                         java.util.Date et,
                                         MemberRecord user)
Specified by:
updateMeetingCalendarTime in interface FlowService

getRealManageCompanyIDsOfAPManager

public java.util.Vector<java.lang.String> getRealManageCompanyIDsOfAPManager(java.lang.String memID,
                                                                             java.lang.String APType)
Specified by:
getRealManageCompanyIDsOfAPManager in interface FlowService

createMeetingRoom

public java.lang.String createMeetingRoom(MeetingRoom room)
Specified by:
createMeetingRoom in interface FlowService

getAllMeetingIdsByRoom

public java.util.List<java.lang.String> getAllMeetingIdsByRoom(java.lang.String roomId)
Specified by:
getAllMeetingIdsByRoom in interface FlowService

deleteMeetingRoom

public boolean deleteMeetingRoom(java.lang.String id)
Specified by:
deleteMeetingRoom in interface FlowService

getAllMeetingRoomByGroupID

public java.util.List getAllMeetingRoomByGroupID(java.lang.String groupID,
                                                 MemberRecord mem,
                                                 java.lang.String manager_use,
                                                 java.lang.Boolean enable)
Specified by:
getAllMeetingRoomByGroupID in interface FlowService

getAllMeetingRoomGroup

public java.util.List getAllMeetingRoomGroup(MemberRecord mem,
                                             java.lang.String manager_use,
                                             java.lang.Boolean enable,
                                             java.lang.String comID)
Specified by:
getAllMeetingRoomGroup in interface FlowService

getMeetingRoomCountOfGroup

public int getMeetingRoomCountOfGroup(java.lang.String groupID)
Specified by:
getMeetingRoomCountOfGroup in interface FlowService

getMeetingRoomOrGroupByID

public MeetingRoom getMeetingRoomOrGroupByID(java.lang.String id)
Specified by:
getMeetingRoomOrGroupByID in interface FlowService

updateMeetingRoom

public boolean updateMeetingRoom(MeetingRoom room)
Specified by:
updateMeetingRoom in interface FlowService

validateMeetingInfo

public java.util.List validateMeetingInfo(MemberRecord mem,
                                          java.util.Map argsMap)
Specified by:
validateMeetingInfo in interface FlowService

addMainMeeting

public boolean addMainMeeting(java.lang.String memID,
                              java.lang.String meetingID)
Specified by:
addMainMeeting in interface FlowService

deleteMainMeeting

public boolean deleteMainMeeting(java.lang.String memID,
                                 java.lang.String meetingID)
Specified by:
deleteMainMeeting in interface FlowService

createAPRepeatRule

public java.lang.String createAPRepeatRule(APRepeatRule repeatRule)
Specified by:
createAPRepeatRule in interface FlowService

updateAPRepeatRule

public boolean updateAPRepeatRule(APRepeatRule repeatRule)
Specified by:
updateAPRepeatRule in interface FlowService

deleteAPRepeatRule

public boolean deleteAPRepeatRule(APRepeatRule repeatRule)
Specified by:
deleteAPRepeatRule in interface FlowService

getAfterRepeatUnstartedMeetingInfoID

public java.util.List getAfterRepeatUnstartedMeetingInfoID(APRepeatRule repeatRule,
                                                           boolean byTime)
Specified by:
getAfterRepeatUnstartedMeetingInfoID in interface FlowService

getBeforeRepeatMeetingInfo

public java.util.List getBeforeRepeatMeetingInfo(APRepeatRule repeatRule,
                                                 boolean byTime)
Specified by:
getBeforeRepeatMeetingInfo in interface FlowService

aotuUpdateAPRepeatRule

public boolean aotuUpdateAPRepeatRule(APRepeatRule repeatRule)
Specified by:
aotuUpdateAPRepeatRule in interface FlowService

getAPRepeatRuleByAPID

public APRepeatRule getAPRepeatRuleByAPID(java.lang.String apID)
Specified by:
getAPRepeatRuleByAPID in interface FlowService

getAPWorkByWorkID

public APWork getAPWorkByWorkID(java.lang.String workID,
                                java.lang.String userID)
Specified by:
getAPWorkByWorkID in interface FlowService

getAPWorkByAPID

public java.util.List<APWork> getAPWorkByAPID(java.lang.String parentID,
                                              java.lang.String userID)
Specified by:
getAPWorkByAPID in interface FlowService

insertAPWork

public java.lang.String insertAPWork(APWork work,
                                     MemberRecord user)
Specified by:
insertAPWork in interface FlowService

updateAPWork

public boolean updateAPWork(APWork work,
                            MemberRecord user)
Specified by:
updateAPWork in interface FlowService

updateAPWorkProperty

public java.util.Map updateAPWorkProperty(java.util.Map property,
                                          MemberRecord user)
Specified by:
updateAPWorkProperty in interface FlowService

deleteAPWork

public boolean deleteAPWork(java.lang.String workID,
                            MemberRecord user)
Specified by:
deleteAPWork in interface FlowService

getAPWorkByFilter

public java.util.List<APWork> getAPWorkByFilter(java.util.Map filterMap)
Specified by:
getAPWorkByFilter in interface FlowService

getAPWorkCount

public java.util.Map getAPWorkCount(java.util.Map filterMap)
Specified by:
getAPWorkCount in interface FlowService

getAPWorkComment

public java.util.List<APWorkComment> getAPWorkComment(java.lang.String parentID)
Specified by:
getAPWorkComment in interface FlowService

getAPWorkCommentById

public APWorkComment getAPWorkCommentById(java.lang.String commentId)
Specified by:
getAPWorkCommentById in interface FlowService

insertAPWorkComment

public APWorkComment insertAPWorkComment(APWorkComment comment)
Specified by:
insertAPWorkComment in interface FlowService

getAllSubDepIDListByManager

public java.util.List getAllSubDepIDListByManager(java.lang.String memID)
Specified by:
getAllSubDepIDListByManager in interface FlowService

getAllSubComIDListByManager

public java.util.List getAllSubComIDListByManager(java.lang.String memID)
Specified by:
getAllSubComIDListByManager in interface FlowService

getAllSubMemIDListByManager

public java.util.Collection getAllSubMemIDListByManager(java.lang.String memID)
Specified by:
getAllSubMemIDListByManager in interface FlowService

getAPRangeByAPRoleID

public java.util.Map getAPRangeByAPRoleID(java.util.List APRoleIDList)
Specified by:
getAPRangeByAPRoleID in interface FlowService

insertAPWorkParentMap

public boolean insertAPWorkParentMap(java.lang.String workID,
                                     java.lang.String parentID)
Specified by:
insertAPWorkParentMap in interface FlowService

deleteAPWorkParentMap

public boolean deleteAPWorkParentMap(java.lang.String workID,
                                     java.lang.String parentID)
Specified by:
deleteAPWorkParentMap in interface FlowService

getAPWorkParentMap

public java.util.List<java.util.Map> getAPWorkParentMap(java.lang.String workID,
                                                        java.lang.String parentID)
Specified by:
getAPWorkParentMap in interface FlowService

getAPTaskByMember

public java.util.List<APTask> getAPTaskByMember(MemberRecord mem,
                                                java.util.List filterComIDs)
Specified by:
getAPTaskByMember in interface FlowService

getAPTaskByComID

public java.util.List<APTask> getAPTaskByComID(java.util.List comIDList,
                                               java.lang.Boolean isEnabled)
Specified by:
getAPTaskByComID in interface FlowService

getAPTaskByTaskID

public APTask getAPTaskByTaskID(java.lang.String tskID)
Specified by:
getAPTaskByTaskID in interface FlowService

insertAPTask

public APTask insertAPTask(APTask task)
Specified by:
insertAPTask in interface FlowService

updateAPTask

public java.lang.Boolean updateAPTask(APTask task)
Specified by:
updateAPTask in interface FlowService

deleteAPTask

public java.lang.Boolean deleteAPTask(java.lang.String taskId)
Specified by:
deleteAPTask in interface FlowService

getProSignStateDisplayName

public java.lang.String getProSignStateDisplayName(java.lang.String proId,
                                                   java.lang.String proSignStateId)
Specified by:
getProSignStateDisplayName in interface FlowService

getIapSignTaskGroupByTskId

public java.util.List getIapSignTaskGroupByTskId(java.lang.String tskId)
Specified by:
getIapSignTaskGroupByTskId in interface FlowService

getBuyId

public java.lang.String getBuyId()
Specified by:
getBuyId in interface FlowService

getBuyStoreId

public java.lang.String getBuyStoreId()
Specified by:
getBuyStoreId in interface FlowService

getBuyItemId

public java.lang.String getBuyItemId()
Specified by:
getBuyItemId in interface FlowService

getBuyGroupId

public java.lang.String getBuyGroupId()
Specified by:
getBuyGroupId in interface FlowService

getPersonalTaskTracking

public java.util.Vector getPersonalTaskTracking(java.lang.String mId)
Specified by:
getPersonalTaskTracking in interface FlowService

getPersonalTaskTracking

public java.util.Vector getPersonalTaskTracking(java.lang.String mId,
                                                int sortType,
                                                java.lang.String sortOrder)
Specified by:
getPersonalTaskTracking in interface FlowService

insertPersonalTaskTracking

public void insertPersonalTaskTracking(java.lang.String mId,
                                       java.lang.String rootTskID)
Specified by:
insertPersonalTaskTracking in interface FlowService

deletePersonalTaskTracking

public void deletePersonalTaskTracking(java.lang.String mId,
                                       java.lang.String rootTskID)
Specified by:
deletePersonalTaskTracking in interface FlowService

getRootTaskDataListOfJoinMember

public java.util.HashMap getRootTaskDataListOfJoinMember(java.lang.String memberID,
                                                         java.lang.String type,
                                                         int sortType,
                                                         java.lang.String sortOrder,
                                                         boolean removeDraft)
Specified by:
getRootTaskDataListOfJoinMember in interface FlowService

getAllErrorTaskOfMember

public java.util.Vector getAllErrorTaskOfMember(java.lang.String memberID)
Specified by:
getAllErrorTaskOfMember in interface FlowService

getNewIdGeneratorID

public java.lang.String getNewIdGeneratorID(java.lang.String startWith,
                                            java.lang.String id,
                                            int size)
Specified by:
getNewIdGeneratorID in interface FlowService

getCompanyIDListOfAPManager

public java.util.List getCompanyIDListOfAPManager(MemberRecord member,
                                                  java.lang.String functionName,
                                                  java.lang.String permission)
Specified by:
getCompanyIDListOfAPManager in interface FlowService

deleteImageSlider

public boolean deleteImageSlider(java.lang.String portletId)
Specified by:
deleteImageSlider in interface FlowService

getImageSlider

public ImageSlider getImageSlider(java.lang.String portletId)
Specified by:
getImageSlider in interface FlowService

insertImageSlider

public void insertImageSlider(java.lang.String portletId,
                              java.lang.String mode,
                              java.lang.String height)
Specified by:
insertImageSlider in interface FlowService

updateImageSlider

public boolean updateImageSlider(ImageSlider imageSlider)
Specified by:
updateImageSlider in interface FlowService