/** * Construct a AVACL object with public read/write permissions * * @param read whether the public is allowed to read this object * @param write whether the public is allowed to write this object * @return */ public static AVACL parseACLWithPublicAccess(boolean read, boolean write) { AVACL acl = new AVACL(); acl.setPublicReadAccess(read); acl.setPublicWriteAccess(write); return acl; }
/** * Construct a AVACL object with public read/write permissions * * @param read whether the public is allowed to read this object * @param write whether the public is allowed to write this object * @return AVACL */ public static AVACL parseACLWithPublicAccess(boolean read, boolean write) { AVACL acl = new AVACL(); acl.setPublicReadAccess(read); acl.setPublicWriteAccess(write); return acl; }
private void init() { objectId = ""; isDataReady = false; if (PaasClient.storageInstance().getDefaultACL() != null) { acl = new AVACL(PaasClient.storageInstance().getDefaultACL()); } running = false; }
public AVFile() { super(); if (PaasClient.storageInstance().getDefaultACL() != null) { acl = new AVACL(PaasClient.storageInstance().getDefaultACL()); } }
public AVFile() { super(); if (PaasClient.storageInstance().getDefaultACL() != null) { acl = new AVACL(PaasClient.storageInstance().getDefaultACL()); } }
private void init() { objectId = ""; isDataReady = false; if (getPaasClientInstance().getDefaultACL() != null) { acl = new AVACL(getPaasClientInstance().getDefaultACL()); } running = false; }
public static void updatePropertyFromMap(AVObject parent, String key, Map<String, Object> map) { if (isACL(key)) { parent.setACL(new AVACL(map)); return;
public static void updatePropertyFromMap(AVObject parent, String key, Map<String, Object> map) { if (isACL(key)) { parent.setACL(new AVACL(map)); return;