org.jmythapi.protocol.response
Class ProgramInfoFilters

java.lang.Object
  extended by org.jmythapi.protocol.response.ProgramInfoFilters

public class ProgramInfoFilters
extends Object


Constructor Summary
ProgramInfoFilters()
           
 
Method Summary
static IProgramInfoFilter allFlags(IProgramFlags.Flags... flags)
          Creates a filter to filter recordings by flags.
static IProgramInfoFilter and(IProgramInfoFilter... filters)
           
static IProgramInfoFilter anyFlags(IProgramFlags.Flags... flags)
          Creates a filter to filter recordings by flags.
static IProgramInfoFilter channel(IBasicChannelInfo... channelInfos)
          Creates a filter to filter recordings by channel.
static IProgramInfoFilter channel(Integer... channelIds)
          Creates a filter to filter recordings by channel ID.
static IProgramInfoFilter channelIdRecStartTime(Integer channelId, Date recordingStartTime)
          Creates a filter to filter recordings by channel-id and recording-start-time.
static IProgramInfoFilter flag(IProgramFlags.Flags flag)
          Creates a filter to filter recordings by flags.
static IProgramInfoFilter not(IProgramInfoFilter filter)
           
static IProgramInfoFilter or(IProgramInfoFilter... filters)
           
static IProgramInfoFilter recorder(Integer... recorderIds)
          Creates a filter to filter recordings by recorder-id.
static IProgramInfoFilter recorder(IRecorderInfo... recorderInfos)
          Creates a filter to filter recordings by recorder.
static IProgramInfoFilter recordingGroup(String... recordingGroups)
          Creates a filter to filter recordings by recording-group.
static IProgramInfoFilter recordingId(Integer... recordingIds)
          Creates a filter to filter recordings by recording id.
static IProgramInfoFilter status(IProgramRecordingStatus.Status... recordingStatus)
          Creates a filter to filter recordings by recording-status.
static IProgramInfoFilter storageGroup(String... storageGroups)
          Creates a filter to filter recordings by storage-group.
static IProgramInfoFilter uniqueProgramId(String... uniqueIds)
          Creates a filter to filter recordings by unique program id.
static IProgramInfoFilter uniqueRecordingId(String... uniqueIds)
          Creates a filter to filter recordings by unique recording id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramInfoFilters

public ProgramInfoFilters()
Method Detail

flag

public static IProgramInfoFilter flag(IProgramFlags.Flags flag)
Creates a filter to filter recordings by flags.

See Also:
IProgramInfo.getProgramFlags()

allFlags

public static IProgramInfoFilter allFlags(IProgramFlags.Flags... flags)
Creates a filter to filter recordings by flags.

A program must have set all given flags to be accepted.

See Also:
IProgramInfo.getProgramFlags()

anyFlags

public static IProgramInfoFilter anyFlags(IProgramFlags.Flags... flags)
Creates a filter to filter recordings by flags.

A program must have set at least one of the given flags to be accepted.

See Also:
IProgramInfo.getProgramFlags()

status

public static IProgramInfoFilter status(IProgramRecordingStatus.Status... recordingStatus)
Creates a filter to filter recordings by recording-status.

See Also:
IProgramInfo.getRecordingStatus()

recorder

public static IProgramInfoFilter recorder(Integer... recorderIds)
Creates a filter to filter recordings by recorder-id.

See Also:
IProgramInfo.getCardID()

recorder

public static IProgramInfoFilter recorder(IRecorderInfo... recorderInfos)
Creates a filter to filter recordings by recorder.

See Also:
IProgramInfo.getCardID()

channel

public static IProgramInfoFilter channel(Integer... channelIds)
Creates a filter to filter recordings by channel ID.

See Also:
IProgramInfo.getChannelID()

channel

public static IProgramInfoFilter channel(IBasicChannelInfo... channelInfos)
Creates a filter to filter recordings by channel.

See Also:
IProgramInfo.getChannelID()

storageGroup

public static IProgramInfoFilter storageGroup(String... storageGroups)
Creates a filter to filter recordings by storage-group.

See Also:
IProgramInfo.getStorageGroup()

recordingGroup

public static IProgramInfoFilter recordingGroup(String... recordingGroups)
Creates a filter to filter recordings by recording-group.

See Also:
IProgramInfo.getRecordingGroup()

uniqueProgramId

public static IProgramInfoFilter uniqueProgramId(String... uniqueIds)
Creates a filter to filter recordings by unique program id.

See Also:
IBasicProgramInfo.getUniqueProgramId()

uniqueRecordingId

public static IProgramInfoFilter uniqueRecordingId(String... uniqueIds)
Creates a filter to filter recordings by unique recording id.

See Also:
IProgramInfo.getUniqueRecordingId()

recordingId

public static IProgramInfoFilter recordingId(Integer... recordingIds)
Creates a filter to filter recordings by recording id.

See Also:
IProgramInfo.getRecordingId()

channelIdRecStartTime

public static IProgramInfoFilter channelIdRecStartTime(Integer channelId,
                                                       Date recordingStartTime)
Creates a filter to filter recordings by channel-id and recording-start-time.

See Also:
IProgramInfo.getChannelID(), IProgramInfo.getRecordingStartTime()

and

public static IProgramInfoFilter and(IProgramInfoFilter... filters)

or

public static IProgramInfoFilter or(IProgramInfoFilter... filters)

not

public static IProgramInfoFilter not(IProgramInfoFilter filter)


Copyright © 2008-2013. All Rights Reserved.