public abstract class AbstractVariantEndpoint extends AbstractBaseEndpoint
| Modifier and Type | Field and Description |
|---|---|
protected PushApplicationService |
pushAppService |
protected GenericVariantService |
variantService |
logger| Constructor and Description |
|---|
AbstractVariantEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
deleteVariant(String variantId)
Delete Variant
|
javax.ws.rs.core.Response |
findVariantById(String variantId)
Get Variant
|
protected <T extends org.jboss.aerogear.unifiedpush.api.Variant> |
getVariantsByType(org.jboss.aerogear.unifiedpush.api.PushApplication application,
Class<T> type) |
javax.ws.rs.core.Response |
resetSecret(String variantId)
Secret Reset
|
createBadRequestResponse, getSearch, validateModelClass@Inject protected PushApplicationService pushAppService
@Inject protected GenericVariantService variantService
public javax.ws.rs.core.Response resetSecret(String variantId)
variantId - id of VariantVariant with new secretpublic javax.ws.rs.core.Response findVariantById(String variantId)
variantId - id of VariantVariantpublic javax.ws.rs.core.Response deleteVariant(String variantId)
variantId - id of VariantCopyright © 2017 JBoss by Red Hat. All rights reserved.