public class FeedObjectFacadeStrategy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FEED_CREATION_ERROR |
| Constructor and Description |
|---|
FeedObjectFacadeStrategy() |
| Modifier and Type | Method and Description |
|---|---|
<T> boolean |
canHandle(T objectOrCode) |
FeedData |
create(java.lang.String code,
Context context) |
<T> void |
delete(T objectOrCode,
Context context) |
FeedData |
load(java.lang.String feedName,
Context context) |
<T> T |
reload(T t,
Context context) |
<T> T |
save(T t,
Context context) |
void |
setFeedClient(DataFeedClient feedClient) |
void |
setLabelService(LabelService labelService) |
public static final java.lang.String FEED_CREATION_ERROR
public <T> boolean canHandle(T objectOrCode)
public FeedData load(java.lang.String feedName,
Context context)
throws ObjectNotFoundException
ObjectNotFoundExceptionpublic <T> void delete(T objectOrCode,
Context context)
throws ObjectDeletionException
ObjectDeletionExceptionpublic FeedData create(java.lang.String code,
Context context)
throws ObjectCreationException
ObjectCreationExceptionpublic <T> T save(T t,
Context context)
throws ObjectSavingException
ObjectSavingExceptionpublic <T> T reload(T t,
Context context)
throws ObjectNotFoundException
ObjectNotFoundExceptionpublic void setLabelService(LabelService labelService)
public void setFeedClient(DataFeedClient feedClient)
Copyright © 2017 SAP SE. All Rights Reserved.