/** * 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; }