public class FacebookDAO extends SQLDAO
Constructor and Description |
---|
FacebookDAO() |
Modifier and Type | Method and Description |
---|---|
void |
createEntries(java.util.Collection<FacebookPhotoStorage.FacebookEntry> entries) |
java.util.List<FacebookPhotoStorage.FacebookEntry> |
getEntries(java.util.Collection<java.lang.String> objectIds,
UserIdentity userId) |
java.util.List<FacebookPhotoStorage.FacebookEntry> |
getEntries(UserIdentity userId) |
java.lang.String |
getUrl(java.lang.String guid) |
void |
removeEntries(java.util.Collection<java.lang.String> guids) |
getTransactionTemplate, setDataSource, setTnxManager
public FacebookDAO()
public void createEntries(java.util.Collection<FacebookPhotoStorage.FacebookEntry> entries)
entries
- public java.lang.String getUrl(java.lang.String guid)
guid
- public java.util.List<FacebookPhotoStorage.FacebookEntry> getEntries(UserIdentity userId)
userId
- public java.util.List<FacebookPhotoStorage.FacebookEntry> getEntries(java.util.Collection<java.lang.String> objectIds, UserIdentity userId)
objectIds
- list of facebook object ids used as a filteruserId
- public void removeEntries(java.util.Collection<java.lang.String> guids)
guids
- Copyright © 2015 Tampere University of Technology, Pori Department.