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.@Properties(value=@Property(name="fieldWhitelist",value={},description="List of allowed whitelisted custom properties",cardinality=100)) public abstract class AbstractEnablementResourceModelOperationService<T extends OperationExtension,U extends Operation> extends AbstractOperationService<T,U,EnablementResourceModel> implements EnablementResourceModelOperations
Constructor and Description |
---|
AbstractEnablementResourceModelOperationService() |
Modifier and Type | Method and Description |
---|---|
SocialComponent |
create(SlingHttpServletRequest request)
Create a new enablement resource on the specified
SlingHttpServletRequest |
void |
delete(SlingHttpServletRequest request)
Delete the enablement resource on the specified
SlingHttpServletRequest |
SocialComponent |
publish(SlingHttpServletRequest request)
Publish the enablement resource on the specified
SlingHttpServletRequest |
SocialComponent |
report(SlingHttpServletRequest request)
Update the report of a enablement resource on the specified
SlingHttpServletRequest |
SocialComponent |
update(SlingHttpServletRequest request)
Update an existing enablement resource on the specified
SlingHttpServletRequest |
addOperationExtension, getInheritedOperationExtensionManager, performAfterActions, performBeforeActions, removeOperationExtension
public AbstractEnablementResourceModelOperationService()
public SocialComponent report(SlingHttpServletRequest request) throws OperationException
EnablementResourceModelOperations
SlingHttpServletRequest
report
in interface EnablementResourceModelOperations
request
- the client requestSocialComponent
OperationException
- if there is an error occurspublic void delete(SlingHttpServletRequest request) throws OperationException
EnablementResourceModelOperations
SlingHttpServletRequest
delete
in interface EnablementResourceModelOperations
request
- the client requestOperationException
- if there is an error occurspublic SocialComponent publish(SlingHttpServletRequest request) throws OperationException
EnablementResourceModelOperations
SlingHttpServletRequest
publish
in interface EnablementResourceModelOperations
request
- the client requestSocialComponent
OperationException
- if there is an error occurspublic SocialComponent create(SlingHttpServletRequest request) throws OperationException
EnablementResourceModelOperations
SlingHttpServletRequest
create
in interface EnablementResourceModelOperations
request
- the client requestSocialComponent
OperationException
- if there is an error occurspublic SocialComponent update(SlingHttpServletRequest request) throws OperationException
EnablementResourceModelOperations
SlingHttpServletRequest
update
in interface EnablementResourceModelOperations
request
- the client requestSocialComponent
OperationException
- if there is an error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved