Agentflow
V3.1

pe.pase
Interface ServerService

All Superinterfaces:
java.rmi.Remote

public interface ServerService
extends java.rmi.Remote

Server Service API.

Version:
1.1.5,
Author:
lchuang

Field Summary
static java.lang.String CACHE_TYPE_ALL
           
static java.lang.String CACHE_TYPE_ARTIFACT
           
static java.lang.String CACHE_TYPE_ORG
           
static java.lang.String CACHE_TYPE_PROCESS
           
static java.lang.String CACHE_TYPE_TASK
           
 
Method Summary
 boolean activeBBSBoard(java.lang.String bbsBoardID)
           
 void addDebugLog(java.lang.String msg)
           
 void addErrLog(java.lang.String msg)
           
 void addExeLog(java.lang.String msg)
           
 boolean addFreqApRole(java.lang.String freID, java.lang.String rolID)
           
 void addInfoLog(java.lang.String msg)
           
 boolean addMonitorRelation(java.lang.String sourceTaskID, java.lang.String createdRootTaskID)
           
 boolean addMonitorRelation(java.lang.String sourceTaskID, java.util.Vector createdRootTaskIDs)
           
 int addNewSessionConnectionURL(int type, java.lang.String name, java.lang.String dburl, java.lang.String username, java.lang.String password)
           
 void addSessionConnectionURL(int seq, int type, java.lang.String dburl, java.lang.String username, java.lang.String password)
           
 void addSessionConnectionURL(int seq, int type, java.lang.String name, java.lang.String dburl, java.lang.String username, java.lang.String password)
           
 void addWarningLog(java.lang.String msg)
           
 java.util.Vector ArtSQLloadValue(java.lang.String sql)
           
 int asynGetRootTaskSummaryOfJoinMember(java.lang.String mID, int state)
           
 int asynGetTaskOfMember(java.lang.String user)
           
 java.util.Vector batchProcess(java.util.Vector completeTask, java.util.Vector removeTask, java.util.Vector createPro)
           
 boolean bypassTask(Task p_Task, java.lang.String p_AstID)
           
 boolean cancelTaskInClient(Task t)
          Cancel the client side Task.
 boolean cancelTaskInClient(Task t, java.lang.String loginID)
          Cancel the client side Task
 boolean canPrintPASESharedFile(java.lang.String fId, java.lang.String mId)
           
 boolean canReadPASESharedFile(java.lang.String fId, java.lang.String mId)
           
 boolean canWritePASESharedFile(java.lang.String fId, java.lang.String mId)
           
 boolean changePassword(java.lang.String loginID, java.lang.String newPwd)
           
 boolean changePassword(java.lang.String mbrID, java.lang.String oldPwd, java.lang.String newPwd)
          The method is used to change the password of some member.
 void clearCache()
          clear server cache.
 void clearCache(java.lang.String type)
           
 void closeSessionConnection(java.lang.String session)
           
 void commitSessionConnection(java.lang.String session)
           
 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
 PASEartInstance createArtInstance(java.lang.String aID)
          Create artifact instance
 PASEartInstance createFreqArtInstance(java.lang.String aID)
          Create artifact instance, for FreqAp use
 PASEGroup createPASEGroup()
           
 PASESharedFile createPASESharedFile()
           
 java.lang.String createProcess(java.lang.String userID, java.lang.String proID, java.util.HashMap args, boolean isPopUp, boolean isDelible)
           
 java.util.HashMap createProcessEx(java.lang.String flag, java.lang.String loginID, java.lang.String proID, java.lang.String subject, int priority, java.util.Vector fileList, java.util.HashMap args, java.util.HashMap artifactArgs)
           
 ScheduleEvent createScheduleEvent()
           
 java.lang.String createSessionConnectionKey(int sequence)
           
 java.lang.String createSessionConnectionKey(java.lang.String name)
           
 boolean delBBSMsg(java.lang.String bbsBoardID, java.lang.String msgID)
           
 boolean delete(java.lang.String sqlcmd)
           
 boolean delete(java.lang.String sqlcmd, java.util.Vector record, java.util.Vector columnTypeList)
           
 boolean deleteBBSBoard(java.lang.String bbsBoardID)
           
 boolean deleteGlobals(java.lang.String rootTaskID)
           
 void deletePASEGroup(java.lang.String id)
           
 boolean deletePASEMessage(PASEMessage msg)
          Delete message from database
 boolean deletePASEMessageByID(java.lang.String msgID)
           
 void deletePASESharedFile(java.lang.String fId)
           
 java.util.HashMap deleteSessionConnectionURL(java.lang.String name)
           
 boolean deleteTaskAttachedFile(java.lang.String fileID)
          delete some task attached file
 boolean forceCompleteATask(Task parentTask)
           
 boolean forceReassignTask(java.lang.String p_TaskID, java.lang.String p_MemID)
           
 boolean forceReassignTask(Task p_Task, MemberRecord p_MR)
           
 long getAdminLoginTime(java.lang.String loginID)
           
 java.util.Vector getAllBBSBoard()
           
 java.util.Vector getAllDepartmentByName(java.lang.String mName)
          Return all data object of Department by Chinese-Name
 java.util.Vector getAllDepNameOfCompany()
          Return all Department Name in the company
 java.util.Vector getAllMember()
          Get All MemberRecord Objects of the system.
 java.util.Vector getAllMemberByCName(java.lang.String mName)
          Get All MemberRecord Objects by the same Name.
 java.util.Vector getAllProjectRoleByName(java.lang.String mName)
           
 java.util.Vector getAllRoleByName(java.lang.String mName)
          Get All Role Objects by the same Name.
 java.util.Vector getAllRoleNameOfCompany()
          Get All Role Name in the company.
 java.util.Vector getApprovalHistoryRootTaskOfJoinMember(java.lang.String mbrID)
           
 Artifact getArtifact(java.lang.String aID)
          Return a data object of artifact
 java.util.Vector getArtifactForm(java.lang.String aID)
          Return artifact forms of some specific artifact
 java.util.Vector getArtifactOfCompany()
          Return all artifacts
 java.util.Vector getArtifactOfProject(java.lang.String prjID)
          Return all artifact of some specific project
 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.lang.String getArtTskID(java.lang.String iID)
          Get the latest associated TaskID with the Artifact Instance.
 java.util.HashMap getATaskNote(java.lang.String tskID)
           
 java.util.Vector getBBSBoard()
           
 BBSBoard getBBSBoard(java.lang.String bbsBoardID)
           
 BBSMessage getBBSMsg(java.lang.String msgID)
           
 java.util.Vector getBBSMsgList(java.lang.String bbsBoardID)
           
 Company getCompany()
          Return a data object of company
 Company getCompany(java.lang.String comID)
          Return a data object of company by a specified company id
 java.util.Hashtable getCSLockHashtable()
           
 java.util.HashMap getCSTaskNote(java.lang.String tskID)
          get CSTask Note
 DBProcess getDBProcess(java.lang.String pID)
          Return a data object of process
 Department getDepartment(java.lang.String dID)
          Return a data object of department by ID
 java.util.Vector getDepartmentListOfPASEGroup(java.lang.String gId)
           
 EnterpriseModel getEnterpriseDiagram()
          Get Enterprise diagram
 pe.filesystem.FileTransfer getFileTransfer()
           
 java.util.Vector getFreqApItemList()
           
 java.util.Vector getFreqApListOfMember(java.lang.String memID)
           
 java.util.Vector getFreqApNodeList()
           
 java.util.HashMap getGlobals(java.lang.String rootTaskID)
           
 java.util.Vector getGroupSignProcess(java.lang.String memID)
           
 java.util.Vector getHalfHolidays()
           
 java.util.Vector getHalfHolidays(java.lang.String memID)
           
 java.util.Vector getHistoryRootTaskOfJoinMember(java.lang.String mbrID)
           
 java.util.Vector getHolidays()
           
 java.util.Vector getHolidays(java.lang.String memID)
           
 java.util.Vector getInvolvedExecutors(java.lang.String rootTaskID)
           
 java.util.Vector getInvolvedMembers(java.lang.String rootTaskID)
           
 Role getManagerRole(java.lang.String id)
          Return a data object of Manager Role by id
 MemberRecord getMember(java.lang.String id)
          Return a data object of member by ID, LoginID, or Chinese-Name.
 AccessMember getMemberAccess(java.lang.String memID)
           
 AccessAdmin getMemberAdminAccess(java.lang.String memID)
           
 java.util.Vector getMemberArtifactAccess(java.lang.String memID)
           
 MemberRecord getMemberByCName(java.lang.String mName)
          Return a data object of member by Chinese-Name
 MemberRecord getMemberByID(java.lang.String mID)
          Return a data object of member by ID
 MemberRecord getMemberByName(java.lang.String mLoginID)
          Return a data object of member by LoginID
 java.util.Vector getMemberListOfPASEGroup(java.lang.String gId)
           
 AccessOnLineUser getMemberOnLineAccess(java.lang.String memID)
           
 java.util.Vector getMemberTaskAccess(java.lang.String memID)
           
 java.lang.String getNewArtInsID()
           
 java.lang.String getNewBBSMsgID()
           
 java.lang.String getNewFileID()
           
 java.lang.String getNewMsgID()
           
 java.lang.String getNewTaskID()
           
 Company getOneCompanyByName(java.lang.String mName)
          Return a data object of Company by Chinese-Name
 Department getOneDepartmentByName(java.lang.String mName)
          Return a data object of Department by Chinese-Name
 Role getOneRoleByName(java.lang.String mName)
          Return a data object of Role by Chinese-Name
 java.util.Vector getOnlineAdminUser()
           
 java.util.Vector getOnlineUser()
           
 PASEFreqAp getPASEFreqAp(java.lang.String fID)
           
 PASEGroup getPASEGroup(java.lang.String id)
           
 java.util.Vector getPASEGroupList()
           
 java.util.List getPASEGroupListByIdList(java.util.Vector idList)
           
 java.util.Vector getPASEMessageOfMember(java.lang.String mID)
           
 PASEOrgModel getPASEOrgModel()
          Get Enterprise Org model
 java.util.Vector getPASEProcessOfMember(java.lang.String mID)
          Return the root processes of some specific member
 PASESharedFile getPASESharedFile(java.lang.String fId)
           
 PASESharedFile getPASESharedFileByPath(java.lang.String fPath)
           
 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
 PersonalConfig getPersonalConfig(java.lang.String mId)
           
 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)
           
 java.util.Vector getProcessList(java.lang.String userID)
           
 java.util.HashMap getProductInfo()
           
 Project getProject(java.lang.String prjID)
          Return a data object of project by ID
 java.util.Vector getProjectOfCompany()
          Return all projects
 java.util.Vector getProjectOfDepartment(java.lang.String dID)
          Return the projects of some specific department
 java.util.Vector getProjectOfManager(java.lang.String managerID)
          Return the projects with some specific project manager
 Project getProjectOfPASEProcess(java.lang.String proID)
          Return the project of the PASEProcess.
 ProjectRole getProjectRole(java.lang.String rID)
          Return a data object of project role by ID
 java.util.Vector getRequestHistoryRootTaskOfJoinMember(java.lang.String mbrID)
           
 Role getRole(java.lang.String rID)
          Return a data object of role by ID
 java.util.Vector getRoleListOfPASEGroup(java.lang.String gId)
           
 java.util.Vector getRootDBProcessByName(java.lang.String pName)
          Return all root process of some specific DBProcess
 java.util.Vector getRootDBProcessOfProject(java.lang.String prjID)
          Return all root process of some specific project
 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 getRootTaskSummaryOfJoinMember(java.lang.String mID, int state)
           
 ScheduleEvent getScheduleEvent(java.lang.String id)
           
 java.util.Vector getSequelProIDList(java.lang.String pID, java.lang.String rootTaskID)
           
 java.util.HashMap getServerStatus()
          get server status.
 long getServerTime()
           
 java.util.HashMap getSessionConnectionURL(int sequence)
           
 java.util.HashMap getSessionConnectionURL(java.lang.String name)
           
 java.util.Vector getSessionConnectionURLList()
           
 java.lang.String getSignatureImage(java.lang.String mbrID)
           
 java.util.Vector getSubDepNameOfDR(java.lang.String id, boolean exp)
          Get sub-Department's Name by specified DepartmentID or RoleID,and that search directly down the Organizer according to the 'exp' argument.
 java.util.Vector getSubMemberCNameOfDR(java.lang.String id, boolean exp)
          Get sub-Member's Name by specified DepartmentID or RoleID,and that search directly down the Organizer according to the 'exp' argument.
 java.util.Vector getSubMemListOfMember(java.lang.String mID)
          Return Vector of Member's 所有下屬的 memID
 java.util.Vector getSubRoleNameOfDR(java.lang.String id, boolean exp)
          Get sub-Role's Name by specified DepartmentID or RoleID,and that search directly down the Organizer according to the 'exp' argument.
 java.util.Vector getSubTaskList(java.lang.String parentID)
          Return subtasks of some specific task
 Task getTask(java.lang.String tID)
          Return a data object of task
 java.lang.String getTaskAttachedFileContent(java.lang.String fileID)
          Return file content of specified task attached file
 java.util.Vector getTaskIDListOfMember(java.lang.String mID, int sc, int ec, java.lang.String order)
           
 java.util.Vector getTaskList(java.lang.String user)
           
 java.util.Vector getTaskList(java.lang.String user, int sc, int ex)
           
 java.util.Vector getTaskOfCompany()
           
 java.util.Vector getTaskOfCompany(int state)
           
 java.util.Vector getTaskOfDepartment(java.lang.String dID)
           
 java.util.Vector getTaskOfDepartment(java.lang.String dID, int state)
           
 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 proID)
          Return tasks instantiated of some specific process.
 java.util.Vector getTaskOfProcess(java.lang.String proID, int state)
          Return tasks which are in some state and instantiated of some specific process.
 java.util.Vector getTaskOfRole(java.lang.String rID)
           
 java.util.Vector getTaskOfRole(java.lang.String rID, int state)
           
 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.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
 java.util.Vector getTinyTaskList(java.lang.String user)
           
 java.util.Vector getTinyTaskList(java.lang.String mID, int sc, int ec, java.lang.String order)
           
 java.util.Vector getTinyTaskList(java.lang.String mID, java.util.Vector idList)
           
 java.util.Vector getTranslateArtInsList(java.lang.String aID)
           
 java.util.HashMap getTreeTaskList(java.lang.String user)
           
 int getUncompletePATaskNo(Task parentTask)
           
 long getUserLoginTime(java.lang.String loginID)
           
 int[] getWeek()
           
 int[] getWeek(java.lang.String memID)
           
 java.util.Vector getWorkdays()
           
 java.util.Vector getWorkdays(java.lang.String memID)
           
 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(Task fromTask, java.lang.String toProID, boolean artMode)
          Sets the executing task back to another process which had been executed.
 java.util.HashMap initAgenda(java.lang.String user)
          init Agenda
 void initHoliday()
           
 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
 boolean insert(java.lang.String sqlcmd, java.util.Vector record, java.util.Vector columnTypeList)
           
 void insertPASEGroup(PASEGroup group)
           
 void insertPASESharedFile(PASESharedFile sFile)
           
 void insertScheduleEvent(ScheduleEvent evt)
           
 boolean insertTaskAttachedFile(TaskAttachedFileInfo fileInfo)
          insert some task attached file
 boolean isContainedInPASEGroup(java.lang.String gId, java.lang.String mID)
           
 boolean isHalfHoliday(java.lang.String date)
           
 boolean isHalfHoliday(java.lang.String date, java.lang.String memID)
           
 boolean isHoliday(java.lang.String date)
           
 boolean isHoliday(java.lang.String date, java.lang.String memID)
           
 boolean isLocked(java.lang.String tID)
          Check the task locking state
 boolean isRestSat(java.lang.String date)
           
 boolean isWorkday(java.lang.String date, java.lang.String memID)
           
 void kickout(java.lang.String user)
          logout from server.
 void kickoutAdmin(java.lang.String user)
          logout admin from server.
 java.util.Vector loadValueWithSessionConnection(java.lang.String session, java.lang.String sqlcmd)
           
 void lockTask(java.lang.String tskID)
           
 java.util.HashMap login(java.lang.String user, java.lang.String pass)
          login to server.
 java.util.Map login(java.lang.String user, java.lang.String pass, boolean toCheckDup)
          To authenticate users (it doesn't register).
 java.util.HashMap loginAdmin(java.lang.String user, java.lang.String pass)
          login admin to server.
 void logout(java.lang.String user)
          logout from server.
 void logoutAdmin(java.lang.String user)
          logout admin from server.
 boolean newBBSBoard(BBSBoard bbsBoard)
           
 java.util.HashMap notifyTask(java.lang.String tskID)
           
 java.util.Vector parseAddASResultString(java.lang.String result)
          add by yhtseng
 java.util.Vector parseCSResultString(java.lang.String result, java.util.Vector auditNameList)
           
 void pickQueueTask(Task t)
           
 boolean postBBSMsg(BBSMessage msg)
           
 java.util.HashMap query(java.lang.String sqlcmd)
           
 java.util.HashMap query(java.lang.String sqlcmd, int top)
           
 java.util.HashMap query1(java.lang.String sqlcmd)
           
 boolean reflushProcessManager()
          Cron-related functions
 void registerAdmin(java.lang.String user, AdminRMI client)
          register Admin callback to server.
 void registerClient(java.lang.String user, ClientRMI client)
          register Client callback to server.
 void releaseFileTransfer(java.lang.String id)
           
 boolean removeRootTaskByShell(java.lang.String p_RootTaskID, java.lang.String p_MemID)
           
 void removeScheduleEvent(java.lang.String id)
           
 boolean removeTaskByAdm(java.lang.String p_TaskID)
           
 boolean removeTaskByUser(java.lang.String p_RootTaskID, java.lang.String p_MemID)
          if the user has permission to remove the task, remove the task in Server
 boolean resetDeputyAndDeputyState(java.lang.String p_MyMemID, java.lang.String p_DeputyMemID, boolean p_DeputyState)
           
 boolean resetMemberDelegation(MemberRecord memberRecord)
           
 void rollbackSessionConnection(java.lang.String session)
           
 void runScriptOnServer(java.lang.String code, Task t)
           
 void saveSchedule(java.util.Vector hdays, java.util.Vector h_days, java.util.Vector wdays, int[] w)
           
 java.util.Vector searchData(SearchCondition cond)
          Search Engine Function
 int searchDataCount(SearchCondition cond)
           
 java.util.Vector searchScheduleEvent(ScheduleSearchCondition cond)
           
 void sendHTMLMail(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String text)
           
 void sendHTMLMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text)
           
 void sendHTMLMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList)
           
 void sendHTMLMail(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String text, java.util.Vector fileList)
           
 void sendMail(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String text)
          Send E-Mail through internet.
 void sendMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text)
           
 void sendMail(java.lang.String from, java.lang.String to, java.lang.String cc, java.lang.String subject, java.lang.String text, java.util.Vector fileList)
           
 void sendMail(java.lang.String from, java.lang.String to, java.lang.String subject, java.lang.String text, java.util.Vector fileList)
           
 boolean sendPASEMessage(PASEMessage msg)
          Send message through message-system built in Agentflow
 void sendShortMessageToAdminAll(java.lang.String msg, java.lang.String fromMemID)
           
 void sendShortMessageToAdminUser(java.lang.String msg, java.lang.String fromMemID, java.lang.String toMemID)
           
 void sendShortMessageToAll(java.lang.String msg, java.lang.String fromMemID)
           
 void sendShortMessageToUser(java.lang.String msg, java.lang.String fromMemID, java.lang.String toMemID)
           
 boolean setArtInsState(PASEartInstance artInstance, java.lang.String stateID)
          Return true for success, else false
 void setGlobals(java.lang.String rootTaskID, java.util.HashMap args)
           
 boolean setMemberAccess(java.lang.String memID, AccessMember access)
           
 boolean setMemberAdminAccess(java.lang.String memID, AccessAdmin access)
           
 boolean setMemberArtifactAccess(java.lang.String memID, java.util.Vector artifactAccessList)
           
 boolean setMemberOnLineAccess(java.lang.String memID, AccessOnLineUser access)
           
 boolean setMemberTaskAccess(java.lang.String memID, java.util.Vector taskAccessList)
           
 boolean setMonitorRelation(java.lang.String sourceTaskID, java.lang.String createdRootTaskID)
           
 boolean setMonitorRelation(java.lang.String sourceTaskID, java.util.Vector createdRootTaskIDs)
           
 void setPersonalConfig(PersonalConfig config)
           
 boolean shutdownServer()
          stop server.
 boolean SQLdeleteValue(java.lang.String sql)
          The method is used to delete value from database (the RTRepository)
 boolean SQLinsertValue(java.lang.String sql)
          The method is used to insert value to database (the RTRepository)
 java.util.Vector SQLloadValue(java.lang.String sql)
          The method is used to load value from database (the RTRepository)
 boolean SQLupdateValue(java.lang.String sql)
          The method is used to update value to database (the RTRepository)
 boolean startServer()
          start server.
 java.util.HashMap startTask(Task t)
          Start the task
 void stopRootTask(java.lang.String rootID)
           
 boolean suspendBBSBoard(java.lang.String bbsBoardID)
           
 java.util.HashMap suspendTask(Task t)
          suspend Task
 void unlockCoSign(java.lang.String rt_proID)
           
 void unlockTask(java.lang.String tskID)
           
 boolean update(java.lang.String sqlcmd, java.util.Vector newRecord, java.util.Vector newColumnTypeList, java.util.Vector oldRecord, java.util.Vector oldColumnTypeList)
           
 boolean updateArtInstance(PASEartInstance instance)
          Update artifact instance
 boolean updateArtInstanceLog(java.lang.String tID, PASEartInstance instance)
          Update artifact instance log
 boolean updateAttachFileInfo(java.lang.String attachCmpName, AttachFileInfo fileInfo)
          Return if updating is successful
 boolean updateBBSBoard(BBSBoard bbsBoard)
           
 boolean updateMemberRecord(MemberRecord mbr)
           
 void updatePASEGroup(PASEGroup group)
           
 boolean updatePASEMessage(PASEMessage msg)
           
 void updatePASESharedFile(PASESharedFile sFile)
           
 void updateScheduleEvent(ScheduleEvent evt)
           
 boolean updateTask(Task t)
          Update the data object of task.
 boolean updateTaskState(Task t)
          Update the state of task.
 boolean updateValueWithSessionConnection(java.lang.String session, java.lang.String sqlcmd)
           
 void waitTask(java.lang.String tskID)
           
 void waitTask(java.lang.String tskID, java.lang.String timeString)
           
 

Field Detail

CACHE_TYPE_ALL

static final java.lang.String CACHE_TYPE_ALL
See Also:
Constant Field Values

CACHE_TYPE_ARTIFACT

static final java.lang.String CACHE_TYPE_ARTIFACT
See Also:
Constant Field Values

CACHE_TYPE_ORG

static final java.lang.String CACHE_TYPE_ORG
See Also:
Constant Field Values

CACHE_TYPE_PROCESS

static final java.lang.String CACHE_TYPE_PROCESS
See Also:
Constant Field Values

CACHE_TYPE_TASK

static final java.lang.String CACHE_TYPE_TASK
See Also:
Constant Field Values
Method Detail

activeBBSBoard

boolean activeBBSBoard(java.lang.String bbsBoardID)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addDebugLog

void addDebugLog(java.lang.String msg)
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addErrLog

void addErrLog(java.lang.String msg)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addExeLog

void addExeLog(java.lang.String msg)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addFreqApRole

boolean addFreqApRole(java.lang.String freID,
                      java.lang.String rolID)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addInfoLog

void addInfoLog(java.lang.String msg)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addMonitorRelation

boolean addMonitorRelation(java.lang.String sourceTaskID,
                           java.lang.String createdRootTaskID)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addMonitorRelation

boolean addMonitorRelation(java.lang.String sourceTaskID,
                           java.util.Vector createdRootTaskIDs)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addNewSessionConnectionURL

int addNewSessionConnectionURL(int type,
                               java.lang.String name,
                               java.lang.String dburl,
                               java.lang.String username,
                               java.lang.String password)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addSessionConnectionURL

void addSessionConnectionURL(int seq,
                             int type,
                             java.lang.String dburl,
                             java.lang.String username,
                             java.lang.String password)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addSessionConnectionURL

void addSessionConnectionURL(int seq,
                             int type,
                             java.lang.String name,
                             java.lang.String dburl,
                             java.lang.String username,
                             java.lang.String password)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addWarningLog

void addWarningLog(java.lang.String msg)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

ArtSQLloadValue

java.util.Vector ArtSQLloadValue(java.lang.String sql)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

asynGetRootTaskSummaryOfJoinMember

int asynGetRootTaskSummaryOfJoinMember(java.lang.String mID,
                                       int state)
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

asynGetTaskOfMember

int asynGetTaskOfMember(java.lang.String user)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

batchProcess

java.util.Vector batchProcess(java.util.Vector completeTask,
                              java.util.Vector removeTask,
                              java.util.Vector createPro)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

bypassTask

boolean bypassTask(Task p_Task,
                   java.lang.String p_AstID)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

cancelTaskInClient

boolean cancelTaskInClient(Task t)
                           throws java.rmi.RemoteException
Cancel the client side Task. (using the Task to find the user ID.)

Parameters:
t - the given Task
Returns:
true for success.
Throws:
java.rmi.RemoteException

cancelTaskInClient

boolean cancelTaskInClient(Task t,
                           java.lang.String loginID)
                           throws java.rmi.RemoteException
Cancel the client side Task

Parameters:
t - the given Task
loginID - the user login ID
Returns:
true for success.
Throws:
java.rmi.RemoteException

canPrintPASESharedFile

boolean canPrintPASESharedFile(java.lang.String fId,
                               java.lang.String mId)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

canReadPASESharedFile

boolean canReadPASESharedFile(java.lang.String fId,
                              java.lang.String mId)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

canWritePASESharedFile

boolean canWritePASESharedFile(java.lang.String fId,
                               java.lang.String mId)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

changePassword

boolean changePassword(java.lang.String loginID,
                       java.lang.String newPwd)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

changePassword

boolean changePassword(java.lang.String mbrID,
                       java.lang.String oldPwd,
                       java.lang.String newPwd)
                       throws java.rmi.RemoteException
The method is used to change the password of some member. The changing is performed only while the original password is correct.

Parameters:
mbrID - the given MemberID
oldPwd - original password
newPwd - new password
Throws:
java.rmi.RemoteException

clearCache

void clearCache()
                throws java.rmi.RemoteException
clear server cache.

Throws:
java.rmi.RemoteException

clearCache

void clearCache(java.lang.String type)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

closeSessionConnection

void closeSessionConnection(java.lang.String session)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

commitSessionConnection

void commitSessionConnection(java.lang.String session)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

completeTask

java.util.HashMap completeTask(Task t)
                               throws java.rmi.RemoteException
Complete the task

Parameters:
t - the given Task
Returns:
the result ( [Key:Value] = [retValue:Boolean(true)] )
Throws:
java.rmi.RemoteException

completeTask

java.util.HashMap completeTask(Task t,
                               java.lang.String stateID)
                               throws java.rmi.RemoteException
Complete the task with changing artifact state

Parameters:
t - the given Task , stateID the prefer state.
Returns:
the result ( [Key:Value] = [retValue:Boolean(true)] )
Throws:
java.rmi.RemoteException

createArtInstance

PASEartInstance createArtInstance(java.lang.String aID)
                                  throws java.rmi.RemoteException
Create artifact instance

Parameters:
iID - the given ArtifactID
Returns:
the artifact instance
Throws:
java.rmi.RemoteException
Since:
version 1.1
See Also:
PASEartInstance

createFreqArtInstance

PASEartInstance createFreqArtInstance(java.lang.String aID)
                                      throws java.rmi.RemoteException
Create artifact instance, for FreqAp use

Parameters:
iID - the given ArtifactID
Returns:
the artifact instance
Throws:
java.rmi.RemoteException
Since:
version 1.1
See Also:
PASEartInstance

createPASEGroup

PASEGroup createPASEGroup()
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createPASESharedFile

PASESharedFile createPASESharedFile()
                                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createProcess

