|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParentRecordingRequest
This interface represents information corresponding to a parent recording request. The recording request represented by this interface may have one or more child recording requests.
A parent recording request may be in the unresolved state, partially resolved state, completely resolved state, or the cancelled state.
A recording request would be in the unresolved state if the implementation does not have enough information to process this recording request. A recording request in this state may transition to partially resolved state, completely resolved state, or failed state.
A recording request would be in the partially resolved state if the implementation has enough information to schedule some, but not all, child recording requests corresponding to this recording request. This would be the case of a recording request for a series where some episodes for the series are scheduled. A recording request is in completely resolved state if all its child recordings are known and scheduled.
Field Summary | |
---|---|
static int |
CANCELLED_STATE
A recording request is in cancelled state, if an application has successfully called the cancel method for this recording request, but not all child recording request have been deleted. |
static int |
COMPLETELY_RESOLVED_STATE
All child recordings corresponding to this recording request have been scheduled. |
static int |
PARTIALLY_RESOLVED_STATE
Some recordings corresponding to this recording request have been scheduled. |
static int |
UNRESOLVED_STATE
The implementation does not have enough information to process this recording request. |
Method Summary | |
---|---|
void |
cancel()
Cancels the parent recording request. |
RecordingList |
getKnownChildren()
Gets all the immediate child Recordings corresponding to this parent RecordingRequest. |
Methods inherited from interface org.ocap.shared.dvr.RecordingRequest |
---|
addAppData, delete, getAppData, getAppID, getId, getKeys, getParent, getRecordingSpec, getRoot, getState, isRoot, removeAppData, reschedule, setRecordingProperties |
Field Detail |
---|
static final int UNRESOLVED_STATE
static final int COMPLETELY_RESOLVED_STATE
static final int PARTIALLY_RESOLVED_STATE
static final int CANCELLED_STATE
Method Detail |
---|
void cancel() throws java.lang.IllegalStateException, AccessDeniedException
java.lang.SecurityException
- if the calling application does not have
RecordingPermission("cancel",..) or RecordingPermission("*",..)
AccessDeniedException
- if the calling application is not
permitted to perform this operation by RecordingRequest specific
security attributes.
java.lang.IllegalStateException
- if the recording request
is not in UNRESOLVED_STATE, PARTIALLY_RESOLVED_STATE or
COMPLETELY_RESOLVED_STATE.RecordingList getKnownChildren() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the recording request is not in
PARTIALLY_RESOLVED_STATE or COMPLETELY_RESOLVED_STATE.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |