public class BroadcasterPlaylist extends Resource<HashMap<String,Object>>
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_ID |
| Modifier | Constructor and Description |
|---|---|
protected |
BroadcasterPlaylist(HashMap<String,Object> hashMap,
Identification consumer)
creates a new Resource.
|
|
BroadcasterPlaylist(Identification provider)
creates a new Resource.
|
protected |
BroadcasterPlaylist(Identification provider,
HashMap<String,Object> hashMap)
creates a new Resource.
|
protected |
BroadcasterPlaylist(Identification provider,
HashMap<String,Object> hashMap,
Identification consumer)
creates a new Resource.
|
protected |
BroadcasterPlaylist(Identification provider,
Identification consumer)
creates a new Resource.
|
| Modifier and Type | Method and Description |
|---|---|
static BroadcasterPlaylist |
createPlaylistAnswer(Identification provider,
Playlist playlist)
creates the Playlist-Answer
|
static BroadcasterPlaylist |
createPlaylistRequest(Identification provider,
String playlistName)
creates the Playlist-Request
|
getConsumer, getID, getProvider, getResource, getResourceID, hasProvider, setConsumer, setProvider, setResource, toList, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisOwnerpublic static final String RESOURCE_ID
public BroadcasterPlaylist(Identification provider)
provider - the Provider of the Resourceprotected BroadcasterPlaylist(Identification provider, HashMap<String,Object> hashMap)
provider - the Provider of the ResourcehashMap - the resourceprotected BroadcasterPlaylist(HashMap<String,Object> hashMap, Identification consumer)
consumer - the ID of the ConsumerhashMap - the resourceprotected BroadcasterPlaylist(Identification provider, Identification consumer)
provider - the Provider of the Resourceconsumer - the ID of the Consumerprotected BroadcasterPlaylist(Identification provider, HashMap<String,Object> hashMap, Identification consumer)
provider - the Provider of the ResourcehashMap - the resourceconsumer - the ID of the Consumerpublic static BroadcasterPlaylist createPlaylistRequest(Identification provider, String playlistName)
provider - the provider of the playlistplaylistName - the name of the playlistpublic static BroadcasterPlaylist createPlaylistAnswer(Identification provider, Playlist playlist)
provider - the providerplaylist - the playlistCopyright © 2016. All rights reserved.