java.lang.String createProcess(java.lang.String userID,
                               java.lang.String proID,
                               java.util.HashMap args,
                               boolean isPopUp,
                               boolean isDelible)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createProcessEx

java.util.HashMap createProcessEx(java.lang.String flag,
                                  java.lang.String loginID,
                                  java.lang.String proID,
                                  java.lang.String subject,
                                  int priority,
                                  java.util.Vector fileList,
                                  java.util.HashMap args,
                                  java.util.HashMap artifactArgs)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createScheduleEvent

ScheduleEvent createScheduleEvent()
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createSessionConnectionKey

java.lang.String createSessionConnectionKey(int sequence)
                                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createSessionConnectionKey

java.lang.String createSessionConnectionKey(java.lang.String name)
                                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

delBBSMsg

boolean delBBSMsg(java.lang.String bbsBoardID,
                  java.lang.String msgID)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

delete

boolean delete(java.lang.String sqlcmd)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

delete

boolean delete(java.lang.String sqlcmd,
               java.util.Vector record,
               java.util.Vector columnTypeList)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteBBSBoard

boolean deleteBBSBoard(java.lang.String bbsBoardID)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteGlobals

boolean deleteGlobals(java.lang.String rootTaskID)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deletePASEGroup

void deletePASEGroup(java.lang.String id)
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deletePASEMessage

boolean deletePASEMessage(PASEMessage msg)
                          throws java.rmi.RemoteException
Delete message from database

Parameters:
msg - the given message. msg.SendID, msg.RecID, msg.SendTime are used as key to delete the message.
Throws:
java.rmi.RemoteException
See Also:
PASEMessage

deletePASEMessageByID

boolean deletePASEMessageByID(java.lang.String msgID)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deletePASESharedFile

void deletePASESharedFile(java.lang.String fId)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteSessionConnectionURL

java.util.HashMap deleteSessionConnectionURL(java.lang.String name)
                                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteTaskAttachedFile

boolean deleteTaskAttachedFile(java.lang.String fileID)
                               throws java.rmi.RemoteException
delete some task attached file

Parameters:
fileID - the given FileID
Returns:
if deletion is successful
Throws:
java.rmi.RemoteException

forceCompleteATask

boolean forceCompleteATask(Task parentTask)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

forceReassignTask

boolean forceReassignTask(java.lang.String p_TaskID,
                          java.lang.String p_MemID)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

forceReassignTask

boolean forceReassignTask(Task p_Task,
                          MemberRecord p_MR)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAdminLoginTime

long getAdminLoginTime(java.lang.String loginID)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAllBBSBoard

java.util.Vector getAllBBSBoard()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAllDepartmentByName

java.util.Vector getAllDepartmentByName(java.lang.String mName)
                                        throws java.rmi.RemoteException
Return all data object of Department by Chinese-Name

Parameters:
mName - the given DepartmentCName
Returns:
the Vector of Department
Throws:
java.rmi.RemoteException
See Also:
Department

getAllDepNameOfCompany

java.util.Vector getAllDepNameOfCompany()
                                        throws java.rmi.RemoteException
Return all Department Name in the company

Returns:
the Vector of Department
Throws:
java.rmi.RemoteException
See Also:
Department

getAllMember

java.util.Vector getAllMember()
                              throws java.rmi.RemoteException
Get All MemberRecord Objects of the system.

Returns:
all MemberRecords (each element in Vector are instance of MemberRecord)
Throws:
java.rmi.RemoteException
See Also:
MemberRecord

getAllMemberByCName

java.util.Vector getAllMemberByCName(java.lang.String mName)
                                     throws java.rmi.RemoteException
Get All MemberRecord Objects by the same Name.

Parameters:
mName - the given MemberName
Returns:
all MemberRecords (each element in Vector are instance of MemberRecord)
Throws:
java.rmi.RemoteException
See Also:
MemberRecord

getAllProjectRoleByName

java.util.Vector getAllProjectRoleByName(java.lang.String mName)
                                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAllRoleByName

java.util.Vector getAllRoleByName(java.lang.String mName)
                                  throws java.rmi.RemoteException
Get All Role Objects by the same Name.

Parameters:
mName - the given RoleName
Returns:
all roless (each element in Vector are instance of Role)
Throws:
java.rmi.RemoteException
See Also:
Role

getAllRoleNameOfCompany

java.util.Vector getAllRoleNameOfCompany()
                                         throws java.rmi.RemoteException
Get All Role Name in the company.

Returns:
all RoleName (each element in Vector are RoleName)
Throws:
java.rmi.RemoteException
See Also:
Role

getApprovalHistoryRootTaskOfJoinMember

java.util.Vector getApprovalHistoryRootTaskOfJoinMember(java.lang.String mbrID)
                                                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getArtifact

Artifact getArtifact(java.lang.String aID)
                     throws java.rmi.RemoteException
Return a data object of artifact

Parameters:
aID - the given ArtifactID
Returns:
the artifact
Throws:
java.rmi.RemoteException

getArtifactForm

java.util.Vector getArtifactForm(java.lang.String aID)
                                 throws java.rmi.RemoteException
Return artifact forms of some specific artifact

Parameters:
aID - the given ArtifactID
Returns:
the correspondence artifact forms(each elemen in Vector are instance of ArtFormItem)
Throws:
java.rmi.RemoteException
See Also:
ArtFormItem

getArtifactOfCompany

java.util.Vector getArtifactOfCompany()
                                      throws java.rmi.RemoteException
Return all artifacts

Returns:
all artifacts (each elemen in Vector are instance of Artifact)
Throws:
java.rmi.RemoteException
See Also:
Artifact

getArtifactOfProject

java.util.Vector getArtifactOfProject(java.lang.String prjID)
                                      throws java.rmi.RemoteException
Return all artifact of some specific project

Parameters:
prjID - the given ProjectID
Returns:
the correspondence artifacts(each elemen in Vector are instance of Artifact)
Throws:
java.rmi.RemoteException
See Also:
Artifact

getArtInstance

PASEartInstance getArtInstance(java.lang.String iID)
                               throws java.rmi.RemoteException
Return a data object of artifact instance with current Task

Parameters:
iID - the given ArtifactInstanceID
Returns:
the artifact instance
Throws:
java.rmi.RemoteException
See Also:
getArtInstance

getArtInstance

PASEartInstance getArtInstance(java.lang.String iID,
                               java.lang.String tID)
                               throws java.rmi.RemoteException
Return a data object of artifact instance with specific task

Parameters:
iID - the given ArtifactInstanceID
Returns:
the artifact instance
Throws:
java.rmi.RemoteException
See Also:
getArtInstance

getArtInstanceOfArtifact

java.util.Vector getArtInstanceOfArtifact(java.lang.String aID)
                                          throws java.rmi.RemoteException
Return all artifact instances instanciated by some specific artifact.

Parameters:
aID - the given ArtifactID
Returns:
the correspodence artifact instances(each element in Vector are instance of PASEartInstance)
Throws:
java.rmi.RemoteException
Since:
version 1.1.5
See Also:
PASEartInstance

getArtTskID

java.lang.String getArtTskID(java.lang.String iID)
                             throws java.rmi.RemoteException
Get the latest associated TaskID with the Artifact Instance.

Parameters:
iID - the given artifact instance id
Returns:
the latest TaskID
Throws:
java.rmi.RemoteException
Since:
version 1.2

getATaskNote

java.util.HashMap getATaskNote(java.lang.String tskID)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getBBSBoard

java.util.Vector getBBSBoard()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getBBSBoard

BBSBoard getBBSBoard(java.lang.String bbsBoardID)
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getBBSMsg

BBSMessage getBBSMsg(java.lang.String msgID)
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getBBSMsgList

java.util.Vector getBBSMsgList(java.lang.String bbsBoardID)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCompany

Company getCompany()
                   throws java.rmi.RemoteException
Return a data object of company

Returns:
the company
Throws:
java.rmi.RemoteException
See Also:
Company

getCompany

Company getCompany(java.lang.String comID)
                   throws java.rmi.RemoteException
Return a data object of company by a specified company id

Returns:
the company
Throws:
java.rmi.RemoteException
See Also:
Company

getCSLockHashtable

java.util.Hashtable getCSLockHashtable()
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCSTaskNote

java.util.HashMap getCSTaskNote(java.lang.String tskID)
                                throws java.rmi.RemoteException
get CSTask Note

Parameters:
rootTID - the given rootTaskID
Returns:
the result ( [Key:Value] = [data:AllCSTaskNote(String)] ; [retValue:Boolean(true/false)])
Throws:
java.rmi.RemoteException

getDBProcess

DBProcess getDBProcess(java.lang.String pID)
                       throws java.rmi.RemoteException
Return a data object of process

Parameters:
pID - the given ProcessID
Returns:
the process
Throws:
java.rmi.RemoteException
See Also:
DBProcess

getDepartment

Department getDepartment(java.lang.String dID)
                         throws java.rmi.RemoteException
Return a data object of department by ID

Parameters:
dID - the given DepartmentID
Returns:
the department
Throws:
java.rmi.RemoteException
See Also:
Department

getDepartmentListOfPASEGroup

java.util.Vector getDepartmentListOfPASEGroup(java.lang.String gId)
                                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getEnterpriseDiagram

EnterpriseModel getEnterpriseDiagram()
                                     throws java.rmi.RemoteException
Get Enterprise diagram

Returns:
enterprise diagram
Throws:
java.rmi.RemoteException
See Also:
EnterpriseModel

getFileTransfer

pe.filesystem.FileTransfer getFileTransfer()
                                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getFreqApItemList

