Index

A C D E F G H I J O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

activate(ComponentContext) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
 
activate(ComponentContext) - Method in class org.opencastproject.playlists.PlaylistService
 
addEntry(String, Long) - Method in class org.opencastproject.playlists.PlaylistRestService
 
addEntry(String, String, PlaylistEntryType) - Method in class org.opencastproject.playlists.PlaylistRestService
 
addEntry(String, String, PlaylistEntryType) - Method in class org.opencastproject.playlists.PlaylistService
Adds a new entry at the end of a playlist and persists it
addEntry(PlaylistEntry) - Method in class org.opencastproject.playlists.Playlist
 
authorizationService - Variable in class org.opencastproject.playlists.PlaylistRestService
The authorization service
authorizationService - Variable in class org.opencastproject.playlists.PlaylistService
The authorization service

C

convertToDatabaseColumn(PlaylistEntryType) - Method in class org.opencastproject.playlists.persistence.PlaylistEntryTypeConverter
 
convertToEntityAttribute(String) - Method in class org.opencastproject.playlists.persistence.PlaylistEntryTypeConverter
 
createAsJson(String) - Method in class org.opencastproject.playlists.PlaylistRestService
 
createAsXml(String) - Method in class org.opencastproject.playlists.PlaylistRestService
 

D

deletePlaylist(Playlist, String) - Method in interface org.opencastproject.playlists.persistence.PlaylistDatabaseService
Removes a single playlist.
deletePlaylist(Playlist, String) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
Removes a single playlist.
deletionDate - Variable in class org.opencastproject.playlists.Playlist
 

E

enrich(Playlist) - Method in class org.opencastproject.playlists.PlaylistService
Enrich each entry of a playlist with information about the content.
equals(Object) - Method in class org.opencastproject.playlists.PlaylistEntry
 
equals(Object) - Method in class org.opencastproject.playlists.serialization.JaxbPlaylist
 
equals(Object) - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistAccessControlEntry
 
equals(Object) - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 
EVENT - Enum constant in enum class org.opencastproject.playlists.PlaylistEntryType
 

F

fromAccessControlEntry(AccessControlEntry) - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 

G

generateId() - Method in class org.opencastproject.playlists.Playlist
Workaround for generating a UUID for the id if we don't already have one.
getAccessControlEntries() - Method in class org.opencastproject.playlists.Playlist
 
getAction() - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
getAllForAdministrativeRead(Date, Date, int) - Method in interface org.opencastproject.playlists.persistence.PlaylistDatabaseService
 
getAllForAdministrativeRead(Date, Date, int) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
 
getAllForAdministrativeRead(Date, Date, int) - Method in class org.opencastproject.playlists.PlaylistService
 
getCode() - Method in enum class org.opencastproject.playlists.PlaylistEntryType
 
getContentId() - Method in class org.opencastproject.playlists.PlaylistEntry
 
getContentId() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 
getCreator() - Method in class org.opencastproject.playlists.Playlist
 
getDeletionDate() - Method in class org.opencastproject.playlists.Playlist
 
getDescription() - Method in class org.opencastproject.playlists.Playlist
 
getEntries() - Method in class org.opencastproject.playlists.Playlist
 
getEntries() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylist
 
getId() - Method in class org.opencastproject.playlists.Playlist
 
getId() - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
getId() - Method in class org.opencastproject.playlists.PlaylistEntry
 
getId() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 
getOrganization() - Method in class org.opencastproject.playlists.Playlist
 
getPlaylist() - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
getPlaylist() - Method in class org.opencastproject.playlists.PlaylistEntry
 
getPlaylist(String) - Method in interface org.opencastproject.playlists.persistence.PlaylistDatabaseService
Gets a single playlist in the current organization context by its identifier.
getPlaylist(String) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
Gets a single playlist in the current organization context by its identifier.
getPlaylist(String, String) - Method in interface org.opencastproject.playlists.persistence.PlaylistDatabaseService
Gets a single playlist by its identifier.
getPlaylist(String, String) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
Gets a single playlist by its identifier.
getPlaylistAsJson(String, boolean) - Method in class org.opencastproject.playlists.PlaylistRestService
 
getPlaylistAsXml(String, boolean) - Method in class org.opencastproject.playlists.PlaylistRestService
 
getPlaylistById(String) - Method in class org.opencastproject.playlists.PlaylistService
Returns a playlist from the database by its id
getPlaylistById(String, String) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
Gets a non-deleted playlist by its id
getPlaylists(int, int) - Method in class org.opencastproject.playlists.PlaylistService
Get multiple playlists from the database
getPlaylists(int, int, SortCriterion) - Method in interface org.opencastproject.playlists.persistence.PlaylistDatabaseService
Get several playlists based on their order in the database
getPlaylists(int, int, SortCriterion) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
Get several playlists based on their order in the database
getPlaylists(int, int, SortCriterion) - Method in class org.opencastproject.playlists.PlaylistService
 
getPlaylistsAsJson(int, int, String) - Method in class org.opencastproject.playlists.PlaylistRestService
 
getPlaylistsAsXml(int, int, String) - Method in class org.opencastproject.playlists.PlaylistRestService
 
getPotentiallyDeletedPlaylist(String, String) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
Gets a potentially deleted series by its ID, using the current organizational context.
getPublications() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 
getRole() - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
getTitle() - Method in class org.opencastproject.playlists.Playlist
 
getType() - Method in class org.opencastproject.playlists.PlaylistEntry
 
getType() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 
getUpdated() - Method in class org.opencastproject.playlists.Playlist
 

H

hashCode() - Method in class org.opencastproject.playlists.PlaylistEntry
 
hashCode() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylist
 
hashCode() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistAccessControlEntry
 
hashCode() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 

I

INACCESSIBLE - Enum constant in enum class org.opencastproject.playlists.PlaylistEntryType
 
isAllow() - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
isDeleted() - Method in class org.opencastproject.playlists.Playlist
 

J

JaxbPlaylist - Class in org.opencastproject.playlists.serialization
1:1 serialization of a Playlist.
JaxbPlaylist() - Constructor for class org.opencastproject.playlists.serialization.JaxbPlaylist
Default no-arg constructor needed by JAXB
JaxbPlaylist(Playlist) - Constructor for class org.opencastproject.playlists.serialization.JaxbPlaylist
 
JaxbPlaylistAccessControlEntry - Class in org.opencastproject.playlists.serialization
1:1 serialization of a PlaylistAccessControlEntry.
JaxbPlaylistAccessControlEntry() - Constructor for class org.opencastproject.playlists.serialization.JaxbPlaylistAccessControlEntry
 
JaxbPlaylistAccessControlEntry(PlaylistAccessControlEntry) - Constructor for class org.opencastproject.playlists.serialization.JaxbPlaylistAccessControlEntry
 
JaxbPlaylistEntry - Class in org.opencastproject.playlists.serialization
serialization of a PlaylistEntry.
JaxbPlaylistEntry() - Constructor for class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
Default no-arg constructor needed by JAXB
JaxbPlaylistEntry(PlaylistEntry) - Constructor for class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 

O

org.opencastproject.playlists - package org.opencastproject.playlists
 
org.opencastproject.playlists.persistence - package org.opencastproject.playlists.persistence
 
org.opencastproject.playlists.serialization - package org.opencastproject.playlists.serialization
 

P

parseJsonToPlaylist(String) - Method in class org.opencastproject.playlists.PlaylistRestService
While jackson takes care of automatically converting JAXB to JSON when returning from a request, getting it to parse JSON to JAXB when accepting a request is not that automatic.
persistence - Variable in class org.opencastproject.playlists.PlaylistService
Persistent storage
PERSISTENCE_UNIT - Static variable in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
JPA persistence unit name
Playlist - Class in org.opencastproject.playlists
Entity object for storing playlists in persistence storage.
Playlist() - Constructor for class org.opencastproject.playlists.Playlist
Default constructor
Playlist(String, String, List<PlaylistEntry>, String, String, String, Date, List<PlaylistAccessControlEntry>) - Constructor for class org.opencastproject.playlists.Playlist
 
