|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compuware.optimaltrace.framework.business.AbstractPropertiesContainer
com.compuware.optimaltrace.tools.common.tpn.client.AbstractRMIClientFacade
com.compuware.optimaltrace.tools.common.tpn.client.ProjectManagerFacade
public class ProjectManagerFacade
Class ProjectManagerFacade
Field Summary | |
---|---|
protected java.util.Map<java.lang.Object,java.lang.Object> |
_allProjectsSecurityMap
|
protected boolean |
_fullyInitialised
|
protected boolean |
_isRunningStandalone
|
protected java.util.Map<java.lang.String,ProjectIfc> |
_loadedProjects
|
protected java.util.Map<java.lang.String,java.util.Map<?,?>> |
_projectBaselines
|
protected java.util.List<java.lang.String> |
_projectBaselinesOrderedByDateCreated
|
static ProjectIfc |
_projectBeingDisconnected
disconnectProject Disconnects a project from the repository This simply consists of removing its project server from the project server list, and removing the project from the list of project callbacks. |
protected java.util.Map<java.lang.Object,java.lang.Object> |
_projectNameIdMap
Map of project name/project id's that have been read from the database |
protected java.util.Map<java.lang.Object,java.lang.Object> |
_projectNameSecurityMap
|
protected java.util.Map<ProjectIfc,com.compuware.optimaltrace.tools.common.tpn.ProjectServerIfc> |
_projectServers
Map of projects to ProjectServerImpls.. |
static java.lang.String |
ADMIN_DISCONNECT
|
static java.lang.String |
PROJECT_ONLINE
|
static java.lang.String |
SERVERSTOP_DISCONNECT
|
Fields inherited from class com.compuware.optimaltrace.tools.common.tpn.client.AbstractRMIClientFacade |
---|
_databaseProduct, _eventLog, _eventProcessors, _pollInterval, _projectDaemon, _session, _sessionId |
Fields inherited from class com.compuware.optimaltrace.framework.business.AbstractPropertiesContainer |
---|
_propertyChangeSupport |
Constructor Summary | |
---|---|
protected |
ProjectManagerFacade()
Constructor ProjectManagerFacade |
Method Summary | |
---|---|
void |
authenticateUser(java.lang.String userName,
java.lang.String password)
Authenticates the user. |
void |
checkProjectDaemon()
Checks the project daemon. |
void |
closeProject(ProjectIfc project)
Closes the project. |
void |
closeProject(java.lang.String projectId)
Closes the project. |
void |
closeSelectedProject()
Closes the selected project |
void |
deleteBaseline(ProjectIfc project,
java.lang.String baseline)
Deletes the Project baseline. |
void |
deleteDocGenAndChangeHistoryLogForProject(ProjectIfc project)
Deletes the DocGen and change history log for project. |
void |
deleteProject(java.lang.String projectName)
Deletes a Project. |
void |
deleteQADProjectInfo(ProjectIfc project)
|
void |
deleteQADScriptInfo(ProjectIfc project,
long scenarioOID)
|
void |
disconnectProject(ProjectIfc project)
Disconnects the project. |
void |
disconnectProject(ProjectIfc project,
boolean isAdminDisconnect,
boolean isServerStopDisconnect)
Disconnects the project from this repository |
boolean |
enableNewProjectSecurity()
Check if newly created project is security enabled. |
com.compuware.optimaltrace.tools.qad.QADProjectInfo |
findQADProjectInfo(ProjectIfc project)
Finds the QADProjectInfo. |
com.compuware.optimaltrace.tools.qad.QADScriptInfo |
findQADScriptInfo(ProjectIfc project,
long scenarioOID)
Locates the QADScriptInfo for the given Scenario. |
java.util.Collection<com.compuware.optimaltrace.tools.qad.QADScriptInfo> |
findQADScriptInfo(ProjectIfc project,
long[] scenarioOID)
Locates the QADScriptInfos for the given Scenarios. |
java.util.Map |
getAllProjectsSecurityInfo()
Gets all project security Info. |
int |
getClientCount(ProjectIfc project)
Gets the client count. |
java.util.List |
getDocGenEventLog(ProjectIfc project)
Deprecated. This method is only used by DocGenEventLog which is not used. |
com.compuware.optimaltrace.tools.common.tpn.EventProcessorIfc |
getEventProcessorForProject(ProjectIfc project)
Gets the event processor for this project. |
static ProjectManagerFacade |
getInstance()
Gets the instance of this project manager facade. |
java.util.Map |
getLockedBizObjects(ProjectIfc project)
Gets the locked biz objects. |
java.util.Map |
getProjectBaselines()
Gets the project's baselines. |
java.lang.String |
getProjectId(java.lang.String projectName)
Gets the project ID. |
com.compuware.optimaltrace.tools.common.tpn.ProjectPermissionsManagerClient |
getProjectPermissionsManagerClient(ProjectIfc project)
Gets the project permission manager client. |
java.util.Map |
getProjectSecurityMap()
Gets the project security map. |
java.util.List |
getRemoteDocGenEventLog(ProjectIfc project)
Gets the remote DocGen event log. |
com.compuware.optimaltrace.tools.common.bizobjectslocal.ProjectChangeLogIfc |
getRemoteProjectHistory(ProjectIfc project,
BizObjectIfc element)
Gets the remote project history. |
java.lang.String |
getServerHostName()
Gets the server host name. |
com.compuware.optimaltrace.tools.common.bizobjects.NotificationListIfc |
getUserNotifications()
Gets the user notifications |
boolean |
isProject(java.lang.String name)
Checks if it is a project. |
boolean |
isProjectBaselineSecure(ProjectIfc project,
java.lang.String baseline)
Checks if the project baseline is secure. |
boolean |
isProjectNew(ProjectIfc project)
Checks if a Project is new. |
boolean |
isProjectOnline(ProjectIfc project)
Checks if the project is online. |
boolean |
isProjectSaved(ProjectIfc project)
Checks if a Project has been saved. |
boolean |
isProjectSecure(long projectId)
Checks if a Project is Security Enabled or not |
boolean |
isProjectSecure(java.lang.String projectName)
Checks if a Project is Security Enabled or not |
java.util.Map |
listProjectBaselines(long projectBOId)
Lists the project baselines. |
java.util.List |
listProjectBaselinesOrderedByDateCreated(long projectBOId)
Lists the project baselines ordered by created date. |
java.util.Map |
listProjects()
Gets a List of Projects Currently this is not a supported call from the API |
java.util.Map[] |
listProjectsDetailWithSecurityInfo()
List Project Details with their Security Info Element 0 is the map of name > project id's Element 1 is the map of name > isSecure |
com.compuware.optimaltrace.tools.common.bizobjects.PartialProjectIfc |
loadPartialProject(java.lang.String fileName)
Loads the partial projects. |
ProjectIfc |
loadProject(long projectId)
Loads the project. |
ProjectIfc |
loadProject(java.lang.String projectName)
Loads the project. |
ProjectIfc |
loadProjectBaseline(long projectBOId,
java.lang.String baseline)
Loads the project's baseline. |
ProjectIfc |
loadProjectById(java.lang.String projectId)
Loads the project by ID. |
ProjectIfc |
loadXMLProject(java.lang.String fileName)
Loads the XML project. |
ProjectIfc |
loadXMLProject(java.lang.String fileName,
boolean reload)
Loads the XML project. |
void |
logoutUser()
Logs out the currently logged in user. |
ProjectIfc |
newProject(java.lang.String projectName,
boolean createInDatabase)
Creates a New Local Project Currently this is not a supported call from the API |
ProjectIfc |
newRemoteProject(java.lang.String projectName)
Creates a New Remote Project Currently this is not a supported call from the API |
void |
pingServer()
Pings the server. |
void |
registerForNotification(BizObjectIfc bizObject,
ProjectIfc project,
boolean notifyChildren,
java.util.List notifiableChildren)
Registers the business object for notification. |
ProjectIfc |
reloadXMLProject(ProjectIfc project)
Reloads the XML project. |
void |
removeAllNotificationsForUser(java.lang.String userId)
Removes all notifications for user. |
void |
removeAllProjectNotifications(long projectId)
Removes all project notifications. |
void |
reserveName(BizObjectIfc bizObject,
java.lang.String name,
BizObjectIfc parentBizObject,
BizObjectIfc p)
Reserves the Name. |
void |
reserveName(java.lang.String bizObjectName,
java.lang.String bizObjectType,
long parentId,
BizObjectIfc p)
Reserves the name. |
void |
reserveName(java.lang.String bizObjectName,
java.lang.String bizObjectType,
long parentId,
java.lang.String constraint,
BizObjectIfc project)
Reserves the name |
void |
saveNotifications()
Saves the notifications. |
void |
savePartialProjectXML(com.compuware.optimaltrace.tools.common.bizobjects.PartialProjectIfc project,
java.lang.String fileName)
Saves the partial project XML> |
void |
saveProject(ProjectIfc project)
Saves the project. |
void |
saveProjectTemplate(ProjectIfc project,
java.lang.String fileName)
Saves the project template. |
void |
saveProjectXML(ProjectIfc project,
java.lang.String fileName)
Saves the project XML. |
void |
saveProjectXML(ProjectIfc project,
java.lang.String fileName,
boolean want26Format)
Saves the project XML. |
void |
saveQADProjectInfo(ProjectIfc project,
com.compuware.optimaltrace.tools.qad.QADProjectInfo qadProjectInfo)
Saves the QADProjectInfo. |
void |
saveQADScriptInfo(ProjectIfc project,
java.util.Collection<com.compuware.optimaltrace.tools.qad.QADScriptInfo> qadScriptInfoCol)
Saves the QADScriptInfo collection. |
void |
saveQADScriptInfo(ProjectIfc project,
com.compuware.optimaltrace.tools.qad.QADScriptInfo qadScriptInfo)
Saves the QADScriptInfo. |
com.compuware.optimaltrace.tools.common.bizobjectslocal.RepositorySearchResultsIfc |
searchRepository(java.util.List projects,
java.lang.String searchString,
boolean matchCase,
boolean matchWord)
Searches the repository. |
void |
setIsUsedFromTogether(boolean isUsed)
Sets a flag indicating the call is from "Together". |
void |
setStandAlone(boolean standAlone)
Sets the stand alone. |
void |
setUserPassword(java.lang.String newPassword)
Allows changing and setting the password of the currently authenticated user. |
void |
unregisterClient()
Unregisters the client. |
void |
updateNotifications(com.compuware.optimaltrace.tools.common.bizobjects.NotificationListIfc updateNotifications,
java.util.List removeBizObjectIds)
Updates the notifications. |
java.util.List |
updateProjectState(ProjectIfc project)
Updates the project state. |
ProjectIfc |
uploadProject(ProjectIfc project,
com.compuware.optimaltrace.tools.common.bizobjectslocal.ProjectChangeLogIfc changeLog,
java.util.List xmlDocGenEventLog)
Uploads the project. |
ProjectIfc |
uploadProject(ProjectIfc project,
com.compuware.optimaltrace.tools.common.bizobjectslocal.ProjectChangeLogIfc changeLog,
java.util.List xmlDocGenEventLog,
boolean isProjectBaseline)
Uploads the project. |
boolean |
useWindowsIntegratedAuthentication()
Verifies if Windows Integrated Authentication is to be used. |
void |
validateSelectedProject()
Uses the validation support to validate the project that is currently selected in the pelican app. |
Methods inherited from class com.compuware.optimaltrace.tools.common.tpn.client.AbstractRMIClientFacade |
---|
checkProjectDaemon, createDetailedNetworkException, getLoggedInUserName, getSession, invalidateEventProcessor, isOracleDatabase, isProjectDirty, registerEventProcessor, unregisterClient |
Methods inherited from class com.compuware.optimaltrace.framework.business.AbstractPropertiesContainer |
---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, setTimeStampListenersEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map<ProjectIfc,com.compuware.optimaltrace.tools.common.tpn.ProjectServerIfc> _projectServers
protected boolean _isRunningStandalone
protected java.util.Map<java.lang.Object,java.lang.Object> _projectNameIdMap
protected boolean _fullyInitialised
public static java.lang.String PROJECT_ONLINE
public static java.lang.String ADMIN_DISCONNECT
public static java.lang.String SERVERSTOP_DISCONNECT
protected java.util.Map<java.lang.Object,java.lang.Object> _projectNameSecurityMap
protected java.util.Map<java.lang.Object,java.lang.Object> _allProjectsSecurityMap
protected java.util.Map<java.lang.String,java.util.Map<?,?>> _projectBaselines
protected java.util.List<java.lang.String> _projectBaselinesOrderedByDateCreated
protected java.util.Map<java.lang.String,ProjectIfc> _loadedProjects
public static ProjectIfc _projectBeingDisconnected
Constructor Detail |
---|
protected ProjectManagerFacade()
Method Detail |
---|
public static ProjectManagerFacade getInstance()
public void setStandAlone(boolean standAlone)
standAlone
- public ProjectIfc uploadProject(ProjectIfc project, com.compuware.optimaltrace.tools.common.bizobjectslocal.ProjectChangeLogIfc changeLog, java.util.List xmlDocGenEventLog) throws NetworkException, CorruptedProjectException, ProjectNotUniqueException, ProjectCannotBeLoadedException, AuthenticationException, PermissionException, DisconnectEventPendingException
project
- changeLog
- xmlDocGenEventLog
-
NetworkException
CorruptedProjectException
ProjectNotUniqueException
ProjectCannotBeLoadedException
AuthenticationException
PermissionException
DisconnectEventPendingException
public ProjectIfc uploadProject(ProjectIfc project, com.compuware.optimaltrace.tools.common.bizobjectslocal.ProjectChangeLogIfc changeLog, java.util.List xmlDocGenEventLog, boolean isProjectBaseline) throws NetworkException, CorruptedProjectException, ProjectNotUniqueException, ProjectCannotBeLoadedException, AuthenticationException, PermissionException, DisconnectEventPendingException
project
- changeLog
- xmlDocGenEventLog
- isProjectBaseline
-
NetworkException
CorruptedProjectException
ProjectNotUniqueException
ProjectCannotBeLoadedException
AuthenticationException
PermissionException
DisconnectEventPendingException
public void saveProjectXML(ProjectIfc project, java.lang.String fileName) throws CorruptedProjectException, ReadOnlyFileException
project
- fileName
-
CorruptedProjectException
ReadOnlyFileException
public void deleteDocGenAndChangeHistoryLogForProject(ProjectIfc project)
project
- public void saveProjectXML(ProjectIfc project, java.lang.String fileName, boolean want26Format) throws CorruptedProjectException, ReadOnlyFileException
project
- fileName
-
CorruptedProjectException
ReadOnlyFileException
public void saveProjectTemplate(ProjectIfc project, java.lang.String fileName) throws CorruptedProjectException, ReadOnlyFileException
project
- fileName
-
CorruptedProjectException
ReadOnlyFileException
public void saveProject(ProjectIfc project) throws NetworkException, CorruptedProjectException, ProjectNotUniqueException, PermissionException, DisconnectEventPendingException
project
-
NetworkException
CorruptedProjectException
ProjectNotUniqueException
PermissionException
DisconnectEventPendingException
public ProjectIfc loadProject(java.lang.String projectName) throws NetworkException, CorruptedProjectException, ProjectCannotBeLoadedException, AuthenticationException, PermissionException
projectName
-
NetworkException
CorruptedProjectException
ProjectCannotBeLoadedException
AuthenticationException
PermissionException
public ProjectIfc loadProject(long projectId) throws NetworkException, CorruptedProjectException, ProjectCannotBeLoadedException, AuthenticationException, PermissionException
projectId
-
NetworkException
CorruptedProjectException
ProjectCannotBeLoadedException
AuthenticationException
PermissionException
public void closeProject(java.lang.String projectId)
projectId
- public void closeProject(ProjectIfc project)
project
- public java.util.Map getProjectSecurityMap()
public ProjectIfc loadProjectById(java.lang.String projectId) throws NetworkException, CorruptedProjectException, ProjectCannotBeLoadedException, AuthenticationException, PermissionException
projectId
-
NetworkException
CorruptedProjectException
ProjectCannotBeLoadedException
AuthenticationException
PermissionException
public com.compuware.optimaltrace.tools.common.bizobjectslocal.ProjectChangeLogIfc getRemoteProjectHistory(ProjectIfc project, BizObjectIfc element) throws java.rmi.RemoteException, com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectChangeLogFileException, DisconnectEventPendingException
project
- element
-
java.rmi.RemoteException
com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectChangeLogFileException
DisconnectEventPendingException
public java.util.List getRemoteDocGenEventLog(ProjectIfc project) throws java.rmi.RemoteException
project
-
java.rmi.RemoteException
public java.util.List getDocGenEventLog(ProjectIfc project) throws NetworkException
project
-
NetworkException
public java.util.Map getAllProjectsSecurityInfo() throws NetworkException
NetworkException
public boolean isProject(java.lang.String name) throws NetworkException
name
-
NetworkException
public com.compuware.optimaltrace.tools.common.bizobjectslocal.RepositorySearchResultsIfc searchRepository(java.util.List projects, java.lang.String searchString, boolean matchCase, boolean matchWord) throws NetworkException
projects
- searchString
- matchCase
- matchWord
-
NetworkException
public boolean isProjectNew(ProjectIfc project)
project
- a ProjectIfc
value
public boolean isProjectSaved(ProjectIfc project)
project
- a ProjectIfc
value
public ProjectIfc loadXMLProject(java.lang.String fileName) throws com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectFileException, com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
fileName
-
com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectFileException
com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
public ProjectIfc loadXMLProject(java.lang.String fileName, boolean reload) throws com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectFileException, com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
fileName
- reload
-
com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectFileException
com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
public void reserveName(BizObjectIfc bizObject, java.lang.String name, BizObjectIfc parentBizObject, BizObjectIfc p) throws com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException, NetworkException
bizObject
- name
- parentBizObject
- p
-
NameAlreadyReservedException
NetworkException
public void reserveName(java.lang.String bizObjectName, java.lang.String bizObjectType, long parentId, BizObjectIfc p) throws com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException, NetworkException
reserveName
in interface com.compuware.optimaltrace.tools.common.tpn.client.RMIClientFacadeIfc
bizObjectName
- bizObjectType
- parentId
- p
-
NameAlreadyReservedException
NetworkException
public void reserveName(java.lang.String bizObjectName, java.lang.String bizObjectType, long parentId, java.lang.String constraint, BizObjectIfc project) throws com.compuware.optimaltrace.tools.common.tpn.client.NameAlreadyReservedException, NetworkException
bizObjectName
- bizObjectType
- parentId
- constraint
- project
-
NameAlreadyReservedException
NetworkException
public int getClientCount(ProjectIfc project) throws java.rmi.RemoteException
project
-
java.rmi.RemoteException
public void validateSelectedProject() throws com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
- if the project is not validpublic void closeSelectedProject()
public java.util.Map getLockedBizObjects(ProjectIfc project) throws java.rmi.RemoteException
project
-
java.rmi.RemoteException
public ProjectIfc reloadXMLProject(ProjectIfc project) throws com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectFileException, com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
project
-
com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectFileException
com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
public void disconnectProject(ProjectIfc project)
project
- public void disconnectProject(ProjectIfc project, boolean isAdminDisconnect, boolean isServerStopDisconnect)
project
- isAdminDisconnect
- isServerStopDisconnect
- public boolean isProjectOnline(ProjectIfc project)
project
-
public java.lang.String getProjectId(java.lang.String projectName)
projectName
-
public java.lang.String getServerHostName()
public void savePartialProjectXML(com.compuware.optimaltrace.tools.common.bizobjects.PartialProjectIfc project, java.lang.String fileName) throws ReadOnlyFileException
project
- fileName
-
ReadOnlyFileException
public com.compuware.optimaltrace.tools.common.bizobjects.PartialProjectIfc loadPartialProject(java.lang.String fileName) throws com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectFileException, com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
fileName
-
com.compuware.optimaltrace.tools.common.tpn.client.xml.InvalidProjectFileException
com.compuware.optimaltrace.tools.common.bizobjects.InvalidProjectException
public void setIsUsedFromTogether(boolean isUsed)
isUsed
- public void authenticateUser(java.lang.String userName, java.lang.String password) throws AuthenticationException, NetworkException
userName
- password
-
AuthenticationException
NetworkException
public com.compuware.optimaltrace.tools.common.tpn.ProjectPermissionsManagerClient getProjectPermissionsManagerClient(ProjectIfc project)
project
-
public void logoutUser() throws NetworkException
NetworkException
public void pingServer() throws NetworkException
pingServer
in class com.compuware.optimaltrace.tools.common.tpn.client.AbstractRMIClientFacade
NetworkException
public void setUserPassword(java.lang.String newPassword) throws NetworkException, ObjectAlreadyLockedException, PermissionException
newPassword
-
NetworkException
ObjectAlreadyLockedException
PermissionException
public java.util.Map listProjectBaselines(long projectBOId) throws NetworkException
projectBOId
-
NetworkException
public java.util.List listProjectBaselinesOrderedByDateCreated(long projectBOId) throws NetworkException
projectBOId
-
NetworkException
public java.util.Map getProjectBaselines()
public ProjectIfc loadProjectBaseline(long projectBOId, java.lang.String baseline) throws NetworkException, CorruptedProjectException, ProjectCannotBeLoadedException, AuthenticationException, PermissionException
projectBOId
- baseline
-
NetworkException
CorruptedProjectException
ProjectCannotBeLoadedException
AuthenticationException
PermissionException
public void deleteBaseline(ProjectIfc project, java.lang.String baseline) throws NetworkException, ClientConnectedException, AuthenticationException, PermissionException
project
- baseline
-
NetworkException
ClientConnectedException
AuthenticationException
PermissionException
public void registerForNotification(BizObjectIfc bizObject, ProjectIfc project, boolean notifyChildren, java.util.List notifiableChildren) throws NetworkException, NotificationException
bizObject
- project
- notifyChildren
- notifiableChildren
-
NetworkException
NotificationException
public void updateNotifications(com.compuware.optimaltrace.tools.common.bizobjects.NotificationListIfc updateNotifications, java.util.List removeBizObjectIds) throws NetworkException, NotificationException
updateNotifications
- removeBizObjectIds
-
NetworkException
NotificationException
public com.compuware.optimaltrace.tools.common.bizobjects.NotificationListIfc getUserNotifications() throws NetworkException, NotificationException
NetworkException
NotificationException
public void removeAllNotificationsForUser(java.lang.String userId) throws java.rmi.RemoteException, NotificationException
userId
-
java.rmi.RemoteException
NotificationException
public void removeAllProjectNotifications(long projectId) throws java.rmi.RemoteException
projectId
-
java.rmi.RemoteException
public void saveNotifications() throws java.rmi.RemoteException, NotificationException
java.rmi.RemoteException
NotificationException
public java.util.List updateProjectState(ProjectIfc project) throws java.rmi.RemoteException, NetworkException
project
-
java.rmi.RemoteException
NetworkException
public com.compuware.optimaltrace.tools.common.tpn.EventProcessorIfc getEventProcessorForProject(ProjectIfc project)
project
-
public void checkProjectDaemon() throws java.rmi.RemoteException
java.rmi.RemoteException
public void unregisterClient() throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean useWindowsIntegratedAuthentication() throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean enableNewProjectSecurity() throws java.rmi.RemoteException
java.rmi.RemoteException
public ProjectIfc newProject(java.lang.String projectName, boolean createInDatabase)
projectName
- createInDatabase
-
public ProjectIfc newRemoteProject(java.lang.String projectName) throws NetworkException, ProjectNotUniqueException, AuthenticationException, PermissionException
projectName
-
NetworkException
ProjectNotUniqueException
AuthenticationException
PermissionException
public void deleteProject(java.lang.String projectName) throws NetworkException, ClientConnectedException, AuthenticationException, PermissionException
projectName
-
NetworkException
ClientConnectedException
AuthenticationException
PermissionException
public java.util.Map[] listProjectsDetailWithSecurityInfo() throws NetworkException
NetworkException
public java.util.Map listProjects() throws NetworkException
NetworkException
public boolean isProjectSecure(java.lang.String projectName)
projectName
-
public boolean isProjectSecure(long projectId)
projectId
-
public boolean isProjectBaselineSecure(ProjectIfc project, java.lang.String baseline)
project
- baseline
-
public void saveQADProjectInfo(ProjectIfc project, com.compuware.optimaltrace.tools.qad.QADProjectInfo qadProjectInfo) throws NetworkException
project
- qadProjectInfo
- - modified instance of the method to be saved.
NetworkException
public com.compuware.optimaltrace.tools.qad.QADScriptInfo findQADScriptInfo(ProjectIfc project, long scenarioOID) throws NetworkException
scenarioOID
- - oid of the scenario to look up a QADScriptInfo for.
NetworkException
public void deleteQADProjectInfo(ProjectIfc project) throws NetworkException
NetworkException
public void saveQADScriptInfo(ProjectIfc project, com.compuware.optimaltrace.tools.qad.QADScriptInfo qadScriptInfo) throws NetworkException
project
- qadScriptInfo
- - modified instance to be saved.
NetworkException
public void saveQADScriptInfo(ProjectIfc project, java.util.Collection<com.compuware.optimaltrace.tools.qad.QADScriptInfo> qadScriptInfoCol) throws NetworkException
project
- qadScriptInfo
- - modified instance to be saved.
NetworkException
public com.compuware.optimaltrace.tools.qad.QADProjectInfo findQADProjectInfo(ProjectIfc project) throws NetworkException
project
-
NetworkException
public void deleteQADScriptInfo(ProjectIfc project, long scenarioOID) throws NetworkException
NetworkException
public java.util.Collection<com.compuware.optimaltrace.tools.qad.QADScriptInfo> findQADScriptInfo(ProjectIfc project, long[] scenarioOID) throws NetworkException
scenarioOID
- - oid of the scenario to look up a QADScriptInfo for.
NetworkException
|
OptimalTrace 5.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |