| java.lang.Object org.pentaho.plugin.shark.SharkManager
SharkManager | public class SharkManager (Code) | | |
Method Summary | |
public String | LoadPackage(String xpdlName) | public void | MapParticipant(String userName, String packageId, String participantId) | public void | acceptAssignment(SharkConnection sConn, String activityId) | public void | completeActivity(SharkConnection sConn, String activityId) | public SharkConnection | connect() | public SharkConnection | connect(String user, String passwd) | public void | createNewUser(String name, String first, String last, String email, String password, String group) | public boolean | deleteCompletedProcesses() | public void | disconnect(SharkConnection sConn) | public Map | getActivityContext(Map contextToSearch, WfActivity act, String type) Gets the context for the given activity that could be updated, viewed by
the user, or all activity context. | public String[] | getAllUsers() | public WfAssignment | getAssignment(SharkConnection sConn, String activityId) | public String | getExternalRepositoryPath() | public static SharkManager | getInstance(IPentahoSession session) | public String | getPentahoXML(WfActivity act) | public ArrayList | getProcessesForPackage(String pkgId) | public String | getUserEMailAddress(String uname) | public String | getUserRealName(String uname) | public boolean | isMine(SharkConnection sConn, String activityId) | public boolean | isMine(WfAssignment a) | public boolean | isPackageLoaded(String xpdlName) | public boolean | isProcessRunning(String pkgId, String pDefId) | public boolean | packageHasRunningProcesses(String pkgId) | public void | processSetVariable(WfProcess process, String vName, String vValue) | public String[] | processesToStart() | public void | setVariable(SharkConnection sConn, String activityId, String vName, String vValue) | public void | startProcess(String mgrName, String user, String password, Map processVars) | public void | startProcess(String mgrName) | public void | startProcess(String pkgId, String pDefId) | public boolean | unloadPackage(String xpdlName) | public String[] | xpdlsAvailableToLoad() |
VARIABLE_TO_PROCESS_ALL | final public static String VARIABLE_TO_PROCESS_ALL(Code) | | |
VARIABLE_TO_PROCESS_UPDATE | final public static String VARIABLE_TO_PROCESS_UPDATE(Code) | | |
VARIABLE_TO_PROCESS_VIEW | final public static String VARIABLE_TO_PROCESS_VIEW(Code) | | |
externalRepositoryPath | public static String externalRepositoryPath(Code) | | |
acceptAssignment | public void acceptAssignment(SharkConnection sConn, String activityId) throws CannotAcceptSuspended, BaseException(Code) | | |
completeActivity | public void completeActivity(SharkConnection sConn, String activityId)(Code) | | |
connect | public SharkConnection connect() throws ConnectFailed, BaseException(Code) | | |
connect | public SharkConnection connect(String user, String passwd) throws ConnectFailed, BaseException(Code) | | |
deleteCompletedProcesses | public boolean deleteCompletedProcesses()(Code) | | |
disconnect | public void disconnect(SharkConnection sConn) throws NotConnected, BaseException(Code) | | |
getActivityContext | public Map getActivityContext(Map contextToSearch, WfActivity act, String type)(Code) | | Gets the context for the given activity that could be updated, viewed by
the user, or all activity context. The context is determined based on
activities extended attributes.
|
getAllUsers | public String[] getAllUsers() throws BaseException(Code) | | |
getAssignment | public WfAssignment getAssignment(SharkConnection sConn, String activityId) throws BaseException(Code) | | |
getExternalRepositoryPath | public String getExternalRepositoryPath()(Code) | | |
getPentahoXML | public String getPentahoXML(WfActivity act)(Code) | | Gets pentaho extended attribute XML nodes
|
getUserEMailAddress | public String getUserEMailAddress(String uname) throws BaseException(Code) | | |
isMine | public boolean isMine(SharkConnection sConn, String activityId) throws BaseException(Code) | | |
isMine | public boolean isMine(WfAssignment a) throws BaseException(Code) | | |
isPackageLoaded | public boolean isPackageLoaded(String xpdlName)(Code) | | |
isProcessRunning | public boolean isProcessRunning(String pkgId, String pDefId) throws BaseException(Code) | | |
packageHasRunningProcesses | public boolean packageHasRunningProcesses(String pkgId)(Code) | | |
processSetVariable | public void processSetVariable(WfProcess process, String vName, String vValue) throws BaseException, UpdateNotAllowed, InvalidData(Code) | | |
setVariable | public void setVariable(SharkConnection sConn, String activityId, String vName, String vValue) throws BaseException, InvalidData(Code) | | |
startProcess | public void startProcess(String mgrName) throws BaseException(Code) | | |
startProcess | public void startProcess(String pkgId, String pDefId) throws BaseException(Code) | | |
unloadPackage | public boolean unloadPackage(String xpdlName) throws PackageHasActiveProcesses, PackageInUse, BaseException(Code) | | |
xpdlsAvailableToLoad | public String[] xpdlsAvailableToLoad()(Code) | | |
|
|