Agentflow
V3.1

pe.pase
Class LocalClientAPI

java.lang.Object
  extended by pe.pase.BasedClientAPI
      extended by webform.WebFormClientAPI
          extended by pe.pase.LocalClientAPI
All Implemented Interfaces:
ClientAPI

public class LocalClientAPI
extends webform.WebFormClientAPI


Field Summary
protected  java.lang.String host
           
protected  java.lang.String port
           
 
Fields inherited from class webform.WebFormClientAPI
artifactCache, currentMember, enableArtifactCache, m_parentFormMap, printing, webform
 
Fields inherited from class pe.pase.BasedClientAPI
logger, m_dbService, m_fileService, m_flowService, m_orgService, m_pdeService, m_reportService, m_securityService, m_utilityService
 
Constructor Summary
LocalClientAPI(java.lang.String host, java.lang.String port)
           
 
Method Summary
 boolean connect()
           
 java.lang.String getFlowServerIP()
          Get IP address of server.
 java.lang.String getFlowServerPort()
          Get RMI port of server.
 
Methods inherited from class webform.WebFormClientAPI
addScriptJarFileToClassPath, artUpdate, clearCache, clearParentFormMap, createForm, createForm, createForm, createFormAPIImpl, createFormAPIImpl, createFormExt, createProcess, createProcess, disconnect, drawFormImpl, getArtifact, getClientMode, getCurrentMember, getMemberInfoByTree, printArtifactList, printForm, printPreview, runJScript, saveArtifactListToJPG, saveArtifactListToPDF_JPG, saveArtifactListToPDF, setCurrentMember, setMemberRecord, setWebFormApplet, updateMemberRecord
 