PlaylistAccessControlEntry - Class in org.opencastproject.playlists
This has the same fields as an AccessControlEntry, but since playlists purely exist in the database, ACLs need to be persisted alongside them, which is what this is for.
PlaylistAccessControlEntry() - Constructor for class org.opencastproject.playlists.PlaylistAccessControlEntry
Default constructor
PlaylistAccessControlEntry(boolean, String, String) - Constructor for class org.opencastproject.playlists.PlaylistAccessControlEntry
 
PlaylistAccessControlEntry(long, boolean, String, String) - Constructor for class org.opencastproject.playlists.PlaylistAccessControlEntry
 
PlaylistDatabaseException - Exception Class in org.opencastproject.playlists.persistence
Exception that is thrown for failing database operations.
PlaylistDatabaseException(String) - Constructor for exception class org.opencastproject.playlists.persistence.PlaylistDatabaseException
Constructs a new playlist database exception with a message.
PlaylistDatabaseException(String, Throwable) - Constructor for exception class org.opencastproject.playlists.persistence.PlaylistDatabaseException
Constructs a new playlist database exception with a message and the throwable that caused this exception to be thrown.
PlaylistDatabaseException(Throwable) - Constructor for exception class org.opencastproject.playlists.persistence.PlaylistDatabaseException
Constructs a new playlist database exception with the throwable causing this exception to be thrown.
PlaylistDatabaseService - Interface in org.opencastproject.playlists.persistence
API that defines persistent storage of playlists
PlaylistDatabaseServiceImpl - Class in org.opencastproject.playlists.persistence
 
PlaylistDatabaseServiceImpl() - Constructor for class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
 
PlaylistEntry - Class in org.opencastproject.playlists
A playlist entry belongs to a playlist and cannot exist without it.
PlaylistEntry() - Constructor for class org.opencastproject.playlists.PlaylistEntry
Default constructor
PlaylistEntry(long, String, PlaylistEntryType) - Constructor for class org.opencastproject.playlists.PlaylistEntry
 
PlaylistEntry(String, PlaylistEntryType) - Constructor for class org.opencastproject.playlists.PlaylistEntry
 
PlaylistEntryType - Enum Class in org.opencastproject.playlists
 
PlaylistEntryTypeConverter - Class in org.opencastproject.playlists.persistence
 
PlaylistEntryTypeConverter() - Constructor for class org.opencastproject.playlists.persistence.PlaylistEntryTypeConverter
 
PlaylistRestService - Class in org.opencastproject.playlists
A REST endpoint for the PlaylistService
PlaylistRestService() - Constructor for class org.opencastproject.playlists.PlaylistRestService
 
PlaylistService - Class in org.opencastproject.playlists
 
PlaylistService() - Constructor for class org.opencastproject.playlists.PlaylistService
 

R

remove(String) - Method in class org.opencastproject.playlists.PlaylistRestService
 
remove(String) - Method in class org.opencastproject.playlists.PlaylistService
Deletes a playlist from the database
removeEntry(String, long) - Method in class org.opencastproject.playlists.PlaylistService
Removes an entry with the given id from the playlist and persists it
removeEntry(PlaylistEntry) - Method in class org.opencastproject.playlists.Playlist
 

S

SAMPLE_PLAYLIST_ENTRIES_JSON - Static variable in class org.opencastproject.playlists.PlaylistRestService
 
SAMPLE_PLAYLIST_ENTRIES_XML - Static variable in class org.opencastproject.playlists.PlaylistRestService
 
SAMPLE_PLAYLIST_JSON - Static variable in class org.opencastproject.playlists.PlaylistRestService
 
SAMPLE_PLAYLIST_XML - Static variable in class org.opencastproject.playlists.PlaylistRestService
 
searchService - Variable in class org.opencastproject.playlists.PlaylistRestService
The search service
securityService - Variable in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
The security service
securityService - Variable in class org.opencastproject.playlists.PlaylistService
The security service
setAccessControlEntries(List<PlaylistAccessControlEntry>) - Method in class org.opencastproject.playlists.Playlist
 
