Class MonitoringAppSoapMockStub
- java.lang.Object
-
- com.collabnet.ce.soap60.webservices.ClientSoapStub
-
- com.collabnet.ce.soap60.webservices.ClientSoapMockStub
-
- com.collabnet.ce.soap60.webservices.monitoring.MonitoringAppSoapMockStub
-
- All Implemented Interfaces:
IMonitoringAppSoap
public class MonitoringAppSoapMockStub extends ClientSoapMockStub implements IMonitoringAppSoap
-
-
Field Summary
-
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
DATE_WILDCARD, GUIDKEY_WILDCARD, INTEGER_WILDCARD, LONG_WILDCARD, STRING_WILDCARD
-
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT
-
-
Constructor Summary
Constructors Constructor Description MonitoringAppSoapMockStub(String soapServerUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfromSubscriptionTypeInt(int subscriptionType)Simulate a call to fromSubscriptionTypeIntintgetApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, String loggedInUser)Simulate a call to getApplicationMonitoringNotificationPreferenceSoapNamedValuesgetApplicationMonitoringNotificationPreferences(String sessionId, String projectId)Simulate a call to getApplicationMonitoringNotificationPreferencescom.vasoftware.sf.server.types.FolderKeygetApplicationRootFolderKey(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, String loggedInUser)Simulate a call to getApplicationRootFolderKeyintgetMonitoringNotificationPreference(String sessionId)Simulate a call to getMonitoringNotificationPreferenceMonitoringSubscriptionSoapDOgetMonitoringSubscription(String sessionId, String objectId)Simulate a call to getMonitoringSubscriptionMonitoringSubscriptionSoapDOgetMonitoringSubscriptionByUser(String sessionId, String objectId, String userName)Simulate a call to getMonitoringSubscriptionByUserMonitoringSubscriptionSoapListgetMonitoringSubscriptions(String sessionId, SoapFilter[] filters)Simulate a call to getMonitoringSubscriptionsMonitoringSubscriptionSoapListgetMonitoringSubscriptionsByUser(String sessionId, String userName, SoapFilter[] filters)Simulate a call to getMonitoringSubscriptionsByUsercom.vasoftware.sf.server.types.ObjectKeygetObjectKeyForAdminVerification(com.vasoftware.sf.server.types.ObjectKey objKey, String adminOperationName, String loggedInUser)Simulate a call to getObjectKeyForAdminVerificationcom.vasoftware.sf.common.access.rbac.OperationgetOperationForMonitoring(com.vasoftware.sf.server.types.ObjectKey objKey, com.vasoftware.sf.server.types.Path objPath, String permission, String loggedInUser)Simulate a call to getOperationForMonitoringbooleanisMonitoring(String sessionId, String objectId)Simulate a call to isMonitoringbooleanisUserMonitoring(String sessionId, String userName, String objectId)Simulate a call to isUserMonitoringMonitoringUserSoapListlistMonitoringUsers(String sessionId, String objectId)Simulate a call to listMonitoringUsersvoidprepareFromSubscriptionTypeInt(int subscriptionType, Object returnValue)Prepare a simulated response to fromSubscriptionTypeIntvoidprepareGetApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, String loggedInUser, Object returnValue)Prepare a simulated response to getApplicationMonitoringNotificationPreferencevoidprepareGetApplicationMonitoringNotificationPreferences(String sessionId, String projectId, Object returnValue)Prepare a simulated response to getApplicationMonitoringNotificationPreferencesvoidprepareGetApplicationRootFolderKey(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, String loggedInUser, Object returnValue)Prepare a simulated response to getApplicationRootFolderKeyvoidprepareGetMonitoringNotificationPreference(String sessionId, Object returnValue)Prepare a simulated response to getMonitoringNotificationPreferencevoidprepareGetMonitoringSubscription(String sessionId, String objectId, Object returnValue)Prepare a simulated response to getMonitoringSubscriptionvoidprepareGetMonitoringSubscriptionByUser(String sessionId, String objectId, String userName, Object returnValue)Prepare a simulated response to getMonitoringSubscriptionByUservoidprepareGetMonitoringSubscriptions(String sessionId, SoapFilter[] filters, Object returnValue)Prepare a simulated response to getMonitoringSubscriptionsvoidprepareGetMonitoringSubscriptionsByUser(String sessionId, String userName, SoapFilter[] filters, Object returnValue)Prepare a simulated response to getMonitoringSubscriptionsByUservoidprepareGetObjectKeyForAdminVerification(com.vasoftware.sf.server.types.ObjectKey objKey, String adminOperationName, String loggedInUser, Object returnValue)Prepare a simulated response to getObjectKeyForAdminVerificationvoidprepareGetOperationForMonitoring(com.vasoftware.sf.server.types.ObjectKey objKey, com.vasoftware.sf.server.types.Path objPath, String permission, String loggedInUser, Object returnValue)Prepare a simulated response to getOperationForMonitoringvoidprepareIsMonitoring(String sessionId, String objectId, Object returnValue)Prepare a simulated response to isMonitoringvoidprepareIsUserMonitoring(String sessionId, String userName, String objectId, Object returnValue)Prepare a simulated response to isUserMonitoringvoidprepareListMonitoringUsers(String sessionId, String objectId, Object returnValue)Prepare a simulated response to listMonitoringUsersvoidprepareSetApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, int preference, String loggedInUser)Prepare a simulated response to setApplicationMonitoringNotificationPreferencevoidprepareSetApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, int preference, String loggedInUser, Exception exception)Prepare a simulated response to setApplicationMonitoringNotificationPreferencevoidprepareSetApplicationMonitoringNotificationPreferences(String sessionId, String projectId, SoapNamedValues appPreferences)Prepare a simulated response to setApplicationMonitoringNotificationPreferencesvoidprepareSetApplicationMonitoringNotificationPreferences(String sessionId, String projectId, SoapNamedValues appPreferences, Exception exception)Prepare a simulated response to setApplicationMonitoringNotificationPreferencesvoidprepareSetMonitoringNotificationPreference(String sessionId, int preference)Prepare a simulated response to setMonitoringNotificationPreferencevoidprepareSetMonitoringNotificationPreference(String sessionId, int preference, Exception exception)Prepare a simulated response to setMonitoringNotificationPreferencevoidprepareStartMonitoring(String sessionId, String objectId)Prepare a simulated response to startMonitoringvoidprepareStartMonitoring(String sessionId, String objectId, Exception exception)Prepare a simulated response to startMonitoringvoidprepareStartMonitoringByUser(String sessionId, String userName, String objectId)Prepare a simulated response to startMonitoringByUservoidprepareStartMonitoringByUser(String sessionId, String userName, String objectId, Exception exception)Prepare a simulated response to startMonitoringByUservoidprepareStopMonitoring(String sessionId, String objectId)Prepare a simulated response to stopMonitoringvoidprepareStopMonitoring(String sessionId, String objectId, Exception exception)Prepare a simulated response to stopMonitoringvoidprepareStopMonitoringByUser(String sessionId, String userName, String objectId)Prepare a simulated response to stopMonitoringByUservoidprepareStopMonitoringByUser(String sessionId, String userName, String objectId, Exception exception)Prepare a simulated response to stopMonitoringByUservoidprepareToSubscriptionTypeInt(String subscriptionType, Object returnValue)Prepare a simulated response to toSubscriptionTypeIntvoidprepareVerifyDocumentReviewObjectPermission(String userName, com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser)Prepare a simulated response to verifyDocumentReviewObjectPermissionvoidprepareVerifyDocumentReviewObjectPermission(String userName, com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser, Exception exception)Prepare a simulated response to verifyDocumentReviewObjectPermissionvoidprepareVerifyPermission(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionNameForUser, String permissionNameForCurrentUser, String loggedInUser)Prepare a simulated response to verifyPermissionvoidprepareVerifyPermission(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionNameForUser, String permissionNameForCurrentUser, String loggedInUser, Exception exception)Prepare a simulated response to verifyPermissionvoidprepareVerifyPermissionForMonitoring(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionName, String loggedInUser)Prepare a simulated response to verifyPermissionForMonitoringvoidprepareVerifyPermissionForMonitoring(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionName, String loggedInUser, Exception exception)Prepare a simulated response to verifyPermissionForMonitoringvoidprepareVerifyPlanningFolderPermission(String userName, com.vasoftware.sf.server.types.PlanningFolderKey pfKey, String permission, String loggedInUser)Prepare a simulated response to verifyPlanningFolderPermissionvoidprepareVerifyPlanningFolderPermission(String userName, com.vasoftware.sf.server.types.PlanningFolderKey pfKey, String permission, String loggedInUser, Exception exception)Prepare a simulated response to verifyPlanningFolderPermissionvoidsetApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, int preference, String loggedInUser)Simulate a call to setApplicationMonitoringNotificationPreferencevoidsetApplicationMonitoringNotificationPreferences(String sessionId, String projectId, SoapNamedValues appPreferences)Simulate a call to setApplicationMonitoringNotificationPreferencesvoidsetMonitoringNotificationPreference(String sessionId, int preference)Simulate a call to setMonitoringNotificationPreferencevoidstartMonitoring(String sessionId, String objectId)Simulate a call to startMonitoringvoidstartMonitoringByUser(String sessionId, String userName, String objectId)Simulate a call to startMonitoringByUservoidstopMonitoring(String sessionId, String objectId)Simulate a call to stopMonitoringvoidstopMonitoringByUser(String sessionId, String userName, String objectId)Simulate a call to stopMonitoringByUserinttoSubscriptionTypeInt(String subscriptionType)Simulate a call to toSubscriptionTypeIntvoidverifyDocumentReviewObjectPermission(String userName, com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser)Simulate a call to verifyDocumentReviewObjectPermissionvoidverifyPermission(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionNameForUser, String permissionNameForCurrentUser, String loggedInUser)Simulate a call to verifyPermissionvoidverifyPermissionForMonitoring(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionName, String loggedInUser)Simulate a call to verifyPermissionForMonitoringvoidverifyPlanningFolderPermission(String userName, com.vasoftware.sf.server.types.PlanningFolderKey pfKey, String permission, String loggedInUser)Simulate a call to verifyPlanningFolderPermission-
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapMockStub
addSimulatedResult, addSimulatedResult, addSimulatedResult, getCallCount, getCallParameters, getUnusedCalls, simulateCall
-
Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
-
-
-
Constructor Detail
-
MonitoringAppSoapMockStub
public MonitoringAppSoapMockStub(String soapServerUrl)
-
-
Method Detail
-
prepareIsMonitoring
public void prepareIsMonitoring(String sessionId, String objectId, Object returnValue)
Prepare a simulated response to isMonitoring
-
isMonitoring
public boolean isMonitoring(String sessionId, String objectId) throws RemoteException
Simulate a call to isMonitoring- Specified by:
isMonitoringin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id for which we are doing the check- Returns:
- whether the current user is monitoring the specified object
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
MonitoringAppSoap.isMonitoring(java.lang.String, java.lang.String)
-
prepareIsUserMonitoring
public void prepareIsUserMonitoring(String sessionId, String userName, String objectId, Object returnValue)
Prepare a simulated response to isUserMonitoring
-
isUserMonitoring
public boolean isUserMonitoring(String sessionId, String userName, String objectId) throws RemoteException
Simulate a call to isUserMonitoring- Specified by:
isUserMonitoringin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id for which we are doing the check- Returns:
- whether the specified user is monitoring the specified object
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when userName isn't the current user, and current user can't view the object.SystemFault- when an unexpected system level error occurs.IllegalArgumentFault- when the specified userName is invalid.RemoteException- See Also:
MonitoringAppSoap.isUserMonitoring(java.lang.String, java.lang.String, java.lang.String)
-
prepareStopMonitoring
public void prepareStopMonitoring(String sessionId, String objectId)
Prepare a simulated response to stopMonitoring
-
prepareStopMonitoring
public void prepareStopMonitoring(String sessionId, String objectId, Exception exception)
Prepare a simulated response to stopMonitoring
-
stopMonitoring
public void stopMonitoring(String sessionId, String objectId) throws RemoteException
Simulate a call to stopMonitoring- Specified by:
stopMonitoringin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id which current user will stop monitoring- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system level error occurs.PermissionDeniedFault- when current user does not enough permission on the given object.RemoteException- See Also:
MonitoringAppSoap.stopMonitoring(java.lang.String, java.lang.String)
-
prepareStopMonitoringByUser
public void prepareStopMonitoringByUser(String sessionId, String userName, String objectId)
Prepare a simulated response to stopMonitoringByUser
-
prepareStopMonitoringByUser
public void prepareStopMonitoringByUser(String sessionId, String userName, String objectId, Exception exception)
Prepare a simulated response to stopMonitoringByUser
-
stopMonitoringByUser
public void stopMonitoringByUser(String sessionId, String userName, String objectId) throws RemoteException
Simulate a call to stopMonitoringByUser- Specified by:
stopMonitoringByUserin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session iduserName- user name of the user who needs to stop monitoringobjectId- the object id which the given user will stop monitoring- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when userName isn't the current userSystemFault- when an unexpected system level error occurs.IllegalArgumentFault- when the specified user name is invalid.InvalidOperationFault- when site is configured not to allow removing users from monitoring.RemoteException- See Also:
MonitoringAppSoap.stopMonitoringByUser(java.lang.String, java.lang.String, java.lang.String)
-
prepareStartMonitoring
public void prepareStartMonitoring(String sessionId, String objectId)
Prepare a simulated response to startMonitoring
-
prepareStartMonitoring
public void prepareStartMonitoring(String sessionId, String objectId, Exception exception)
Prepare a simulated response to startMonitoring
-
startMonitoring
public void startMonitoring(String sessionId, String objectId) throws RemoteException
Simulate a call to startMonitoring- Specified by:
startMonitoringin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id which current user will start monitoring- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when current user can't view the object,SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
MonitoringAppSoap.startMonitoring(java.lang.String, java.lang.String)
-
prepareStartMonitoringByUser
public void prepareStartMonitoringByUser(String sessionId, String userName, String objectId)
Prepare a simulated response to startMonitoringByUser
-
prepareStartMonitoringByUser
public void prepareStartMonitoringByUser(String sessionId, String userName, String objectId, Exception exception)
Prepare a simulated response to startMonitoringByUser
-
startMonitoringByUser
public void startMonitoringByUser(String sessionId, String userName, String objectId) throws RemoteException
Simulate a call to startMonitoringByUser- Specified by:
startMonitoringByUserin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session iduserName- user name of the user who needs to monitorobjectId- the object id which the given user will start monitoring- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when userName does not have view permission on the objectSystemFault- when an unexpected system level error occurs.IllegalArgumentFault- when the given user name is not valid.RemoteException- See Also:
MonitoringAppSoap.startMonitoringByUser(java.lang.String, java.lang.String, java.lang.String)
-
prepareListMonitoringUsers
public void prepareListMonitoringUsers(String sessionId, String objectId, Object returnValue)
Prepare a simulated response to listMonitoringUsers
-
listMonitoringUsers
public MonitoringUserSoapList listMonitoringUsers(String sessionId, String objectId) throws RemoteException
Simulate a call to listMonitoringUsers- Specified by:
listMonitoringUsersin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id- Returns:
- List of users monitoring the specified object.
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.PermissionDeniedFault- when current user can't view the object.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
MonitoringAppSoap.listMonitoringUsers(java.lang.String, java.lang.String)
-
prepareGetMonitoringSubscriptions
public void prepareGetMonitoringSubscriptions(String sessionId, SoapFilter[] filters, Object returnValue)
Prepare a simulated response to getMonitoringSubscriptions
-
getMonitoringSubscriptions
public MonitoringSubscriptionSoapList getMonitoringSubscriptions(String sessionId, SoapFilter[] filters) throws RemoteException
Simulate a call to getMonitoringSubscriptions- Specified by:
getMonitoringSubscriptionsin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idfilters- Array of filters to apply (null to return unfiltered list).- Returns:
- List of filtered monitoring subscriptions.
- Throws:
InvalidSessionFault- when the specified session id is invalid.InvalidFilterFault- when an unsupported filter exists in the filter collection.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
MonitoringAppSoap.getMonitoringSubscriptions(java.lang.String, com.collabnet.ce.soap60.types.SoapFilter[])
-
prepareGetMonitoringSubscriptionsByUser
public void prepareGetMonitoringSubscriptionsByUser(String sessionId, String userName, SoapFilter[] filters, Object returnValue)
Prepare a simulated response to getMonitoringSubscriptionsByUser
-
getMonitoringSubscriptionsByUser
public MonitoringSubscriptionSoapList getMonitoringSubscriptionsByUser(String sessionId, String userName, SoapFilter[] filters) throws RemoteException
Simulate a call to getMonitoringSubscriptionsByUser
-
prepareGetMonitoringSubscription
public void prepareGetMonitoringSubscription(String sessionId, String objectId, Object returnValue)
Prepare a simulated response to getMonitoringSubscription
-
getMonitoringSubscription
public MonitoringSubscriptionSoapDO getMonitoringSubscription(String sessionId, String objectId) throws RemoteException
Simulate a call to getMonitoringSubscription- Specified by:
getMonitoringSubscriptionin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- Id of the object- Returns:
- The subscription data
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified object id is invalid.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
MonitoringAppSoap.getMonitoringSubscription(java.lang.String, java.lang.String)
-
prepareGetMonitoringSubscriptionByUser
public void prepareGetMonitoringSubscriptionByUser(String sessionId, String objectId, String userName, Object returnValue)
Prepare a simulated response to getMonitoringSubscriptionByUser
-
getMonitoringSubscriptionByUser
public MonitoringSubscriptionSoapDO getMonitoringSubscriptionByUser(String sessionId, String objectId, String userName) throws RemoteException
Simulate a call to getMonitoringSubscriptionByUser
-
prepareGetMonitoringNotificationPreference
public void prepareGetMonitoringNotificationPreference(String sessionId, Object returnValue)
Prepare a simulated response to getMonitoringNotificationPreference
-
getMonitoringNotificationPreference
public int getMonitoringNotificationPreference(String sessionId) throws RemoteException
Simulate a call to getMonitoringNotificationPreference- Specified by:
getMonitoringNotificationPreferencein interfaceIMonitoringAppSoap- Parameters:
sessionId- User session id- Returns:
- Subscription type; 1:email, 2:digest, 3:none, 0 otherwise
- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
MonitoringAppSoap.getMonitoringNotificationPreference(java.lang.String)
-
prepareSetMonitoringNotificationPreference
public void prepareSetMonitoringNotificationPreference(String sessionId, int preference)
Prepare a simulated response to setMonitoringNotificationPreference
-
prepareSetMonitoringNotificationPreference
public void prepareSetMonitoringNotificationPreference(String sessionId, int preference, Exception exception)
Prepare a simulated response to setMonitoringNotificationPreference
-
setMonitoringNotificationPreference
public void setMonitoringNotificationPreference(String sessionId, int preference) throws RemoteException
Simulate a call to setMonitoringNotificationPreference- Specified by:
setMonitoringNotificationPreferencein interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idpreference- Integer value representing the subscription type; 1:email, 2:digest, 3:none- Throws:
InvalidSessionFault- when the specified session id is invalid.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
MonitoringAppSoap.setMonitoringNotificationPreference(java.lang.String, int)
-
prepareSetApplicationMonitoringNotificationPreferences
public void prepareSetApplicationMonitoringNotificationPreferences(String sessionId, String projectId, SoapNamedValues appPreferences)
Prepare a simulated response to setApplicationMonitoringNotificationPreferences
-
prepareSetApplicationMonitoringNotificationPreferences
public void prepareSetApplicationMonitoringNotificationPreferences(String sessionId, String projectId, SoapNamedValues appPreferences, Exception exception)
Prepare a simulated response to setApplicationMonitoringNotificationPreferences
-
setApplicationMonitoringNotificationPreferences
public void setApplicationMonitoringNotificationPreferences(String sessionId, String projectId, SoapNamedValues appPreferences) throws RemoteException
Simulate a call to setApplicationMonitoringNotificationPreferences- Specified by:
setApplicationMonitoringNotificationPreferencesin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idprojectId- Project idappPreferences- Application preferences.- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid, when an application name is invalid.IllegalArgumentFault- when the application preferences are invalid.PermissionDeniedFault- when current user can view the object.SystemFault- when an unexpected system level error occurs.RemoteException- See Also:
MonitoringAppSoap.setApplicationMonitoringNotificationPreferences(java.lang.String, java.lang.String, com.collabnet.ce.soap60.types.SoapNamedValues)
-
prepareGetApplicationMonitoringNotificationPreferences
public void prepareGetApplicationMonitoringNotificationPreferences(String sessionId, String projectId, Object returnValue)
Prepare a simulated response to getApplicationMonitoringNotificationPreferences
-
getApplicationMonitoringNotificationPreferences
public SoapNamedValues getApplicationMonitoringNotificationPreferences(String sessionId, String projectId) throws RemoteException
Simulate a call to getApplicationMonitoringNotificationPreferences- Specified by:
getApplicationMonitoringNotificationPreferencesin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idprojectId- Project id- Returns:
- SoapNamedValues which includes notification preferences for project applications
- Throws:
InvalidSessionFault- when the specified session id is invalid.NoSuchObjectFault- when the specified project id is invalid.RemoteException- See Also:
MonitoringAppSoap.getApplicationMonitoringNotificationPreferences(java.lang.String, java.lang.String)
-
prepareGetApplicationMonitoringNotificationPreference
public void prepareGetApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, String loggedInUser, Object returnValue)Prepare a simulated response to getApplicationMonitoringNotificationPreference
-
getApplicationMonitoringNotificationPreference
public int getApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, String loggedInUser) throws RemoteExceptionSimulate a call to getApplicationMonitoringNotificationPreference
-
prepareSetApplicationMonitoringNotificationPreference
public void prepareSetApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, int preference, String loggedInUser)Prepare a simulated response to setApplicationMonitoringNotificationPreference
-
prepareSetApplicationMonitoringNotificationPreference
public void prepareSetApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, int preference, String loggedInUser, Exception exception)Prepare a simulated response to setApplicationMonitoringNotificationPreference
-
setApplicationMonitoringNotificationPreference
public void setApplicationMonitoringNotificationPreference(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, int preference, String loggedInUser) throws RemoteExceptionSimulate a call to setApplicationMonitoringNotificationPreference
-
prepareGetApplicationRootFolderKey
public void prepareGetApplicationRootFolderKey(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, String loggedInUser, Object returnValue)Prepare a simulated response to getApplicationRootFolderKey
-
getApplicationRootFolderKey
public com.vasoftware.sf.server.types.FolderKey getApplicationRootFolderKey(com.vasoftware.sf.server.types.ProjectPath projectPath, String appName, String loggedInUser) throws RemoteExceptionSimulate a call to getApplicationRootFolderKey
-
prepareVerifyPermission
public void prepareVerifyPermission(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionNameForUser, String permissionNameForCurrentUser, String loggedInUser)
Prepare a simulated response to verifyPermission
-
prepareVerifyPermission
public void prepareVerifyPermission(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionNameForUser, String permissionNameForCurrentUser, String loggedInUser, Exception exception)
Prepare a simulated response to verifyPermission
-
verifyPermission
public void verifyPermission(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionNameForUser, String permissionNameForCurrentUser, String loggedInUser) throws RemoteException
Simulate a call to verifyPermission
-
prepareVerifyPermissionForMonitoring
public void prepareVerifyPermissionForMonitoring(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionName, String loggedInUser)
Prepare a simulated response to verifyPermissionForMonitoring
-
prepareVerifyPermissionForMonitoring
public void prepareVerifyPermissionForMonitoring(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionName, String loggedInUser, Exception exception)
Prepare a simulated response to verifyPermissionForMonitoring
-
verifyPermissionForMonitoring
public void verifyPermissionForMonitoring(String userName, com.vasoftware.sf.server.types.ObjectKey objectKey, com.vasoftware.sf.server.types.Path objPath, String permissionName, String loggedInUser) throws RemoteException
Simulate a call to verifyPermissionForMonitoring
-
prepareGetOperationForMonitoring
public void prepareGetOperationForMonitoring(com.vasoftware.sf.server.types.ObjectKey objKey, com.vasoftware.sf.server.types.Path objPath, String permission, String loggedInUser, Object returnValue)Prepare a simulated response to getOperationForMonitoring
-
getOperationForMonitoring
public com.vasoftware.sf.common.access.rbac.Operation getOperationForMonitoring(com.vasoftware.sf.server.types.ObjectKey objKey, com.vasoftware.sf.server.types.Path objPath, String permission, String loggedInUser) throws RemoteExceptionSimulate a call to getOperationForMonitoring
-
prepareVerifyDocumentReviewObjectPermission
public void prepareVerifyDocumentReviewObjectPermission(String userName, com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser)
Prepare a simulated response to verifyDocumentReviewObjectPermission
-
prepareVerifyDocumentReviewObjectPermission
public void prepareVerifyDocumentReviewObjectPermission(String userName, com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser, Exception exception)
Prepare a simulated response to verifyDocumentReviewObjectPermission
-
verifyDocumentReviewObjectPermission
public void verifyDocumentReviewObjectPermission(String userName, com.vasoftware.sf.server.types.DocumentReviewKey docDocumentReviewObjectKey, String permission, String loggedInUser) throws RemoteException
Simulate a call to verifyDocumentReviewObjectPermission
-
prepareVerifyPlanningFolderPermission
public void prepareVerifyPlanningFolderPermission(String userName, com.vasoftware.sf.server.types.PlanningFolderKey pfKey, String permission, String loggedInUser)
Prepare a simulated response to verifyPlanningFolderPermission
-
prepareVerifyPlanningFolderPermission
public void prepareVerifyPlanningFolderPermission(String userName, com.vasoftware.sf.server.types.PlanningFolderKey pfKey, String permission, String loggedInUser, Exception exception)
Prepare a simulated response to verifyPlanningFolderPermission
-
verifyPlanningFolderPermission
public void verifyPlanningFolderPermission(String userName, com.vasoftware.sf.server.types.PlanningFolderKey pfKey, String permission, String loggedInUser) throws RemoteException
Simulate a call to verifyPlanningFolderPermission
-
prepareGetObjectKeyForAdminVerification
public void prepareGetObjectKeyForAdminVerification(com.vasoftware.sf.server.types.ObjectKey objKey, String adminOperationName, String loggedInUser, Object returnValue)Prepare a simulated response to getObjectKeyForAdminVerification
-
getObjectKeyForAdminVerification
public com.vasoftware.sf.server.types.ObjectKey getObjectKeyForAdminVerification(com.vasoftware.sf.server.types.ObjectKey objKey, String adminOperationName, String loggedInUser) throws RemoteExceptionSimulate a call to getObjectKeyForAdminVerification
-
prepareToSubscriptionTypeInt
public void prepareToSubscriptionTypeInt(String subscriptionType, Object returnValue)
Prepare a simulated response to toSubscriptionTypeInt
-
toSubscriptionTypeInt
public int toSubscriptionTypeInt(String subscriptionType) throws RemoteException
Simulate a call to toSubscriptionTypeInt- Throws:
RemoteException- See Also:
MonitoringAppSoap.toSubscriptionTypeInt(java.lang.String)
-
prepareFromSubscriptionTypeInt
public void prepareFromSubscriptionTypeInt(int subscriptionType, Object returnValue)Prepare a simulated response to fromSubscriptionTypeInt
-
fromSubscriptionTypeInt
public String fromSubscriptionTypeInt(int subscriptionType) throws RemoteException
Simulate a call to fromSubscriptionTypeInt- Throws:
RemoteException- See Also:
MonitoringAppSoap.fromSubscriptionTypeInt(int)
-
-