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, removeOperationExtension
public SocialComponent follow(SlingHttpServletRequest request) throws OperationException
FollowingOperations
SlingHttpServletRequest
follow
in interface FollowingOperations
request
- the client requestSocialComponent
OperationException
- if there is an error occurspublic Following unfollow(SlingHttpServletRequest request) throws OperationException
FollowingOperations
SlingHttpServletRequest
unfollow
in interface FollowingOperations
request
- the client requestSocialComponent
OperationException
- if there is an error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved