|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowService
Method Summary | |
---|---|
boolean |
addSSORecord(String memID,
String sessionID)
add record into sso record |
void |
approveCheckIn(String reqKey,
String status,
boolean whitSubDoc,
boolean autoPublish,
String checkinMode,
HashMap map)
|
void |
approveObsolete(String reqKey,
boolean approveResult,
HashMap map)
|
String |
calculateProcessTime(String startTime)
Calculate the process time. |
void |
cancelApprove(String reqKey,
HashMap map)
cancel approve sequence from flow engine |
void |
copyAttFileInfoToDMS(String fileInfoString,
String reqKey,
boolean removeOld)
|
void |
copyAttFileInfoToDMS(String fileInfoString,
String reqKey,
boolean removeOld,
Vector fileNameVec)
|
String |
copyFileToFlow(VirtualDocument vd,
pe.pase.Task MyTask)
copy pd File to Flow server and return attfileInfo String |
String |
copySubFileToFlow(VirtualDocument vd,
pe.pase.Task MyTask,
String subArtInsID)
for copy sub Document attFile into Flow |
void |
copyTaskAttFileInfoToDMS(String fileInfoString,
String reqKey,
boolean removeOld)
|
String |
createProcess(String userID,
String pID,
HashMap afMap)
|
boolean |
deleteCosignConfigByGroupName(String groupName)
|
boolean |
deleteDccConfigByGroupName(String groupName)
|
boolean |
deleteDMSDocTypeConfig(String key)
|
boolean |
deleteDocDisPerRequestConfig(String purpose)
Delete the Doc. |
boolean |
deleteReviewConfig(String reviewName)
|
boolean |
deleteSignProcessByConfigID(String configID)
|
boolean |
deleteSignProcessByConfigIDElseDefaultProcess(String configID)
|
String |
distributeApprove(String userID,
String folderID,
HashMap map)
|
void |
finishApprove(String reqKey,
boolean approveResult,
boolean finishSubDoc,
boolean autoPublish,
HashMap map)
|
void |
finishApprove(String reqKey,
boolean approveResult,
boolean finishSubDoc,
HashMap map)
|
void |
finishApprove(String reqKey,
boolean approveResult,
HashMap map)
|
pe.pase.Company |
getAFCompany()
|
String[] |
getAFParentName(String cID)
Retrieve the parent name of current ID |
List |
getAllDMSDocTypeConfig()
GET DMS DOCTYPE_CONFIG INFO |
List |
getAllDocDisRequestConfig()
Retrieve the Doc. |
List |
getAllDocPerRequestConfig()
Retrieve the Doc. |
List |
getAllMemberId(String keyId)
|
List |
getAllReviewName()
|
AttributeType |
getAttributeType(String typeID)
|
Vector |
getAttributeTypeChildren(String attID)
|
Vector |
getAttributeTypeFullPath(String attributeTypeID)
|
Vector |
getAttributeTypeFullPath(String attributeTypeID,
boolean excludeRoot)
|
Vector |
getAttributeTypeObjFullPath(String attributeTypeID)
|
Vector |
getAttributeTypeObjFullPath(String attributeTypeID,
boolean excludeRoot)
|
List |
getCosignConfigItemByGroupName(String groupName)
|
Vector |
getCoSignMemberList(String docKey)
|
Map |
getCurrentTaskSituation(String rootTaskID)
Retrieve the current task by the given rootTaskID . |
pe.pase.DBProcess |
getDBProcess(String processID)
|
List |
getDccConfigItemByGroupName(String groupName)
|
List |
getDccNamesOfDccConfigItem()
get dcc group name |
Vector |
getDepIDListByName(String query)
|
Vector |
getDistributionMemberList(String docKey)
|
DMSCompany |
getDMSCompany(String cID)
|
List |
getDMSDocTypeConfigByAurhotizedGroupID(String[] groupID)
GET DMS DOCTYPE_CONFIG INFO by Group |
List |
getDMSDocTypeConfigByConfigID(String id)
|
List |
getDMSDocTypeConfigByConfigName(String configName)
|
List |
getDocDisPerRequestConfigByPurpose(String purpose)
|
List |
getDocDisPerRequestConfigByPurposeInfo(String configType,
String purposeInfo)
Retrieve the Doc assign / authority setting by purposeInfo and the given configType |
List |
getDocTypeByLevelAndClassifyRank(String docType,
String classifyRank,
String docTypeName)
|
String |
getFirstTaskID(String rootID)
get First TaskID from rootTaskID |
List |
getGroupNamesOfCosignConfigItem()
cosign group name list. |
String |
getManagerNameByDepID(String depID)
|
Vector |
getNotifyMemberList(String docKey)
|
List |
getReviewConfigByReviewName(String reviewName)
|
String |
getReviewLevel(String key)
|
List |
getSignProcessList()
Get all sign process list |
List |
getSignProcessListByAurhotizedGroupID(String[] groupID)
Get all sign process list with user permission check. |
List |
getSignProcessListByConfigID(String configID)
Retrieve the sign process info by the given config id. |
List |
getSignProcessListByProcessName(String processName)
Retrieve the sign process info by the given process name. |
String |
getSSOMemberID(String sessionID)
get memID from sso record by sessionID |
pe.pase.MemberRecord |
getSSOMemberRecord(String sessionID)
get memberRecord from sso record by sessionID |
List |
getTaskSignersInRunningMode(String rootTaskID)
Retrieve the signers of the given rootTskID . |
List |
getTaskSignersInRunningMode(String rootTaskID,
String currentMemID)
Retrieve the signers of the given rootTskID and current owner/real executor. |
Vector |
getUserProcessList(String memID)
get user have permission to create processList |
VirtualDocument |
getVirtualDocument(String ID)
get the VirtualDocumet related to the requestID or docID |
VirtualDocument |
getVirtualDocumentByID(String docID)
get the VirtualDocumet related to the doc ID |
VirtualDocument |
getVirtualDocumentByReqID(String reqKey)
get the VirtualDocumet related to the request ID |
boolean |
isAlive()
|
boolean |
isAllowToEditProcessConfigInMgtPanel()
|
boolean |
isProcessByNodeConfig(String nodeConfig)
|
void |
makeSureConsistentWithFlow(String docKey,
String taskID)
To make sure the document's status is consistent with the status of task. |
CoSignMember |
newCoSignMember(HashMap hm)
|
DistributionMember |
newDistributionMember(HashMap hm)
|
NotifyMember |
newNotifyMember(HashMap hm)
|
SignRecord |
newSignRecord(HashMap hm)
|
List |
permissionApprove(String userID,
String[] folderIDs,
HashMap map)
|
String |
permissionApprove(String userID,
String docKey,
HashMap map)
|
boolean |
removAllPDofVD(VirtualDocument vd)
|
boolean |
removeAllSSO()
for System clear all SSO record |
boolean |
removeSSORecord(String memID,
String sessionID)
remove sso record according memID or web sessionID |
void |
saveConsignConfig(String groupName,
List cosignConfigItemList,
String actType)
save cosign config |
void |
saveDccReviewConfig(String groupName,
List dccConfigItemList,
String actType)
|
boolean |
saveDMSDocTypeConfig(DMSDocTypeConfigItem entity)
|
boolean |
saveDocDisPerRequestConfig(List list,
String configType)
Save a Doc. |
void |
saveReviewConfig(DMSReviewConfigItem entity)
|
String |
saveSignProcessList(String configID,
List list)
Save sign process info list. |
boolean |
updateDMSDocTypeConfig(DMSDocTypeConfigItem entity)
|
boolean |
updateDMSDocTypeConfigDefaultSetting(String processName)
|
boolean |
updateDocDisPerRequestConfig(List list)
|
boolean |
updateReviewConfig(DMSReviewConfigItem entity)
|
void |
updateVDtoDMS(HashMap map,
String reqKey,
boolean removeOld)
|
boolean |
wfciSQLdeleteValue(String sql)
delete sql to Agentflow DB in DMS side |
boolean |
wfciSQLinsertValue(String sql)
insert sql to Agentflow DB in DMS side |
List |
wfciSQLloadValue(String sql)
select sql from Agentflow DB in DMS side |
boolean |
wfciSQLupdateValue(String sql)
update sql to Agentflow DB in DMS side |
Method Detail |
---|
VirtualDocument getVirtualDocumentByReqID(String reqKey) throws RemoteException
ID
- requestID
RemoteException
VirtualDocument getVirtualDocumentByID(String docID) throws RemoteException
ID
- docID
RemoteException
VirtualDocument getVirtualDocument(String ID) throws RemoteException
ID
- requestID or docID
RemoteException
String getFirstTaskID(String rootID) throws RemoteException
rootID
- String
RemoteException
void finishApprove(String reqKey, boolean approveResult, HashMap map) throws RemoteException
RemoteException
void finishApprove(String reqKey, boolean approveResult, boolean finishSubDoc, HashMap map) throws RemoteException
RemoteException
void finishApprove(String reqKey, boolean approveResult, boolean finishSubDoc, boolean autoPublish, HashMap map) throws RemoteException
RemoteException
void approveCheckIn(String reqKey, String status, boolean whitSubDoc, boolean autoPublish, String checkinMode, HashMap map) throws RemoteException
RemoteException
void approveObsolete(String reqKey, boolean approveResult, HashMap map) throws RemoteException
RemoteException
void cancelApprove(String reqKey, HashMap map) throws RemoteException
RemoteException
String copyFileToFlow(VirtualDocument vd, pe.pase.Task MyTask) throws RemoteException
vd
- VirtualDocumenttaskID
- String
RemoteException
String copySubFileToFlow(VirtualDocument vd, pe.pase.Task MyTask, String subArtInsID) throws RemoteException
vd
- VirtualDocument sub Document VDMyTask
- Task root Process TasksubArtInsID
- String sub Document create Form ArtInstanceID
RemoteException
boolean isAlive() throws RemoteException
RemoteException
boolean removeAllSSO() throws RemoteException
RemoteException
boolean addSSORecord(String memID, String sessionID) throws RemoteException
memID
- StringsessionID
- String
RemoteException
boolean removeSSORecord(String memID, String sessionID) throws RemoteException
memID
- StringloginID
- StringsessionID
- String
RemoteException
pe.pase.MemberRecord getSSOMemberRecord(String sessionID) throws RemoteException
sessionID
- String
RemoteException
String getSSOMemberID(String sessionID) throws RemoteException
sessionID
- String
RemoteException
String[] getAFParentName(String cID) throws RemoteException
currentID
- String
RemoteException
Vector getUserProcessList(String memID) throws RemoteException
memID
- String
RemoteException
String createProcess(String userID, String pID, HashMap afMap) throws RemoteException
RemoteException
pe.pase.DBProcess getDBProcess(String processID) throws RemoteException
RemoteException
void copyAttFileInfoToDMS(String fileInfoString, String reqKey, boolean removeOld) throws RemoteException
fileInfoString
- reqKey
- this could be DocumentKey
or reqKey
removeOld
-
RemoteException
void copyAttFileInfoToDMS(String fileInfoString, String reqKey, boolean removeOld, Vector fileNameVec) throws RemoteException
fileInfoString
- reqKey
- this could be DocumentKey
or reqKey
removeOld
- fileNameVec
-
RemoteException
void copyTaskAttFileInfoToDMS(String fileInfoString, String reqKey, boolean removeOld) throws RemoteException
RemoteException
void updateVDtoDMS(HashMap map, String reqKey, boolean removeOld) throws RemoteException
RemoteException
boolean removAllPDofVD(VirtualDocument vd) throws RemoteException
RemoteException
SignRecord newSignRecord(HashMap hm) throws RemoteException
RemoteException
CoSignMember newCoSignMember(HashMap hm) throws RemoteException
RemoteException
Vector getCoSignMemberList(String docKey) throws RemoteException
RemoteException
Vector getDistributionMemberList(String docKey) throws RemoteException
RemoteException
Vector getNotifyMemberList(String docKey) throws RemoteException
RemoteException
DistributionMember newDistributionMember(HashMap hm) throws RemoteException
RemoteException
Vector getAttributeTypeFullPath(String attributeTypeID) throws RemoteException
RemoteException
Vector getAttributeTypeFullPath(String attributeTypeID, boolean excludeRoot) throws RemoteException
attributeTypeID
- excludeRoot
-
RemoteException
Vector getAttributeTypeObjFullPath(String attributeTypeID, boolean excludeRoot) throws RemoteException
attributeTypeID
- excludeRoot
-
AttributeType
RemoteException
Vector getAttributeTypeObjFullPath(String attributeTypeID) throws RemoteException
RemoteException
Vector getAttributeTypeChildren(String attID) throws RemoteException
RemoteException
NotifyMember newNotifyMember(HashMap hm) throws RemoteException
RemoteException
AttributeType getAttributeType(String typeID) throws RemoteException
RemoteException
String distributeApprove(String userID, String folderID, HashMap map) throws RemoteException, Exception
RemoteException
Exception
String permissionApprove(String userID, String docKey, HashMap map) throws DMSException, RemoteException, Exception
DMSException
RemoteException
Exception
List permissionApprove(String userID, String[] folderIDs, HashMap map) throws DMSException, Exception
DMSException
Exception
Vector getDepIDListByName(String query) throws RemoteException, Exception
RemoteException
Exception
void makeSureConsistentWithFlow(String docKey, String taskID) throws RemoteException
docKey
- taskID
-
RemoteException
List getTaskSignersInRunningMode(String rootTaskID) throws RemoteException
rootTskID
.
rootTaskID
- root task id
RemoteException
List getTaskSignersInRunningMode(String rootTaskID, String currentMemID) throws RemoteException
rootTskID
and current owner/real executor.
rootTaskID
- root task idcurrentMemID
- member id of the current owner or real executor
RemoteException
Map getCurrentTaskSituation(String rootTaskID) throws RemoteException
rootTaskID
.
rootTaskID
-
RemoteException
String calculateProcessTime(String startTime) throws RemoteException
start
- start time (in long format)
RemoteException
boolean isAllowToEditProcessConfigInMgtPanel() throws RemoteException
true
if the function is enable
RemoteException
List getGroupNamesOfCosignConfigItem() throws RemoteException
RemoteException
List getCosignConfigItemByGroupName(String groupName) throws RemoteException
groupName
-
RemoteException
List getDccNamesOfDccConfigItem() throws RemoteException
RemoteException
List getDccConfigItemByGroupName(String groupName) throws RemoteException
groupName
-
RemoteException
List getSignProcessList() throws RemoteException
RemoteException
List getSignProcessListByAurhotizedGroupID(String[] groupID) throws RemoteException
true
in DMSServer/conf/config.properties,
the the given groupID
will be used to check permission to retrieve these sign processes.
RemoteException
void saveConsignConfig(String groupName, List cosignConfigItemList, String actType) throws RemoteException
groupName
- cosignConfigItemList
- each element is DMSConsignConfigItem
actType
-
RemoteException
boolean deleteCosignConfigByGroupName(String groupName) throws RemoteException
groupName
-
RemoteException
List getSignProcessListByProcessName(String processName) throws RemoteException
processName
-
DMSProcessConfigItem
RemoteException
List getSignProcessListByConfigID(String configID) throws RemoteException
config
- id
DMSProcessConfigItem
RemoteException
String saveSignProcessList(String configID, List list) throws RemoteException
configID
- could be emptylist
- each element is DMSProcessConfigItem
RemoteException
boolean deleteSignProcessByConfigID(String configID) throws RemoteException
configID
-
RemoteException
boolean deleteSignProcessByConfigIDElseDefaultProcess(String configID) throws RemoteException
configID
-
RemoteException
String getReviewLevel(String key) throws RemoteException
key
-
RemoteException
List getAllReviewName() throws RemoteException
RemoteException
List getReviewConfigByReviewName(String reviewName) throws RemoteException
reviewName
-
RemoteException
void saveReviewConfig(DMSReviewConfigItem entity) throws RemoteException
entity
-
RemoteException
boolean updateReviewConfig(DMSReviewConfigItem entity) throws RemoteException
entity
-
RemoteException
boolean deleteReviewConfig(String reviewName) throws RemoteException
reviewName
-
RemoteException
void saveDccReviewConfig(String groupName, List dccConfigItemList, String actType) throws RemoteException
groupName
- dccConfigItemList
- each element is DMSDccConfigItem
actType
-
RemoteException
List getAllDMSDocTypeConfig() throws RemoteException
RemoteException
List getDMSDocTypeConfigByAurhotizedGroupID(String[] groupID) throws RemoteException
groupID
-
RemoteException
List getDMSDocTypeConfigByConfigName(String configName) throws RemoteException
configName
-
RemoteException
List getDMSDocTypeConfigByConfigID(String id) throws RemoteException
id
-
RemoteException
boolean deleteDMSDocTypeConfig(String key) throws RemoteException
key
-
RemoteException
boolean saveDMSDocTypeConfig(DMSDocTypeConfigItem entity) throws RemoteException
entity
-
RemoteException
boolean updateDMSDocTypeConfig(DMSDocTypeConfigItem entity) throws RemoteException
entity
-
RemoteException
boolean updateDMSDocTypeConfigDefaultSetting(String processName) throws RemoteException
RemoteException
List getAllMemberId(String keyId) throws RemoteException
RemoteException
List getAllDocDisRequestConfig() throws RemoteException
RemoteException
List getAllDocPerRequestConfig() throws RemoteException
RemoteException
boolean saveDocDisPerRequestConfig(List list, String configType) throws RemoteException
list
- each element is DMSDocDisPerConfigItem
configType
- only accept DMSDocDisPerConfigItem.DISTRIBUTION_TYPE_KEY
and DMSDocDisPerConfigItem.DISTRIBUTION_TYPE_KEY
RemoteException
boolean updateDocDisPerRequestConfig(List list) throws RemoteException
list
- each element is DMSDocDisPerConfigItem
RemoteException
boolean deleteDocDisPerRequestConfig(String purpose) throws RemoteException
DMSDocDisPerConfigItem
object) by the given key.
purpose
- key
RemoteException
List getDocDisPerRequestConfigByPurpose(String purpose) throws RemoteException
RemoteException
List getDocDisPerRequestConfigByPurposeInfo(String configType, String purposeInfo) throws RemoteException
purposeInfo
and the given configType
RemoteException
List getDocTypeByLevelAndClassifyRank(String docType, String classifyRank, String docTypeName) throws RemoteException
RemoteException
boolean deleteDccConfigByGroupName(String groupName) throws RemoteException
groupName
-
RemoteException
boolean isProcessByNodeConfig(String nodeConfig) throws RemoteException
nodeConfig
-
RemoteException
String getManagerNameByDepID(String depID) throws Exception, RemoteException
depID
-
Exception,
- RemoteException
Exception
RemoteException
pe.pase.Company getAFCompany() throws RemoteException
Exception,
- RemoteException
RemoteException
DMSCompany getDMSCompany(String cID) throws RemoteException
Exception,
- RemoteException
RemoteException
List wfciSQLloadValue(String sql) throws RemoteException
sql
- String
RemoteException
boolean wfciSQLinsertValue(String sql) throws RemoteException
sql
- String
RemoteException
boolean wfciSQLupdateValue(String sql) throws RemoteException
sql
- String
RemoteException
boolean wfciSQLdeleteValue(String sql) throws RemoteException
sql
- String
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |