1 package org.enhydra.shark.api.client.wfservice; 2 3 import org.enhydra.shark.api.SharkTransaction; 4 import org.enhydra.shark.api.client.wfbase.BaseException; 5 6 11 public interface AdminMisc { 12 13 19 void connect (String userId); 20 21 31 String [][] getPackageExtendedAttributeNameValuePairs (String pkgId) throws BaseException; 32 33 44 String [][] getPackageExtendedAttributeNameValuePairs (SharkTransaction t,String pkgId) throws BaseException; 45 46 55 String [] getPackageExtendedAttributeNames (String pkgId) throws BaseException; 56 57 67 String [] getPackageExtendedAttributeNames (SharkTransaction t,String pkgId) throws BaseException; 68 69 79 String getPackageExtendedAttributeValue (String pkgId,String extAttrName) throws BaseException; 80 81 92 String getPackageExtendedAttributeValue (SharkTransaction t,String pkgId,String extAttrName) throws BaseException; 93 94 104 String [][] getProcessDefinitionExtendedAttributeNameValuePairs (String mgrName) throws BaseException; 105 106 117 String [][] getProcessDefinitionExtendedAttributeNameValuePairs (SharkTransaction t,String mgrName) throws BaseException; 118 119 128 String [] getProcessDefinitionExtendedAttributeNames (String mgrName) throws BaseException; 129 130 140 String [] getProcessDefinitionExtendedAttributeNames (SharkTransaction t,String mgrName) throws BaseException; 141 142 152 String getProcessDefinitionExtendedAttributeValue (String mgrName,String extAttrName) throws BaseException; 153 154 165 String getProcessDefinitionExtendedAttributeValue (SharkTransaction t,String mgrName,String extAttrName) throws BaseException; 166 167 177 String [][] getProcessExtendedAttributeNameValuePairs (String procId) throws BaseException; 178 179 190 String [][] getProcessExtendedAttributeNameValuePairs (SharkTransaction t,String procId) throws BaseException; 191 192 201 String [] getProcessExtendedAttributeNames (String procId) throws BaseException; 202 203 213 String [] getProcessExtendedAttributeNames (SharkTransaction t,String procId) throws BaseException; 214 215 225 String getProcessExtendedAttributeValue (String procId,String extAttrName) throws BaseException; 226 227 238 String getProcessExtendedAttributeValue (SharkTransaction t,String procId,String extAttrName) throws BaseException; 239 240 250 String getActivitiesExtendedAttributes (String procId,String actId) throws BaseException; 251 252 263 String getActivitiesExtendedAttributes (SharkTransaction t,String procId,String actId) throws BaseException; 264 265 276 String [][] getActivitiesExtendedAttributeNameValuePairs (String procId,String actId) throws BaseException; 277 278 290 String [][] getActivitiesExtendedAttributeNameValuePairs (SharkTransaction t,String procId,String actId) throws BaseException; 291 292 302 String [] getActivitiesExtendedAttributeNames (String procId,String actId) throws BaseException; 303 304 315 String [] getActivitiesExtendedAttributeNames (SharkTransaction t,String procId,String actId) throws BaseException; 316 317 328 String getActivitiesExtendedAttributeValue (String procId,String actId,String extAttrName) throws BaseException; 329 330 342 String getActivitiesExtendedAttributeValue (SharkTransaction t,String procId,String actId,String extAttrName) throws BaseException; 343 344 355 String [][] getDefVariableExtendedAttributeNameValuePairs (String mgrName,String variableId) throws BaseException; 356 357 369 String [][] getDefVariableExtendedAttributeNameValuePairs (SharkTransaction t,String mgrName,String variableId) throws BaseException; 370 371 382 String [] getDefVariableExtendedAttributeNames (String mgrName,String variableId) throws BaseException; 383 384 396 String [] getDefVariableExtendedAttributeNames (SharkTransaction t,String mgrName,String variableId) throws BaseException; 397 398 410 String getDefVariableExtendedAttributeValue (String mgrName,String variableId,String extAttrName) throws BaseException; 411 412 425 String getDefVariableExtendedAttributeValue (SharkTransaction t,String mgrName,String variableId,String extAttrName) throws BaseException; 426 427 438 String [][] getVariableExtendedAttributeNameValuePairs (String procId,String variableId) throws BaseException; 439 440 452 String [][] getVariableExtendedAttributeNameValuePairs (SharkTransaction t,String procId,String variableId) throws BaseException; 453 454 465 String [] getVariableExtendedAttributeNames (String procId,String variableId) throws BaseException; 466 467 479 String [] getVariableExtendedAttributeNames (SharkTransaction t,String procId,String variableId) throws BaseException; 480 481 493 String getVariableExtendedAttributeValue (String procId,String variableId,String extAttrName) throws BaseException; 494 495 508 String getVariableExtendedAttributeValue (SharkTransaction t,String procId,String variableId,String extAttrName) throws BaseException; 509 510 522 String [][] getParticipantExtendedAttributeNameValuePairs (String pkgId,String pDefId,String participantId) throws BaseException; 523 524 537 String [][] getParticipantExtendedAttributeNameValuePairs (SharkTransaction t,String pkgId,String pDefId,String participantId) throws BaseException; 538 539 551 String [] getParticipantExtendedAttributeNames (String pkgId,String pDefId,String participantId) throws BaseException; 552 553 566 String [] getParticipantExtendedAttributeNames (SharkTransaction t,String pkgId,String pDefId,String participantId) throws BaseException; 567 568 581 String getParticipantExtendedAttributeValue (String pkgId,String pDefId,String participantId,String extAttrName) throws BaseException; 582 583 597 String getParticipantExtendedAttributeValue (SharkTransaction t,String pkgId,String pDefId,String participantId,String extAttrName) throws BaseException; 598 599 611 String [][] getApplicationExtendedAttributeNameValuePairs (String pkgId,String pDefId,String applicationId) throws BaseException; 612 613 626 String [][] getApplicationExtendedAttributeNameValuePairs (SharkTransaction t,String pkgId,String pDefId,String applicationId) throws BaseException; 627 628 640 String [] getApplicationExtendedAttributeNames (String pkgId,String pDefId,String applicationId) throws BaseException; 641 642 655 String [] getApplicationExtendedAttributeNames (SharkTransaction t,String pkgId,String pDefId,String applicationId) throws BaseException; 656 657 670 String getApplicationExtendedAttributeValue (String pkgId,String pDefId,String applicationId,String extAttrName) throws BaseException; 671 672 686 String getApplicationExtendedAttributeValue (SharkTransaction t,String pkgId,String pDefId,String applicationId,String extAttrName) throws BaseException; 687 688 699 String getBlockActivityId (String procId,String actId) throws BaseException; 700 701 713 String getBlockActivityId (SharkTransaction t,String procId,String actId) throws BaseException; 714 715 724 String getActivityDefinitionId (String procId,String actId) throws BaseException; 725 726 736 String getActivityDefinitionId (SharkTransaction t,String procId,String actId) throws BaseException; 737 738 746 String getProcessDefinitionId (String procId) throws BaseException; 747 748 757 String getProcessDefinitionId (SharkTransaction t,String procId) throws BaseException; 758 759 770 String getDefVariableName (String mgrName,String variableId) throws BaseException; 771 772 784 String getDefVariableName (SharkTransaction t,String mgrName,String variableId) throws BaseException; 785 786 797 String getVariableName (String procId,String variableId) throws BaseException; 798 799 811 String getVariableName (SharkTransaction t,String procId,String variableId) throws BaseException; 812 813 823 String getDefVariableDescription (String mgrName,String variableId) throws BaseException; 824 825 836 String getDefVariableDescription (SharkTransaction t,String mgrName,String variableId) throws BaseException; 837 838 848 String getVariableDescription (String procId,String variableId) throws BaseException; 849 850 861 String getVariableDescription (SharkTransaction t,String procId,String variableId) throws BaseException; 862 863 873 String getDefVariableJavaClassName (String mgrName,String variableId) throws BaseException; 874 875 886 String getDefVariableJavaClassName (SharkTransaction t,String mgrName,String variableId) throws BaseException; 887 888 898 String getVariableJavaClassName (String procId,String variableId) throws BaseException; 899 900 911 String getVariableJavaClassName (SharkTransaction t,String procId,String variableId) throws BaseException; 912 913 924 String getParticipantName (String pkgId,String pDefId,String participantId) throws BaseException; 925 926 937 String getParticipantName (SharkTransaction t,String pkgId,String pDefId,String participantId) throws BaseException; 938 939 950 String getApplicationName (String pkgId,String pDefId,String applicationId) throws BaseException; 951 952 963 String getApplicationName (SharkTransaction t,String pkgId,String pDefId,String applicationId) throws BaseException; 964 965 974 String getProcessMgrPkgId (String name) throws BaseException; 975 976 986 String getProcessMgrPkgId (SharkTransaction t,String name) throws BaseException; 987 988 996 String getProcessMgrProcDefId (String name) throws BaseException; 997 998 1007 String getProcessMgrProcDefId (SharkTransaction t,String name) throws BaseException; 1008 1009 1017 String getProcessMgrProcDefName (String name) throws BaseException; 1018 1019 1028 String getProcessMgrProcDefName (SharkTransaction t,String name) throws BaseException; 1029 1030 1041 String getProcessRequesterUsername (String procId) throws BaseException; 1042 1043 1055 String getProcessRequesterUsername (SharkTransaction t,String procId) throws BaseException; 1056 1057 1069 String getActivityResourceUsername (String procId,String actId) throws BaseException; 1070 1071 1084 String getActivityResourceUsername (SharkTransaction t,String procId,String actId) throws BaseException; 1085 1086 1095 String getAssignmentActivityId (String procId,String assId) throws BaseException; 1096 1097 1108 String getAssignmentActivityId (SharkTransaction t,String procId,String assId) throws BaseException; 1109 1110 1119 String getAssignmentResourceUsername (String procId,String assId) throws BaseException; 1120 1121 1132 String getAssignmentResourceUsername (SharkTransaction t,String procId,String assId) throws BaseException; 1133 1134 1142 long getProcessCreatedTime (String procId) throws BaseException; 1143 1144 1153 long getProcessCreatedTime (SharkTransaction t,String procId) throws BaseException; 1154 1155 1164 long getProcessStartedTime (String procId) throws BaseException; 1165 1166 1176 long getProcessStartedTime (SharkTransaction t,String procId) throws BaseException; 1177 1178 1187 long getProcessFinishTime (String procId) throws BaseException; 1188 1189 1199 long getProcessFinishTime (SharkTransaction t,String procId) throws BaseException; 1200 1201 1209 long getActivityCreatedTime (String procId,String actId) throws BaseException; 1210 1211 1220 long getActivityCreatedTime (SharkTransaction t,String procId,String actId) throws BaseException; 1221 1222 1231 long getActivityStartedTime (String procId,String actId) throws BaseException; 1232 1233 1243 long getActivityStartedTime (SharkTransaction t,String procId,String actId) throws BaseException; 1244 1245 1254 long getActivityFinishTime (String procId,String actId) throws BaseException; 1255 1256 1266 long getActivityFinishTime (SharkTransaction t,String procId,String actId) throws BaseException; 1267 1268} 1269 | Popular Tags |