java.util.Vector getFreqApItemList()
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getFreqApListOfMember

java.util.Vector getFreqApListOfMember(java.lang.String memID)
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getFreqApNodeList

java.util.Vector getFreqApNodeList()
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getGlobals

java.util.HashMap getGlobals(java.lang.String rootTaskID)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getGroupSignProcess

java.util.Vector getGroupSignProcess(java.lang.String memID)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getHalfHolidays

java.util.Vector getHalfHolidays()
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getHalfHolidays

java.util.Vector getHalfHolidays(java.lang.String memID)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getHistoryRootTaskOfJoinMember

java.util.Vector getHistoryRootTaskOfJoinMember(java.lang.String mbrID)
                                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getHolidays

java.util.Vector getHolidays()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getHolidays

java.util.Vector getHolidays(java.lang.String memID)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getInvolvedExecutors

java.util.Vector getInvolvedExecutors(java.lang.String rootTaskID)
                                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getInvolvedMembers

java.util.Vector getInvolvedMembers(java.lang.String rootTaskID)
                                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getManagerRole

Role getManagerRole(java.lang.String id)
                    throws java.rmi.RemoteException
Return a data object of Manager Role by id

Parameters:
id - the given MemberID, RoleID, DepID, "company"
Returns:
the manager Role object
Throws:
java.rmi.RemoteException
See Also:
MemberRecord, Role, Department

getMember

MemberRecord getMember(java.lang.String id)
                       throws java.rmi.RemoteException
Return a data object of member by ID, LoginID, or Chinese-Name. The method is used while the content of parameter has not been known. Otherwise, methods getMemberByID(), getMemberByName(), getMemberByCName() is more applied.

Parameters:
mID - the given MemberID, MemberLoginID, or MemberCName
Returns:
the member
Throws:
java.rmi.RemoteException
See Also:
MemberRecord, getMemberByID(String), getMemberByName(String), getMemberByCName(String)

getMemberAccess

AccessMember getMemberAccess(java.lang.String memID)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getMemberAdminAccess

AccessAdmin getMemberAdminAccess(java.lang.String memID)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getMemberArtifactAccess

java.util.Vector getMemberArtifactAccess(java.lang.String memID)
                                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getMemberByCName

MemberRecord getMemberByCName(java.lang.String mName)
                              throws java.rmi.RemoteException
Return a data object of member by Chinese-Name

Parameters:
mLoginID - the given MemberCName
Returns:
the member
Throws:
java.rmi.RemoteException
See Also:
MemberRecord

getMemberByID

MemberRecord getMemberByID(java.lang.String mID)
                           throws java.rmi.RemoteException
Return a data object of member by ID

Parameters:
mID - the given MemberID
Returns:
the member
Throws:
java.rmi.RemoteException
See Also:
MemberRecord

getMemberByName

MemberRecord getMemberByName(java.lang.String mLoginID)
                             throws java.rmi.RemoteException
Return a data object of member by LoginID

Parameters:
mID - the given MemberLoginID
Returns:
the member
Throws:
java.rmi.RemoteException
See Also:
MemberRecord

getMemberListOfPASEGroup

java.util.Vector getMemberListOfPASEGroup(java.lang.String gId)
                                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getMemberOnLineAccess

AccessOnLineUser getMemberOnLineAccess(java.lang.String memID)
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getMemberTaskAccess

java.util.Vector getMemberTaskAccess(java.lang.String memID)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNewArtInsID

java.lang.String getNewArtInsID()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNewBBSMsgID

java.lang.String getNewBBSMsgID()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNewFileID

java.lang.String getNewFileID()
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNewMsgID

java.lang.String getNewMsgID()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNewTaskID

java.lang.String getNewTaskID()
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getOneCompanyByName

Company getOneCompanyByName(java.lang.String mName)
                            throws java.rmi.RemoteException
Return a data object of Company by Chinese-Name

Parameters:
mName - the given CompanyCName
Returns:
the Company
Throws:
java.rmi.RemoteException
See Also:
Company

getOneDepartmentByName

Department getOneDepartmentByName(java.lang.String mName)
                                  throws java.rmi.RemoteException
Return a data object of Department by Chinese-Name

Parameters:
mName - the given DepartmentCName
Returns:
the Department
Throws:
java.rmi.RemoteException
See Also:
Department

getOneRoleByName

Role getOneRoleByName(java.lang.String mName)
                      throws java.rmi.RemoteException
Return a data object of Role by Chinese-Name

Parameters:
mName - the given RoleCName
Returns:
the member
Throws:
java.rmi.RemoteException
See Also:
Role

getOnlineAdminUser

java.util.Vector getOnlineAdminUser()
                                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getOnlineUser

java.util.Vector getOnlineUser()
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPASEFreqAp

PASEFreqAp getPASEFreqAp(java.lang.String fID)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPASEGroup

PASEGroup getPASEGroup(java.lang.String id)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPASEGroupList

java.util.Vector getPASEGroupList()
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPASEGroupListByIdList

java.util.List getPASEGroupListByIdList(java.util.Vector idList)
                                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPASEMessageOfMember

java.util.Vector getPASEMessageOfMember(java.lang.String mID)
                                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPASEOrgModel

PASEOrgModel getPASEOrgModel()
                             throws java.rmi.RemoteException
Get Enterprise Org model

Returns:
PASEOrgModel
Throws:
java.rmi.RemoteException
See Also:
PASEOrgModel

getPASEProcessOfMember

java.util.Vector getPASEProcessOfMember(java.lang.String mID)
                                        throws java.rmi.RemoteException
Return the root processes of some specific member

Parameters:
mID - the given MemberID
Returns:
the correspondence root processes(each elemen in Vector are instance of PASEProcess)
Throws:
java.rmi.RemoteException
See Also:
PASEProcess

getPASESharedFile

PASESharedFile getPASESharedFile(java.lang.String fId)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPASESharedFileByPath

PASESharedFile getPASESharedFileByPath(java.lang.String fPath)
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPDiagramDetail

java.util.Vector getPDiagramDetail(java.lang.String rootTID)
                                   throws java.rmi.RemoteException
Return the detail of process diagram

Parameters:
rootTID - the given rootTaskID
Returns:
the detail information in process diagram
Throws:
java.rmi.RemoteException
See Also:
PDiagramManager, PDiagramManager.getPDiagramDetail

getPDiagramState

java.util.HashMap getPDiagramState(java.lang.String rootTID)
                                   throws java.rmi.RemoteException
Return the states of process diagram

Parameters:
rootPID - the given ProcessID
Returns:
the process diagram states
Throws:
java.rmi.RemoteException
See Also:
PDiagramManager, PDiagramManager.getPDiagramState

getPersonalConfig

PersonalConfig getPersonalConfig(java.lang.String mId)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getProcessDiagram

java.util.HashMap getProcessDiagram(java.lang.String rootPID,
                                    java.lang.String rootTaskID)
                                    throws java.rmi.RemoteException
Return a process diagram

Parameters:
rootPID - the given ProcessID
Returns:
the process diagram
Throws:
java.rmi.RemoteException
See Also:
PDiagramManager, PDiagramManager.getProcessDiagram

getProcessDiagramAndState

java.util.HashMap getProcessDiagramAndState(java.lang.String rootPID,
                                            java.lang.String rootTaskID)
                                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getProcessList

java.util.Vector getProcessList(java.lang.String userID)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getProductInfo

java.util.HashMap getProductInfo()
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getProject

Project getProject(java.lang.String prjID)
                   throws java.rmi.RemoteException
Return a data object of project by ID

Parameters:
prjID - the given ProjectID
Returns:
the project
Throws:
java.rmi.RemoteException
See Also:
Project

getProjectOfCompany

java.util.Vector getProjectOfCompany()
                                     throws java.rmi.RemoteException
Return all projects

Returns:
all projects (each elemen in Vector are instance of Project)
Throws:
java.rmi.RemoteException
See Also:
Project

getProjectOfDepartment

java.util.Vector getProjectOfDepartment(java.lang.String dID)
                                        throws java.rmi.RemoteException
Return the projects of some specific department

Parameters:
dID - the given DepartmentID
Returns:
all projects (each elemen in Vector are instance of Project)
Throws:
java.rmi.RemoteException
See Also:
Project

getProjectOfManager

java.util.Vector getProjectOfManager(java.lang.String managerID)
                                     throws java.rmi.RemoteException
Return the projects with some specific project manager

Parameters:
managerID - the given MemberID
Returns:
all projects (each elemen in Vector are instance of Project)
Throws:
java.rmi.RemoteException
See Also:
Project

getProjectOfPASEProcess

Project getProjectOfPASEProcess(java.lang.String proID)
                                throws java.rmi.RemoteException
Return the project of the PASEProcess.

Parameters:
proID - the given PASEProcessID
Returns:
the project
Throws:
java.rmi.RemoteException
See Also:
Project

getProjectRole

ProjectRole getProjectRole(java.lang.String rID)
                           throws java.rmi.RemoteException
Return a data object of project role by ID

Parameters:
rID - the given ProjectRoleID
Returns:
the project role
Throws:
java.rmi.RemoteException
See Also:
ProjectRole

getRequestHistoryRootTaskOfJoinMember

java.util.Vector getRequestHistoryRootTaskOfJoinMember(java.lang.String mbrID)
                                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getRole

Role getRole(java.lang.String rID)
             throws java.rmi.RemoteException
Return a data object of role by ID

Parameters:
dID - the given RoleID
Returns:
the role
Throws:
java.rmi.RemoteException
See Also:
Role

getRoleListOfPASEGroup

