T - is a OperationExtension that will be used as hooks by the extending class.U - is a Operation that is being provided by the extending class.public abstract class AbstractFollowingOperationService<T extends OperationExtension,U extends Operation> extends AbstractOperationService<T,U,Following> implements FollowingOperations
| Constructor and Description |
|---|
AbstractFollowingOperationService() |
| Modifier and Type | Method and Description |
|---|---|
SocialComponent |
follow(SlingHttpServletRequest request)
Publish a community site base on the specified
SlingHttpServletRequest |
Following |
unfollow(SlingHttpServletRequest request)
Un-publish a community site base on the specified
SlingHttpServletRequest |
addOperationExtension, getInheritedOperationExtensionManager, performAfterActions, performBeforeActions, removeOperationExtensionpublic SocialComponent follow(SlingHttpServletRequest request) throws OperationException
FollowingOperationsSlingHttpServletRequestfollow in interface FollowingOperationsrequest - the client requestSocialComponentOperationException - if there is an error occurspublic Following unfollow(SlingHttpServletRequest request) throws OperationException
FollowingOperationsSlingHttpServletRequestunfollow in interface FollowingOperationsrequest - the client requestSocialComponentOperationException - if there is an error occursCopyright © 2010 - 2023 Adobe. All Rights Reserved