public class URLContentDAO extends SQLDAO
Constructor and Description |
---|
URLContentDAO() |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(URLContentStorage.URLEntry entry) |
java.util.List<URLContentStorage.URLEntry> |
getEntries(java.util.Collection<java.lang.String> guids,
java.util.EnumSet<MediaUrlValidator.MediaType> mediaTypes,
java.util.Collection<java.lang.String> urls,
UserIdentity userId) |
java.lang.String |
getUrl(java.lang.String guid) |
void |
removeEntries(java.util.Collection<java.lang.String> guids) |
getTransactionTemplate, setDataSource, setTnxManager
public URLContentDAO()
public java.util.List<URLContentStorage.URLEntry> getEntries(java.util.Collection<java.lang.String> guids, java.util.EnumSet<MediaUrlValidator.MediaType> mediaTypes, java.util.Collection<java.lang.String> urls, UserIdentity userId)
guids
- optional GUID filtermediaTypes
- optional media type filterurls
- optional url filteruserId
- public void addEntry(URLContentStorage.URLEntry entry)
entry
- public java.lang.String getUrl(java.lang.String guid)
guid
- public void removeEntries(java.util.Collection<java.lang.String> guids)
guids
- Copyright © 2015 Tampere University of Technology, Pori Department.