|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ocap.shared.dvr.RecordingManager
public abstract class RecordingManager
RecordingManager represents the entity that performs recordings.
Method Summary | |
---|---|
abstract void |
addRecordingChangedListener(RecordingChangedListener rcl)
Adds an event listener for changes in status of recording requests. |
abstract RecordingList |
getEntries()
Gets the list of entries maintained by the RecordingManager. |
abstract RecordingList |
getEntries(RecordingListFilter filter)
Gets the list of recording requests matching the specified filter. |
static RecordingManager |
getInstance()
Gets the singleton instance of RecordingManager. |
abstract RecordingRequest |
getRecordingRequest(int id)
Look up a recording request from the identifier. |
abstract RecordingRequest |
record(RecordingSpec source)
Requests the recording of the stream or streams according to the source parameter. |
abstract void |
removeRecordingChangedListener(RecordingChangedListener rcl)
Removes a registed event listener for changes in status of recording requests. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract RecordingList getEntries()
SecurityException
- if the calling application does not have
RecordingPermission("read",..) or RecordingPermission("*",..)public abstract RecordingList getEntries(RecordingListFilter filter)
filter
- the filter to use on the total set of recording requests
SecurityException
- if the calling application does not have
RecordingPermission("read",..) or RecordingPermission("*",..)public abstract void addRecordingChangedListener(RecordingChangedListener rcl)
rcl
- The listener to be registered.
SecurityException
- if the calling application does not have
RecordingPermission("read",..) or RecordingPermission("*",..)public abstract void removeRecordingChangedListener(RecordingChangedListener rcl)
rcl
- the listener to be removed.public abstract RecordingRequest record(RecordingSpec source) throws IllegalArgumentException, AccessDeniedException
source
- specification of stream or streams to be recorded
and how they are to be recorded.
IllegalArgumentException
- if the source is an application
defined class or as defined in the concrete sub-class of
RecordingSpec for instances of that class
AccessDeniedException
- only where defined in the concrete sub-class of
RecordingSpec for instances of that class
SecurityException
- if the calling application does not have
RecordingPermission("create",..) or RecordingPermission("*",..)public static RecordingManager getInstance()
public abstract RecordingRequest getRecordingRequest(int id) throws IllegalArgumentException
id
- an identifier as returned by RecordingRequest.getId
IllegalArgumentException
- if there is no recording
request corresponding to this identifier or if the recording request
is not visible as defined by RecordingRequest specific security
attributes
SecurityException
- if the calling application does not have
RecordingPermission("read",..) or RecordingPermission("*",..)RecordingRequest.getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |