001/*
002 * Copyright (c) 2010-2020 Mark Allen, Norbert Bartels.
003 *
004 * Permission is hereby granted, free of charge, to any person obtaining a copy
005 * of this software and associated documentation files (the "Software"), to deal
006 * in the Software without restriction, including without limitation the rights
007 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008 * copies of the Software, and to permit persons to whom the Software is
009 * furnished to do so, subject to the following conditions:
010 *
011 * The above copyright notice and this permission notice shall be included in
012 * all copies or substantial portions of the Software.
013 *
014 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
020 * THE SOFTWARE.
021 */
022package com.restfb.webhook;
023
024import com.restfb.types.webhook.*;
025import com.restfb.types.webhook.instagram.InstagramCommentsValue;
026import com.restfb.types.webhook.instagram.InstagramMentionsValue;
027import com.restfb.types.webhook.instagram.InstagramStoryInsightsValue;
028
029/**
030 * interface to provide methods a listener can implement to handle the different change values
031 */
032public interface WebhookChangeListener {
033
034  void feedCommentValue(FeedCommentValue feedCommentValue);
035
036  void feedPhotoAddValue(FeedPhotoAddValue feedPhotoAddValue);
037
038  void feedPhotoRemoveValue(FeedPhotoRemoveValue feedPhotoRemoveValue);
039
040  void feedVideoValue(FeedVideoValue feedVideoValue);
041
042  void feedVideoRemoveValue(FeedVideoRemoveValue feedVideoRemoveValue);
043
044  void feedStatusValue(FeedStatusValue feedStatusValue);
045
046  void feedAlbumAddValue(FeedAlbumAddValue feedAlbumAddValue);
047
048  void feedLikeValue(FeedLikeValue feedLikeValue);
049
050  void feedEventValue(FeedEventValue feedEventValue);
051
052  void feedPostValue(FeedPostValue feedPostValue);
053
054  void feedVideoBlockMute(FeedVideoBlockMute feedVideoBlockMute);
055
056  void feedReactionValue(FeedReactionValue feedReactionValue);
057
058  void feedShareValue(FeedShareValue feedShareValue);
059
060  void feedAlbumEditedValue(FeedAlbumEditedValue feedAlbumEditedValue);
061
062  void instagramCommentsValue(InstagramCommentsValue instagramCommentsValue);
063
064  void instagramMentionsValue(InstagramMentionsValue instagramMentionsValue);
065
066  void instagramStoryInsightsValue(InstagramStoryInsightsValue instagramStoryInsightsValue);
067
068  void pageLeadgen(PageLeadgen pageLeadgen);
069
070  void permissionChangeValue(PermissionChangeValue permissionChangeValue);
071
072  void mentionPostAddValue(MentionPostAddValue mentionPostAddValue);
073
074  void userPageValue(UserPageValue userPageValue);
075
076  void ratingsReactionValue(RatingsReactionValue ratingsReactionValue);
077
078  void ratingsLikeValue(RatingsLikeValue ratingsLikeValue);
079
080  void ratingsCommentValue(RatingsCommentValue ratingsCommentValue);
081
082  void ratingsRatingValue(RatingsRatingValue ratingsRatingValue);
083}