com.telelogic.rhapsody.core
Class RPRTCListener

java.lang.Object
  extended by com.telelogic.rhapsody.core.RPRTCListener

public abstract class RPRTCListener
extends java.lang.Object


Constructor Summary
RPRTCListener()
           
 
Method Summary
abstract  boolean afterSave()
          Called after save is done in Rhapsody
abstract  boolean afterUnitSave(IRPUnit pUnit)
          Called after unit is saved in Rhapsody
 boolean connect(IRPApplication connectionPoint)
           
 boolean disconnect()
           
abstract  java.lang.String executeCommand(IRPUnit pUnit, java.lang.String command, java.lang.String parameters)
          Called on request to execute a Command
protected  void finalize()
           
abstract  java.lang.String getFileUUID(java.lang.String strUnits)
          Called on request to get unit's UUID
abstract  java.lang.String getId()
          Gets the id of the listener
abstract  int onGetStatus(IRPUnit pUnit)
          Called on request to get unit's status
abstract  boolean onLocateInPendingChanges(IRPUnit pUnit)
          Called on request to locate unit in pending changes view
abstract  boolean onLocateInRepositoryFiles(IRPUnit pUnit)
          Called on request to locate unit in repository files' view
abstract  boolean onLock(IRPUnit pUnit)
          Called on request to lock unit
abstract  boolean onRefreshStatus()
          Called to refresh status cache in RTC
abstract  boolean onShowHistory(IRPUnit pUnit)
          Called on request to show CM revisions' history of a unit
abstract  boolean onUnlock(IRPUnit pUnit)
          Called on request to un-lock unit
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPRTCListener

public RPRTCListener()
Method Detail

connect

public boolean connect(IRPApplication connectionPoint)

disconnect

public boolean disconnect()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

executeCommand

public abstract java.lang.String executeCommand(IRPUnit pUnit,
                                                java.lang.String command,
                                                java.lang.String parameters)
Called on request to execute a Command

Throws:
RhapsodyRuntimeException

afterSave

public abstract boolean afterSave()
Called after save is done in Rhapsody

Throws:
RhapsodyRuntimeException

afterUnitSave

public abstract boolean afterUnitSave(IRPUnit pUnit)
Called after unit is saved in Rhapsody

Throws:
RhapsodyRuntimeException

getFileUUID

public abstract java.lang.String getFileUUID(java.lang.String strUnits)
Called on request to get unit's UUID

Throws:
RhapsodyRuntimeException

getId

public abstract java.lang.String getId()
Gets the id of the listener

Throws:
RhapsodyRuntimeException

onGetStatus

public abstract int onGetStatus(IRPUnit pUnit)
Called on request to get unit's status

Throws:
RhapsodyRuntimeException

onLocateInPendingChanges

public abstract boolean onLocateInPendingChanges(IRPUnit pUnit)
Called on request to locate unit in pending changes view

Throws:
RhapsodyRuntimeException

onLocateInRepositoryFiles

public abstract boolean onLocateInRepositoryFiles(IRPUnit pUnit)
Called on request to locate unit in repository files' view

Throws:
RhapsodyRuntimeException

onLock

public abstract boolean onLock(IRPUnit pUnit)
Called on request to lock unit

Throws:
RhapsodyRuntimeException

onRefreshStatus

public abstract boolean onRefreshStatus()
Called to refresh status cache in RTC

Throws:
RhapsodyRuntimeException

onShowHistory

public abstract boolean onShowHistory(IRPUnit pUnit)
Called on request to show CM revisions' history of a unit

Throws:
RhapsodyRuntimeException

onUnlock

public abstract boolean onUnlock(IRPUnit pUnit)
Called on request to un-lock unit

Throws:
RhapsodyRuntimeException