java.util.Vector getRoleListOfPASEGroup(java.lang.String gId)
                                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getRootDBProcessByName

java.util.Vector getRootDBProcessByName(java.lang.String pName)
                                        throws java.rmi.RemoteException
Return all root process of some specific DBProcess

Parameters:
pName - the given ProjectName
Returns:
the correspondence root process(each elemen in Vector are instance of DBProcess)
Throws:
java.rmi.RemoteException
See Also:
DBProcess

getRootDBProcessOfProject

java.util.Vector getRootDBProcessOfProject(java.lang.String prjID)
                                           throws java.rmi.RemoteException
Return all root process of some specific project

Parameters:
prjID - the given ProjectID
Returns:
the correspondence root process(each elemen in Vector are instance of DBProcess)
Throws:
java.rmi.RemoteException
See Also:
DBProcess

getRootTaskOfJoinMember

java.util.Vector getRootTaskOfJoinMember(java.lang.String mID)
                                         throws java.rmi.RemoteException
Return Root tasks executed by some specific member, including deputy

Parameters:
mID - the given MemberID
Returns:
all correspondence root tasks
Throws:
java.rmi.RemoteException
See Also:
Task

getRootTaskOfJoinMember

java.util.Vector getRootTaskOfJoinMember(java.lang.String mID,
                                         int state)
                                         throws java.rmi.RemoteException
Return Root tasks executed by some specific member and states, including deputy

Parameters:
mID - the given MemberID
state - the given state
Returns:
all correspondence root tasks
Throws:
java.rmi.RemoteException
See Also:
Task

getRootTaskOfJoinMember

java.util.Vector getRootTaskOfJoinMember(java.lang.String mID,
                                         java.lang.String proID)
                                         throws java.rmi.RemoteException
Return Root tasks executed by some specific member and states, including deputy

Parameters:
mID - the given MemberID
proID - the given ProcessID
Returns:
all correspondence root tasks
Throws:
java.rmi.RemoteException
See Also:
Task

getRootTaskOfMember

java.util.Vector getRootTaskOfMember(java.lang.String mID)
                                     throws java.rmi.RemoteException
Return Root tasks executed by some specific member, deputy exclusively

Parameters:
mID - the given MemberID
Returns:
all correspondence root tasks
Throws:
java.rmi.RemoteException
See Also:
Task

getRootTaskOfMember

java.util.Vector getRootTaskOfMember(java.lang.String mID,
                                     int state)
                                     throws java.rmi.RemoteException
Return Root tasks executed by some specific member and states, deputy exclusively

Parameters:
mID - the given MemberID
state - the given state
Returns:
all correspondence root tasks
Throws:
java.rmi.RemoteException
See Also:
Task

getRootTaskSummaryOfJoinMember

java.util.Vector getRootTaskSummaryOfJoinMember(java.lang.String mID,
                                                int state)
                                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getScheduleEvent

ScheduleEvent getScheduleEvent(java.lang.String id)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSequelProIDList

java.util.Vector getSequelProIDList(java.lang.String pID,
                                    java.lang.String rootTaskID)
                                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getServerStatus

java.util.HashMap getServerStatus()
                                  throws java.rmi.RemoteException
get server status.

Throws:
java.rmi.RemoteException

getServerTime

long getServerTime()
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSessionConnectionURL

java.util.HashMap getSessionConnectionURL(int sequence)
                                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSessionConnectionURL

java.util.HashMap getSessionConnectionURL(java.lang.String name)
                                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSessionConnectionURLList

java.util.Vector getSessionConnectionURLList()
                                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSignatureImage

java.lang.String getSignatureImage(java.lang.String mbrID)
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSubDepNameOfDR

java.util.Vector getSubDepNameOfDR(java.lang.String id,
                                   boolean exp)
                                   throws java.rmi.RemoteException
Get sub-Department's Name by specified DepartmentID or RoleID,and that search directly down the Organizer according to the 'exp' argument.

Parameters:
id - the given DepartmentID or RoleID
exp - the given true if it will expand all sub-node and get it's department Name ;false otherwise.
Returns:
dpartment Name (each element in Vector are DepartmentName)
Throws:
java.rmi.RemoteException
See Also:
Department

getSubMemberCNameOfDR

java.util.Vector getSubMemberCNameOfDR(java.lang.String id,
                                       boolean exp)
                                       throws java.rmi.RemoteException
Get sub-Member's Name by specified DepartmentID or RoleID,and that search directly down the Organizer according to the 'exp' argument.

Parameters:
id - the given DepartmentID or RoleID
exp - the given true if it will expand all sub-node and get it's member Name ;false otherwise.
Returns:
member Name (each element in Vector are MemberName)
Throws:
java.rmi.RemoteException
See Also:
MemberRecord

getSubMemListOfMember

java.util.Vector getSubMemListOfMember(java.lang.String mID)
                                       throws java.rmi.RemoteException
Return Vector of Member's 所有下屬的 memID

Parameters:
mID - the given MemberID
Returns:
Vector of memID
Throws:
java.rmi.RemoteException

getSubRoleNameOfDR

java.util.Vector getSubRoleNameOfDR(java.lang.String id,
                                    boolean exp)
                                    throws java.rmi.RemoteException
Get sub-Role's Name by specified DepartmentID or RoleID,and that search directly down the Organizer according to the 'exp' argument.

Parameters:
id - the given DepartmentID or RoleID
exp - the given true if it will expand all sub-node and get it's role Name ;false otherwise.
Returns:
role Name (each element in Vector are RoleName)
Throws:
java.rmi.RemoteException
See Also:
Role

getSubTaskList

java.util.Vector getSubTaskList(java.lang.String parentID)
                                throws java.rmi.RemoteException
Return subtasks of some specific task

Parameters:
parentTID - the given TaskID
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
Throws:
java.rmi.RemoteException
See Also:
Task

getTask

Task getTask(java.lang.String tID)
             throws java.rmi.RemoteException
Return a data object of task

Parameters:
tID - the given TaskID
Returns:
the task
Throws:
java.rmi.RemoteException
See Also:
Task

getTaskAttachedFileContent

java.lang.String getTaskAttachedFileContent(java.lang.String fileID)
                                            throws java.rmi.RemoteException
Return file content of specified task attached file

Parameters:
fileID - the given FileID
Returns:
file content of specified task attached file
Throws:
java.rmi.RemoteException

getTaskIDListOfMember

java.util.Vector getTaskIDListOfMember(java.lang.String mID,
                                       int sc,
                                       int ec,
                                       java.lang.String order)
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTaskList

java.util.Vector getTaskList(java.lang.String user)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTaskList

java.util.Vector getTaskList(java.lang.String user,
                             int sc,
                             int ex)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTaskOfCompany

java.util.Vector getTaskOfCompany()
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTaskOfCompany

java.util.Vector getTaskOfCompany(int state)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTaskOfDepartment

java.util.Vector getTaskOfDepartment(java.lang.String dID)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTaskOfDepartment

java.util.Vector getTaskOfDepartment(java.lang.String dID,
                                     int state)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTaskOfMember

java.util.Vector getTaskOfMember(java.lang.String mID)
                                 throws java.rmi.RemoteException
Return tasks executed by some specific member

Parameters:
mID - the given MemberID
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
Throws:
java.rmi.RemoteException
See Also:
Task

getTaskOfMember

java.util.Vector getTaskOfMember(java.lang.String mID,
                                 int state)
                                 throws java.rmi.RemoteException
Return tasks which in some state and executed by some specific member

Parameters:
mID - the given MemberID
state - the given TaskState
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
Throws:
java.rmi.RemoteException
See Also:
Task

getTaskOfProcess

java.util.Vector getTaskOfProcess(java.lang.String proID)
                                  throws java.rmi.RemoteException
Return tasks instantiated of some specific process.

Parameters:
proID - the given ProcessID
Returns:
all correspondence tasks (each element in Vector are instance of Task)
Throws:
java.rmi.RemoteException
Since:
version 1.0.0
See Also:
Task

getTaskOfProcess

java.util.Vector getTaskOfProcess(java.lang.String proID,
                                  int state)
                                  throws java.rmi.RemoteException
Return tasks which are in some state and instantiated of some specific process.

Parameters:
proID - the given ProcessID
state - the given TaskState
Returns:
all correspondence tasks (each element in Vector are instance of Task)
Throws:
java.rmi.RemoteException
Since:
version 1.0.0
See Also:
Task

getTaskOfRole

java.util.Vector getTaskOfRole(java.lang.String rID)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTaskOfRole

java.util.Vector getTaskOfRole(java.lang.String rID,
                               int state)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTaskOfRootTask

java.util.Vector getTaskOfRootTask(java.lang.String rootTID)
                                   throws java.rmi.RemoteException
Return tasks of some specific root task

Parameters:
rootTID - the given TaskID
Returns:
all correspondence tasks (each elemen in Vector are instance of Task)
Throws:
java.rmi.RemoteException
See Also:
Task

getTinyPDiagramDetail

java.util.Vector getTinyPDiagramDetail(java.lang.String rootTID,
                                       java.lang.String memID)
                                       throws java.rmi.RemoteException
Return the detail of process diagram

Parameters:
rootTID - the given rootTaskID
memID - the given member ID for permission check
Returns:
the detail information in process diagram
Throws:
java.rmi.RemoteException
See Also:
PDiagramManager, PDiagramManager.getPDiagramDetail

getTinyRootTaskOfJoinMember

java.util.Vector getTinyRootTaskOfJoinMember(java.lang.String mID)
                                             throws java.rmi.RemoteException
