public class UserOwnedContentManagerImpl extends java.lang.Object implements UserOwnedContentManager
| Constructor and Description |
|---|
UserOwnedContentManagerImpl(GfycatAPI gfycatApi,
CreationAPI creationApi,
GfycatFeedCache gfycatFeedCache) |
| Modifier and Type | Method and Description |
|---|---|
<any> |
addTags(Gfycat gfycat,
java.util.List<java.lang.String> tags) |
void |
delete(Gfycat gfycat)
Delete gfycat.
|
java.lang.Runnable |
makePrivate(Gfycat gfycat,
long undoDuration)
Make gfycat private.
|
java.lang.Runnable |
makePublic(Gfycat gfycat,
long undoDuration)
Make gfycat public.
|
java.lang.Runnable |
markAs18Only(Gfycat gfycat,
long undoDuration)
Mark own content as being suitable for 18+ only.
|
void |
markPublishedLocally(java.lang.String gfyId,
boolean published) |
java.lang.Runnable |
suitableForAllAges(Gfycat gfycat,
long undoDuration)
Mark content as being suitable for all ages.
|
<any> |
updateDescription(Gfycat gfycat,
java.lang.String description) |
<any> |
updatePublishState(Gfycat gfycat,
boolean published) |
<any> |
updateTitle(Gfycat gfycat,
java.lang.String title) |
public UserOwnedContentManagerImpl(GfycatAPI gfycatApi, CreationAPI creationApi, GfycatFeedCache gfycatFeedCache)
public void delete(Gfycat gfycat)
UserOwnedContentManagerdelete in interface UserOwnedContentManagergfycat - to delete.public void markPublishedLocally(java.lang.String gfyId,
boolean published)
public java.lang.Runnable makePrivate(Gfycat gfycat, long undoDuration)
UserOwnedContentManagermakePrivate in interface UserOwnedContentManagerundoDuration - time in milliseconds while undo is possible.public java.lang.Runnable makePublic(Gfycat gfycat, long undoDuration)
UserOwnedContentManagermakePublic in interface UserOwnedContentManagerundoDuration - time in milliseconds while undo is possible.public java.lang.Runnable suitableForAllAges(Gfycat gfycat, long undoDuration)
UserOwnedContentManagersuitableForAllAges in interface UserOwnedContentManagergfycat - to be updated.undoDuration - time in milliseconds while undo is possible.public java.lang.Runnable markAs18Only(Gfycat gfycat, long undoDuration)
UserOwnedContentManagermarkAs18Only in interface UserOwnedContentManagergfycat - to be updated.undoDuration - time in milliseconds while undo is possible.public <any> updatePublishState(Gfycat gfycat, boolean published)
updatePublishState in interface UserOwnedContentManagerpublic <any> updateDescription(Gfycat gfycat, java.lang.String description)
updateDescription in interface UserOwnedContentManagerpublic <any> updateTitle(Gfycat gfycat, java.lang.String title)
updateTitle in interface UserOwnedContentManagerpublic <any> addTags(Gfycat gfycat, java.util.List<java.lang.String> tags)
addTags in interface UserOwnedContentManager