|
|
@ -329,6 +329,7 @@ public class AndroidEnterpriseServiceImpl implements AndroidEnterpriseService {
|
|
|
|
|
|
|
|
|
|
|
|
@DELETE
|
|
|
|
@DELETE
|
|
|
|
@Path("/store-layout/page/{id}")
|
|
|
|
@Path("/store-layout/page/{id}")
|
|
|
|
|
|
|
|
@Consumes(MediaType.WILDCARD)
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public Response deletePage(@PathParam("id") String id) {
|
|
|
|
public Response deletePage(@PathParam("id") String id) {
|
|
|
|
if (id == null || id.isEmpty()) {
|
|
|
|
if (id == null || id.isEmpty()) {
|
|
|
@ -492,6 +493,7 @@ public class AndroidEnterpriseServiceImpl implements AndroidEnterpriseService {
|
|
|
|
|
|
|
|
|
|
|
|
@DELETE
|
|
|
|
@DELETE
|
|
|
|
@Path("/store-layout/cluster/{clusterId}/page/{pageId}")
|
|
|
|
@Path("/store-layout/cluster/{clusterId}/page/{pageId}")
|
|
|
|
|
|
|
|
@Consumes(MediaType.WILDCARD)
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public Response deleteCluster( @PathParam("clusterId") String clusterId, @PathParam("pageId") String pageId) {
|
|
|
|
public Response deleteCluster( @PathParam("clusterId") String clusterId, @PathParam("pageId") String pageId) {
|
|
|
|
if (clusterId == null || clusterId.isEmpty()) {
|
|
|
|
if (clusterId == null || clusterId.isEmpty()) {
|
|
|
@ -683,6 +685,7 @@ public class AndroidEnterpriseServiceImpl implements AndroidEnterpriseService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
@DELETE
|
|
|
|
@DELETE
|
|
|
|
@Path("/managed-configs/mcm/{mcmId}")
|
|
|
|
@Path("/managed-configs/mcm/{mcmId}")
|
|
|
|
|
|
|
|
@Consumes(MediaType.WILDCARD)
|
|
|
|
public Response deleteManagedConfigs(@PathParam("mcmId") String mcmId) {
|
|
|
|
public Response deleteManagedConfigs(@PathParam("mcmId") String mcmId) {
|
|
|
|
if (mcmId == null || mcmId.isEmpty()) {
|
|
|
|
if (mcmId == null || mcmId.isEmpty()) {
|
|
|
|
return Response.status(Response.Status.BAD_REQUEST).entity(
|
|
|
|
return Response.status(Response.Status.BAD_REQUEST).entity(
|
|
|
|