Return Root TinyTask(s) executed by some specific member, including deputy

Parameters:
mID - the given MemberID
Returns:
all correspondence tiny root tasks
Throws:
java.rmi.RemoteException
See Also:
TinyTask

getTinyRootTaskOfJoinMember

java.util.Vector getTinyRootTaskOfJoinMember(java.lang.String mID,
                                             java.lang.String proID)
                                             throws java.rmi.RemoteException
Return Root TinyTask(s) executed by some specific member, including deputy

Parameters:
mID - the given MemberID
proID - the given ProcessID
Returns:
all correspondence tiny root tasks
Throws:
java.rmi.RemoteException
See Also:
TinyTask

getTinyTaskList

java.util.Vector getTinyTaskList(java.lang.String user)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTinyTaskList

java.util.Vector getTinyTaskList(java.lang.String mID,
                                 int sc,
                                 int ec,
                                 java.lang.String order)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTinyTaskList

java.util.Vector getTinyTaskList(java.lang.String mID,
                                 java.util.Vector idList)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTranslateArtInsList

java.util.Vector getTranslateArtInsList(java.lang.String aID)
                                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTreeTaskList

java.util.HashMap getTreeTaskList(java.lang.String user)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getUncompletePATaskNo

int getUncompletePATaskNo(Task parentTask)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getUserLoginTime

long getUserLoginTime(java.lang.String loginID)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getWeek

int[] getWeek()
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getWeek

int[] getWeek(java.lang.String memID)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getWorkdays

java.util.Vector getWorkdays()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getWorkdays

java.util.Vector getWorkdays(java.lang.String memID)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

goBackTo

boolean goBackTo(java.lang.String fromTaskID,
                 java.lang.String toProID,
                 boolean artMode)
                 throws java.rmi.RemoteException
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);
 

Parameters:
fromTaskID - a Task ID.
toProID - a 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 succeed; false otherwise.
Throws:
java.rmi.RemoteException
See Also:
Task

goBackTo

boolean goBackTo(java.lang.String fromTaskID,
                 Task toTask,
                 boolean artMode)
                 throws java.rmi.RemoteException
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);
 

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 succeed; false otherwise.
Throws:
java.rmi.RemoteException
See Also:
Task

goBackTo

boolean goBackTo(Task fromTask,
                 java.lang.String toProID,
                 boolean artMode)
                 throws java.rmi.RemoteException
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);
 

Parameters:
fromTask - a Task.
toProID - a Process ID.
artMode - an artifact content mode. true for present artifact content. false for archived artifact content in the specified process.
Returns:
true if succeed; false otherwise.
Throws:
java.rmi.RemoteException
See Also:
Task

initAgenda

java.util.HashMap initAgenda(java.lang.String user)
                             throws java.rmi.RemoteException
init Agenda

Parameters:
user - Client User Name.
Throws:
java.rmi.RemoteException

initHoliday

void initHoliday()
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

initProcess

java.util.HashMap initProcess(java.lang.String user,
                              PASEProcess process)
                              throws java.rmi.RemoteException
Initial the process

Parameters:
process - the given Process
Returns:
the result ( [Key:Value] = [rootTaskID:rootTaskID] ; [retValue:Boolean(true/false)])
Throws:
java.rmi.RemoteException

initProcess

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)
                              throws java.rmi.RemoteException
Initial the process

Parameters:
user - the given loginID
proID - the process ID
keyword - keyword
priority - priority
Returns:
the result ( [Key:Value] = [rootTaskID:rootTaskID] ; [retValue:Boolean(true/false)])
Throws:
java.rmi.RemoteException

insert

boolean insert(java.lang.String sqlcmd,
               java.util.Vector record,
               java.util.Vector columnTypeList)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

insertPASEGroup

void insertPASEGroup(PASEGroup group)
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

insertPASESharedFile

void insertPASESharedFile(PASESharedFile sFile)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

insertScheduleEvent

void insertScheduleEvent(ScheduleEvent evt)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

insertTaskAttachedFile

boolean insertTaskAttachedFile(TaskAttachedFileInfo fileInfo)
                               throws java.rmi.RemoteException
insert some task attached file

Parameters:
fileInfo - the given TaskAttachedFileInfo object
Returns:
if insertion is successful
Throws:
java.rmi.RemoteException

isContainedInPASEGroup

boolean isContainedInPASEGroup(java.lang.String gId,
                               java.lang.String mID)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isHalfHoliday

boolean isHalfHoliday(java.lang.String date)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isHalfHoliday

boolean isHalfHoliday(java.lang.String date,
                      java.lang.String memID)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isHoliday

boolean isHoliday(java.lang.String date)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isHoliday

boolean isHoliday(java.lang.String date,
                  java.lang.String memID)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isLocked

boolean isLocked(java.lang.String tID)
                 throws java.rmi.RemoteException
Check the task locking state

Parameters:
tID - the given TaskID
Returns:
true for locked
Throws:
java.rmi.RemoteException
See Also:
Task

isRestSat

boolean isRestSat(java.lang.String date)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isWorkday

boolean isWorkday(java.lang.String date,
                  java.lang.String memID)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

kickout

void kickout(java.lang.String user)
             throws java.rmi.RemoteException
logout from server.

Parameters:
user - Client User Name.
Throws:
java.rmi.RemoteException

kickoutAdmin

void kickoutAdmin(java.lang.String user)
                  throws java.rmi.RemoteException
logout admin from server.

Parameters:
user - Admin User Name.
Throws:
java.rmi.RemoteException

loadValueWithSessionConnection

java.util.Vector loadValueWithSessionConnection(java.lang.String session,
                                                java.lang.String sqlcmd)
                                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

lockTask

void lockTask(java.lang.String tskID)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

login

java.util.HashMap login(java.lang.String user,
                        java.lang.String pass)
                        throws java.rmi.RemoteException
login to server.

Parameters:
user - Client User Name.
pass - Client User password.
Throws:
java.rmi.RemoteException

login

java.util.Map login(java.lang.String user,
                    java.lang.String pass,
                    boolean toCheckDup)
                    throws java.rmi.RemoteException