Methods inherited from class pe.pase.BasedClientAPI
addDebugLog, addErrLog, addExeLog, addFreqApRole, addInfoLog, addMonitorRelation, addMonitorRelation, addNewSessionConnectionURL, addSessionConnectionURL, addSessionConnectionURL, addWarningLog, announceOnlineClient, ArtSQLloadValue, batchProcess, checkPassword, checkPassword, checkTaskComplete, clearServerCache, closeForm, completeTask, completeTask, createArtInstance, createArtInstance, createForm, createForm, createForm, createFreqArtInstance, createProcess, createProcess, createProcess, createProcess, createProcessByRandom, createScheduleEvent, createSessionConnection, createSessionConnection, delete, delete, deleteCompany, deleteDepartment, deleteGlobals, deleteMemberRecord, deletePASEMessage, deleteRole, deleteSessionConnectionURL, deleteTaskAttachedFile, doUIAction, forceCompleteATask, forceReassignTask, generateID, getAddSignTaskList, getAllArtifact, getAllCSSignResult, getAllDepartmentByName, getAllDepIDOfCompany, getAllDepNameOfCompany, getAllIapSignResult, getAllManager, getAllManagerByID, getAllManagerByLoginID, getAllManagerByNo, getAllMember, getAllMemberByCName, getAllProcess, getAllProjectRoleByName, getAllRoleByName, getAllRoleIDOfCompany, getAllRoleNameOfCompany, getAllUnitType, getAllUnitType, getApplication, getArtifactForm, getArtifactInstance, getArtifactOfCompany, getArtifactOfProject, getArtInsDefaultMap, getArtInstance, getArtInstance, getArtTskID, getATaskNote, getAttachFilePath, getAttachFilePath, getClientMainFrame, getCompany, getCSSignInfo, getCSTaskNote, getCurrentArtInstance, getDbConnectionCurrentState, getDBProcess, getDepartment, getDepartmentHead, getDepartmentHeadByID, getDepartmentHeadByLoginID, getDepartmentHeadByNo, getDeputyMemID, getDeputyName, getEmailTemplate, getFirstLevelUnitType, getFormAPI, getFreqApListOfMember, getGlobals, getGroupSignIDOfTask, getGroupSignTaskIDList, getGroupSignTaskMap, getInvolvedExecutors, getInvolvedMembers, getLocalObject, getLocalObjectMap, getManager, getManagerRole, getManagersOfDRM, getMember, getMemberAccess, getMemberArtifactAccess, getMemberByCName, getMemberByID, getMemberByName, getMemberOnLineAccess, getMemberTask, getMemberTaskAccess, getMemID, getNewArtInsID, getNewFileID, getNextManager, getNextManager, getNextManagerByID, getNextManagerByID, getNextManagerByLoginID, getNextManagerByLoginID, getNextManagerByNo, getNextManagerByNo, getOneDepartmentByName, getOneRoleByName, getOnLineUnderUser, getOnLineUser, getParentIDListOfMember, getPASEOrgModel, getPASEProcessOfMember, getPDiagramDetail, getPDiagramState, getProcess, getProcessDiagram, getProcessTask, getProject, getProjectOfCompany, getProjectOfDepartment, getProjectOfManager, getProjectRole, getReportService, getRole, getRootDBProcessOfProject, getRootTaskOfMember, getRootTaskOfMember, getRootTaskOfProcess, getRootTaskOfProcess, getScheduleEvent, getServerStatus, getServerTime, getService, getSessionConnectionURL, getSessionConnectionURL, getSessionConnectionURLList, getSignatureImage, getSubDepIDOfDR, getSubDepNameOfDR, getSubMemberCNameOfDR, getSubMemberIDOfDR, getSubRoleIDOfDR, getSubRoleNameOfDR, getSubTaskList, getTask, getTaskAttachedFileContent, getTaskOfMember, getTaskOfMember, getTaskOfProcess, getTaskOfProcess, getTaskOfRootTask, getTranslateArtInsList, getTypeMap, getUncompletePATaskNo, getUnitType, getUnitTypeByLoginID, getUnitTypeByMember, getUnitTypeByMemID, getUnitTypeByNo, goBackTo, goBackTo, goBackTo, goBackToWithDetailRet, initProcess, insert, insertDepartment, insertMemberRecord, insertRole, insertScheduleEvent, insertTaskAttachedFile, isATaskComplete, isCompanyManager, isCompanyManagerByID, isCompanyManagerByLoginID, isCompanyManagerByNo, isCSTaskComplete, isHalfHoliday, isHalfHoliday, isHoliday, isHoliday, isMemberInRoleList, isRestSat, isServerConnecting, isWorkday, lockTask, newDepartment, newMemberRecord, newRole, notifyTask, parseAddASResultString, parseCSResultString, printArtifactList, query, query, query, registerType, removeAFTVElementVO, removeLocalObject, removeScheduleEvent, removeType, reScheduleTask, resetDeputyAndDeputyState, resetMemberDelegation, resetMemberDelegation, runScriptOnServer, saveAFTVElementVO, searchData, searchScheduleEvent, sendHTMLMail, sendHTMLMail, sendHTMLMail, sendHTMLMail, sendHTMLMailExt, sendHTMLMailExt, sendHTMLMailExt, sendMail, sendMail, sendMail, sendMail, sendMailExt, sendMailExt, sendMailExt, sendPASEMessage, sendTemplateMail, setArtInsState, setDbService, setFileService, setFlowService, setGlobals, setLocalObject, setMonitorRelation, setMonitorRelation, setOrgService, setPdeService, setReportService, setSecurityService, setUtilityService, SQLdeleteValue, SQLinsertValue, SQLloadValue, SQLupdateValue, startTask, stopRootTask, suspendTask, unlockCoSign, unlockTask, update, updateArtInstance, updateArtInstance, updateArtInstanceLog, updateAttachFileInfo, updateCompany, updateDepartment, updateDeputyAndState, updateMemberRecord, updatePASEMessage, updateRole, updateScheduleEvent, updateTask, updateTaskState, updateUnitType, waitTask, waitTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

protected java.lang.String host

port

protected java.lang.String port
Constructor Detail

LocalClientAPI

public LocalClientAPI(java.lang.String host,
                      java.lang.String port)
Method Detail

connect

public boolean connect()
                throws java.lang.Exception
Specified by:
connect in class webform.WebFormClientAPI
Throws:
java.lang.Exception

getFlowServerIP

public java.lang.String getFlowServerIP()
Description copied from interface: ClientAPI
Get IP address of server.

Examples:

        var Result = Client.getFlowServerIP();
        //returns IP address of server is like "192.168.8.60"
        

Specified by:
getFlowServerIP in interface ClientAPI
Specified by:
getFlowServerIP in class webform.WebFormClientAPI
Returns:
the IP address of server

getFlowServerPort

public java.lang.String getFlowServerPort()
Description copied from interface: ClientAPI
Get RMI port of server.

Examples:

        var Result = Client.getFlowServerPort();
        //returns RMI port of server is like "1099"
        

Specified by:
getFlowServerPort in interface ClientAPI
Specified by:
getFlowServerPort in class webform.WebFormClientAPI
Returns:
the RMI port of server

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.