setAction(String) - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
setAllow(boolean) - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
setAuthorizationService(AuthorizationService) - Method in class org.opencastproject.playlists.PlaylistRestService
 
setAuthorizationService(AuthorizationService) - Method in class org.opencastproject.playlists.PlaylistService
Callback for setting the authorization service.
setContentId(String) - Method in class org.opencastproject.playlists.PlaylistEntry
 
setCreator(String) - Method in class org.opencastproject.playlists.Playlist
 
setDBSessionFactory(DBSessionFactory) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
 
setDeletionDate(Date) - Method in class org.opencastproject.playlists.Playlist
 
setDescription(String) - Method in class org.opencastproject.playlists.Playlist
 
setEntityManagerFactory(EntityManagerFactory) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
OSGi DI
setEntries(List<PlaylistEntry>) - Method in class org.opencastproject.playlists.Playlist
 
setEntries(List<JaxbPlaylistEntry>) - Method in class org.opencastproject.playlists.serialization.JaxbPlaylist
 
setId(long) - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
setId(long) - Method in class org.opencastproject.playlists.PlaylistEntry
 
setId(long) - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 
setId(String) - Method in class org.opencastproject.playlists.Playlist
 
setOrganization(String) - Method in class org.opencastproject.playlists.Playlist
 
setPersistence(PlaylistDatabaseService) - Method in class org.opencastproject.playlists.PlaylistService
Callback to set the playlist database
setPlaylist(Playlist) - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
setPlaylist(Playlist) - Method in class org.opencastproject.playlists.PlaylistEntry
 
setPublications(List<Publication>) - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 
setRole(String) - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
setSearchService(SearchService) - Method in class org.opencastproject.playlists.PlaylistRestService
 
setSecurityService(SecurityService) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
OSGi callback to set the security service.
setSecurityService(SecurityService) - Method in class org.opencastproject.playlists.PlaylistService
OSGi callback to set the security service.
setService(PlaylistService) - Method in class org.opencastproject.playlists.PlaylistRestService
Sets the playlist service
setTitle(String) - Method in class org.opencastproject.playlists.Playlist
 
setType(PlaylistEntryType) - Method in class org.opencastproject.playlists.PlaylistEntry
 
setType(PlaylistEntryType) - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 
setUpdated(Date) - Method in class org.opencastproject.playlists.Playlist
 

T

toAccessControlEntry() - Method in class org.opencastproject.playlists.PlaylistAccessControlEntry
 
toPlaylist() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylist
 
toPlaylistAccessControlEntry() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistAccessControlEntry
 
toPlaylistEntry() - Method in class org.opencastproject.playlists.serialization.JaxbPlaylistEntry
 

U

update(Playlist) - Method in class org.opencastproject.playlists.PlaylistService
Persist a new playlist in the database or update an existing one
updateAsJson(String, String) - Method in class org.opencastproject.playlists.PlaylistRestService
 
updateAsXml(String, String) - Method in class org.opencastproject.playlists.PlaylistRestService
 
updateEntries(String, List<PlaylistEntry>) - Method in class org.opencastproject.playlists.PlaylistService
Replaces the entries in the playlist with the given entries
updatePlaylist(Playlist, String) - Method in interface org.opencastproject.playlists.persistence.PlaylistDatabaseService
Creates or updates a single playlist.
updatePlaylist(Playlist, String) - Method in class org.opencastproject.playlists.persistence.PlaylistDatabaseServiceImpl
Creates or updates a single playlist.
updateWithJson(String, String) - Method in class org.opencastproject.playlists.PlaylistService
Overwrite an existing playlist with a playlist in JSON format.

V

valueOf(String) - Static method in enum class org.opencastproject.playlists.PlaylistEntryType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.opencastproject.playlists.PlaylistEntryType
Returns an array containing the constants of this enum class, in the order they are declared.
A C D E F G H I J O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form