001/*
002 * Copyright (c) 2010-2024 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 * abstract class as base for custom webhook change listener, with this abstract class it is possible to implement only
031 * a subset of the need methods and ignore the other ones.
032 */
033public abstract class AbstractWebhookChangeListener implements WebhookChangeListener {
034
035  @Override
036  public void feedCommentValue(FeedCommentValue feedCommentValue) {}
037
038  @Override
039  public void feedPhotoAddValue(FeedPhotoAddValue feedPhotoAddValue) {}
040
041  @Override
042  public void feedPhotoRemoveValue(FeedPhotoRemoveValue feedPhotoRemoveValue) {}
043
044  @Override
045  public void feedVideoValue(FeedVideoValue feedVideoValue) {}
046
047  @Override
048  public void feedVideoRemoveValue(FeedVideoRemoveValue feedVideoRemoveValue) {}
049
050  @Override
051  public void feedStatusValue(FeedStatusValue feedStatusValue) {}
052
053  @Override
054  public void feedAlbumAddValue(FeedAlbumAddValue feedAlbumAddValue) {}
055
056  @Override
057  public void feedLikeValue(FeedLikeValue feedLikeValue) {}
058
059  @Override
060  public void feedEventValue(FeedEventValue feedEventValue) {}
061
062  @Override
063  public void feedPostValue(FeedPostValue feedPostValue) {}
064
065  @Override
066  public void feedVideoBlockMute(FeedVideoBlockMute feedVideoBlockMute) {}
067
068  @Override
069  public void feedReactionValue(FeedReactionValue feedReactionValue) {}
070
071  @Override
072  public void feedShareValue(FeedShareValue feedShareValue) {}
073
074  @Override
075  public void feedAlbumEditedValue(FeedAlbumEditedValue feedAlbumEditedValue) {}
076
077  @Override
078  public void instagramCommentsValue(InstagramCommentsValue instagramCommentsValue) {}
079
080  @Override
081  public void instagramMentionsValue(InstagramMentionsValue instagramMentionsValue) {}
082
083  @Override
084  public void instagramStoryInsightsValue(InstagramStoryInsightsValue instagramStoryInsightsValue) {}
085
086  @Override
087  public void pageLeadgen(PageLeadgen pageLeadgen) {}
088
089  @Override
090  public void permissionChangeValue(PermissionChangeValue permissionChangeValue) {}
091
092  @Override
093  public void mentionPostAddValue(MentionPostAddValue mentionPostAddValue) {}
094
095  @Override
096  public void userPageValue(UserPageValue userPageValue) {}
097
098  @Override
099  public void ratingsReactionValue(RatingsReactionValue ratingsReactionValue) {}
100
101  @Override
102  public void ratingsLikeValue(RatingsLikeValue ratingsLikeValue) {}
103
104  @Override
105  public void ratingsCommentValue(RatingsCommentValue ratingsCommentValue) {}
106
107  @Override
108  public void ratingsRatingValue(RatingsRatingValue ratingsRatingValue) {}
109}