To authenticate users (it doesn't register).

Parameters:
user - client user name
pass - client user password; it should be MD5-encrypted if AFDB authentication is used; otherwise it should be clear-text.
toCheckDup - whether this funtion should deny duplicate login (already registered users)
Returns:
a Map. key/value are described as follows (key-name:value-type, description) "retValue":Boolean, true if the task start successfully, false otherwise. "reason":String, 登入失敗的原因. multi:Boolean(), true multi-login
Throws:
java.rmi.RemoteException

loginAdmin

java.util.HashMap loginAdmin(java.lang.String user,
                             java.lang.String pass)
                             throws java.rmi.RemoteException
login admin to server.

Parameters:
user - Admin User Name.
pass - Admin User password.
Throws:
java.rmi.RemoteException

logout

void logout(java.lang.String user)
            throws java.rmi.RemoteException
logout from server.

Parameters:
user - Client User Name.
Throws:
java.rmi.RemoteException

logoutAdmin

void logoutAdmin(java.lang.String user)
                 throws java.rmi.RemoteException
logout admin from server.

Parameters:
user - Admin User Name.
Throws:
java.rmi.RemoteException

newBBSBoard

boolean newBBSBoard(BBSBoard bbsBoard)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

notifyTask

java.util.HashMap notifyTask(java.lang.String tskID)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

parseAddASResultString

java.util.Vector parseAddASResultString(java.lang.String result)
                                        throws java.rmi.RemoteException
add by yhtseng

Throws:
java.rmi.RemoteException

parseCSResultString

java.util.Vector parseCSResultString(java.lang.String result,
                                     java.util.Vector auditNameList)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

pickQueueTask

void pickQueueTask(Task t)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

postBBSMsg

boolean postBBSMsg(BBSMessage msg)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

query

java.util.HashMap query(java.lang.String sqlcmd)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

query

java.util.HashMap query(java.lang.String sqlcmd,
                        int top)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

query1

java.util.HashMap query1(java.lang.String sqlcmd)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

reflushProcessManager

boolean reflushProcessManager()
                              throws java.rmi.RemoteException
Cron-related functions

Throws:
java.rmi.RemoteException

registerAdmin

void registerAdmin(java.lang.String user,
                   AdminRMI client)
                   throws java.rmi.RemoteException
register Admin callback to server.

Parameters:
user - Admin User Name.
client - a AdminRMI instance.
Throws:
java.rmi.RemoteException

registerClient

void registerClient(java.lang.String user,
                    ClientRMI client)
                    throws java.rmi.RemoteException
register Client callback to server.

Parameters:
user - Client User Name.
client - a ClientRMI instance.
Throws:
java.rmi.RemoteException

releaseFileTransfer

void releaseFileTransfer(java.lang.String id)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeRootTaskByShell

boolean removeRootTaskByShell(java.lang.String p_RootTaskID,
                              java.lang.String p_MemID)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeScheduleEvent

void removeScheduleEvent(java.lang.String id)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeTaskByAdm

boolean removeTaskByAdm(java.lang.String p_TaskID)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeTaskByUser

boolean removeTaskByUser(java.lang.String p_RootTaskID,
                         java.lang.String p_MemID)
                         throws java.rmi.RemoteException
if the user has permission to remove the task, remove the task in Server

Parameters:
p_RootTaskID - the given Root Task ID
p_MemID - the user ID
Throws:
java.rmi.RemoteException

resetDeputyAndDeputyState

boolean resetDeputyAndDeputyState(java.lang.String p_MyMemID,
                                  java.lang.String p_DeputyMemID,
                                  boolean p_DeputyState)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

resetMemberDelegation

boolean resetMemberDelegation(MemberRecord memberRecord)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

rollbackSessionConnection

void rollbackSessionConnection(java.lang.String session)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

runScriptOnServer

void runScriptOnServer(java.lang.String code,
                       Task t)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

saveSchedule

void saveSchedule(java.util.Vector hdays,
                  java.util.Vector h_days,
                  java.util.Vector wdays,
                  int[] w)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

searchData

java.util.Vector searchData(SearchCondition cond)
                            throws java.rmi.RemoteException
Search Engine Function

Throws:
java.rmi.RemoteException

searchDataCount

int searchDataCount(SearchCondition cond)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

searchScheduleEvent

java.util.Vector searchScheduleEvent(ScheduleSearchCondition cond)
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendHTMLMail

void sendHTMLMail(java.lang.String from,
                  java.lang.String to,
                  java.lang.String subject,
                  java.lang.String text)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendHTMLMail

void sendHTMLMail(java.lang.String from,
                  java.lang.String to,
                  java.lang.String cc,
                  java.lang.String subject,
                  java.lang.String text)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendHTMLMail

void sendHTMLMail(java.lang.String from,
                  java.lang.String to,
                  java.lang.String cc,
                  java.lang.String subject,
                  java.lang.String text,
                  java.util.Vector fileList)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendHTMLMail

void sendHTMLMail(java.lang.String from,
                  java.lang.String to,
                  java.lang.String subject,
                  java.lang.String text,
                  java.util.Vector fileList)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendMail

void sendMail(java.lang.String from,
              java.lang.String to,
              java.lang.String subject,
              java.lang.String text)
              throws java.rmi.RemoteException
Send E-Mail through internet.

Parameters:
from - the "from" filed of E-Mail
to - the "to" field of E-Mail address(format:aaa@x.y.z), used as the destination of the E-Mail
subject - the "subject" field of E-Mail
text - the content of E-Mail
Throws:
java.rmi.RemoteException

sendMail

void sendMail(java.lang.String from,
              java.lang.String to,
              java.lang.String cc,
              java.lang.String subject,
              java.lang.String text)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendMail

void sendMail(java.lang.String from,
              java.lang.String to,
              java.lang.String cc,
              java.lang.String subject,
              java.lang.String text,
              java.util.Vector fileList)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendMail

void sendMail(java.lang.String from,
              java.lang.String to,
              java.lang.String subject,
              java.lang.String text,
              java.util.Vector fileList)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendPASEMessage

boolean sendPASEMessage(PASEMessage msg)
                        throws java.rmi.RemoteException
Send message through message-system built in Agentflow

Parameters:
msg - the deliverable message
Throws:
java.rmi.RemoteException
See Also:
PASEMessage

sendShortMessageToAdminAll

void sendShortMessageToAdminAll(java.lang.String msg,
                                java.lang.String fromMemID)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendShortMessageToAdminUser

void sendShortMessageToAdminUser(java.lang.String msg,
                                 java.lang.String fromMemID,
                                 java.lang.String toMemID)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendShortMessageToAll

void sendShortMessageToAll(java.lang.String msg,
                           java.lang.String fromMemID)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

sendShortMessageToUser

void sendShortMessageToUser(java.lang.String msg,
                            java.lang.String fromMemID,
                            java.lang.String toMemID)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setArtInsState

boolean setArtInsState(PASEartInstance artInstance,
                       java.lang.String stateID)
                       throws java.rmi.RemoteException
Return true for success, else false

Parameters:
artInstance - the given PASEartInstance, stateID for ArtStateID
Returns:
true for success, else false
Throws:
java.rmi.RemoteException
See Also:
getArtInstance

setGlobals

void setGlobals(java.lang.String rootTaskID,
                java.util.HashMap args)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setMemberAccess

boolean setMemberAccess(java.lang.String memID,
                        AccessMember access)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setMemberAdminAccess

boolean setMemberAdminAccess(java.lang.String memID,
                             AccessAdmin access)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setMemberArtifactAccess

boolean setMemberArtifactAccess(java.lang.String memID,
                                java.util.Vector artifactAccessList)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setMemberOnLineAccess

boolean setMemberOnLineAccess(java.lang.String memID,
                              AccessOnLineUser access)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setMemberTaskAccess

boolean setMemberTaskAccess(java.lang.String memID,
                            java.util.Vector taskAccessList)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setMonitorRelation

boolean setMonitorRelation(java.lang.String sourceTaskID,
                           java.lang.String createdRootTaskID)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setMonitorRelation

boolean setMonitorRelation(java.lang.String sourceTaskID,
                           java.util.Vector createdRootTaskIDs)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setPersonalConfig

void setPersonalConfig(PersonalConfig config)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

shutdownServer

boolean shutdownServer()
                       throws java.rmi.RemoteException
stop server.

Throws:
java.rmi.RemoteException

SQLdeleteValue

boolean SQLdeleteValue(java.lang.String sql)
                       throws java.rmi.RemoteException
The method is used to delete value from database (the RTRepository)

Parameters:
sql - the input SQL data string
Returns:
true if the deletion is successful; false otherwise.
Throws:
java.rmi.RemoteException

SQLinsertValue

boolean SQLinsertValue(java.lang.String sql)
                       throws java.rmi.RemoteException
The method is used to insert value to database (the RTRepository)

Parameters:
sql - the input SQL data string
Returns:
true if the insertion is successful; false otherwise.
Throws:
java.rmi.RemoteException

SQLloadValue

java.util.Vector SQLloadValue(java.lang.String sql)
                              throws java.rmi.RemoteException
The method is used to load value from database (the RTRepository)

Parameters:
sql - the input SQL data string
Returns:
the value mapping to the SQL syntax
Throws:
java.rmi.RemoteException

SQLupdateValue

boolean SQLupdateValue(java.lang.String sql)
                       throws java.rmi.RemoteException
The method is used to update value to database (the RTRepository)

Parameters:
sql - the input SQL data string
Returns:
true if the update is successful; false otherwise.
Throws:
java.rmi.RemoteException

startServer

boolean startServer()
                    throws java.rmi.RemoteException
start server.

Throws:
java.rmi.RemoteException

startTask

java.util.HashMap startTask(Task t)
                            throws java.rmi.RemoteException
Start the task

Parameters:
t - the given Task
Returns:
the result ( [Key:Value] = [retValue:Boolean(true/false)])
Throws:
java.rmi.RemoteException

stopRootTask

void stopRootTask(java.lang.String rootID)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

suspendBBSBoard

boolean suspendBBSBoard(java.lang.String bbsBoardID)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

suspendTask

java.util.HashMap suspendTask(Task t)
                              throws java.rmi.RemoteException
suspend Task

Parameters:
t - the given Task
Returns:
the result ( [Key:Value] = [retValue:Boolean(true)] )
Throws:
java.rmi.RemoteException

unlockCoSign

void unlockCoSign(java.lang.String rt_proID)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

unlockTask

void unlockTask(java.lang.String tskID)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

update

boolean update(java.lang.String sqlcmd,
               java.util.Vector newRecord,
               java.util.Vector newColumnTypeList,
               java.util.Vector oldRecord,
               java.util.Vector oldColumnTypeList)
               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateArtInstance

boolean updateArtInstance(PASEartInstance instance)
                          throws java.rmi.RemoteException
Update artifact instance

Parameters:
instance - the given PASEartInstance
Returns:
true for success, else false
Throws:
java.rmi.RemoteException
Since:
version 1.0.3
See Also:
PASEartInstance

updateArtInstanceLog

boolean updateArtInstanceLog(java.lang.String tID,
                             PASEartInstance instance)
                             throws java.rmi.RemoteException
Update artifact instance log

Parameters:
instance - the given PASEartInstance
tID - the given TaskID
Returns:
true for success, else false
Throws:
java.rmi.RemoteException
Since:
version 1.1.5
See Also:
PASEartInstance

updateAttachFileInfo

boolean updateAttachFileInfo(java.lang.String attachCmpName,
                             AttachFileInfo fileInfo)
                             throws java.rmi.RemoteException
Return if updating is successful

Parameters:
attachCmpName - the given attachCmpName which fileInfo belongs to
fileInfo - the given fileInfo
Returns:
if updating is successful
Throws:
java.rmi.RemoteException

updateBBSBoard

boolean updateBBSBoard(BBSBoard bbsBoard)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateMemberRecord

boolean updateMemberRecord(MemberRecord mbr)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updatePASEGroup

void updatePASEGroup(PASEGroup group)
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updatePASEMessage

boolean updatePASEMessage(PASEMessage msg)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updatePASESharedFile

void updatePASESharedFile(PASESharedFile sFile)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateScheduleEvent

void updateScheduleEvent(ScheduleEvent evt)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateTask

boolean updateTask(Task t)
                   throws java.rmi.RemoteException
Update the data object of task. The method will update the task in cache and database.

Parameters:
t - the given task
Returns:
true for success
Throws:
java.rmi.RemoteException
See Also:
Task

updateTaskState

boolean updateTaskState(Task t)
                        throws java.rmi.RemoteException
Update the state of task. The method will update the task state in cache and database.

Parameters:
t - the given task
Returns:
true for success
Throws:
java.rmi.RemoteException
See Also:
Task

updateValueWithSessionConnection

boolean updateValueWithSessionConnection(java.lang.String session,
                                         java.lang.String sqlcmd)
                                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

waitTask

void waitTask(java.lang.String tskID)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

waitTask

void waitTask(java.lang.String tskID,
              java.lang.String timeString)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.