public void deleteObject(final String relativePath, boolean sync, GenericObjectCallback callback, String objectId, String _internalId) { deleteObject(relativePath, sync, false, callback, objectId, _internalId); }
public void deleteObject(final String relativePath, boolean sync, GenericObjectCallback callback, String objectId, String _internalId) { Map<String, Object> emptymap = Collections.emptyMap(); deleteObject(relativePath, emptymap, sync, false, callback, objectId, _internalId); }
PaasClient.storageInstance().deleteObject(endPoint, sync, new GenericObjectCallback() { @Override public void onSuccess(String content, AVException e) {
PaasClient.storageInstance().deleteObject(endPoint, sync, new GenericObjectCallback() { @Override public void onSuccess(String content, AVException e) {
putObject(relativePath, paramString, sync, null, newCallback, objectId, _internalId); } else if ("delete".equalsIgnoreCase(method)) { deleteObject(relativePath, sync, newCallback, objectId, _internalId);
putObject(relativePath, paramString, sync, null, newCallback, objectId, _internalId); } else if ("delete".equalsIgnoreCase(method)) { deleteObject(relativePath, sync, newCallback, objectId, _internalId);
PaasClient.storageInstance().deleteObject(endpoint, sync, false, new GenericObjectCallback() { @Override public void onSuccess(String content, AVException e) {
public void unfollowInBackground(String userObjectId, final FollowCallback callback) { if (!checkUserAuthentication(callback)) { return; } String endPoint = AVPowerfulUtils.getFollowEndPoint(getObjectId(), userObjectId); PaasClient.storageInstance().deleteObject(endPoint, false, new GenericObjectCallback() { @Override public void onSuccess(String content, AVException e) { super.onSuccess(content, e); // To change body of overridden methods use File | Settings | // File Templates. if (callback != null) { callback.internalDone(AVUser.this, null); } } @Override public void onFailure(Throwable error, String content) { super.onFailure(error, content); // To change body of overridden methods use File | Settings // | File Templates. if (callback != null) { callback.internalDone(null, AVErrorUtils.createException(error, content)); } } }, null, null); }
private void unfollow(boolean sync, String userObjectId, final FollowCallback callback) { if (!checkUserAuthentication(callback)) { return; } String endPoint = AVPowerfulUtils.getFollowEndPoint(getObjectId(), userObjectId); PaasClient.storageInstance().deleteObject(endPoint, sync, new GenericObjectCallback() { @Override public void onSuccess(String content, AVException e) { super.onSuccess(content, e); // To change body of overridden methods use File | Settings | // File Templates. if (callback != null) { callback.internalDone(AVUser.this, null); } } @Override public void onFailure(Throwable error, String content) { super.onFailure(error, content); // To change body of overridden methods use File | Settings // | File Templates. if (callback != null) { callback.internalDone(null, AVErrorUtils.createException(error, content)); } } }, null, null); }
getPaasClientInstance().deleteObject(url, sync, isEventually, new GenericObjectCallback() { @Override
private static void deleteStatusWithId(boolean sync, String statusId, final DeleteCallback callback) { if (!checkCurrentUser(null)) { if (callback != null) { callback.internalDone(AVErrorUtils.sessionMissingException()); } return; } if (AVUtils.isBlankString(statusId)) { if (callback != null) { callback.internalDone(AVErrorUtils.invalidObjectIdException()); } return; } String endPoint = String.format("statuses/%s", statusId); PaasClient.storageInstance().deleteObject(endPoint, sync, new GenericObjectCallback() { @Override public void onSuccess(String content, AVException e) { if (callback != null) { callback.internalDone(null); } } @Override public void onFailure(Throwable error, String content) { if (callback != null) { callback.internalDone(AVErrorUtils.createException(error, content)); } } }, statusId, null); }
private static void deleteStatusWithId(boolean sync, String statusId, final DeleteCallback callback) { if (!checkCurrentUser(null)) { if (callback != null) { callback.internalDone(AVErrorUtils.sessionMissingException()); } return; } if (AVUtils.isBlankString(statusId)) { if (callback != null) { callback.internalDone(AVErrorUtils.invalidObjectIdException()); } return; } String endPoint = String.format("statuses/%s", statusId); PaasClient.storageInstance().deleteObject(endPoint, sync, new GenericObjectCallback() { @Override public void onSuccess(String content, AVException e) { if (callback != null) { callback.internalDone(null); } } @Override public void onFailure(Throwable error, String content) { if (callback != null) { callback.internalDone(AVErrorUtils.createException(error, content)); } } }, statusId, null); }
PaasClient.storageInstance().deleteObject(url, body, sync, isEventually, new GenericObjectCallback() { @Override