internal Where Composite(String column, String type, Object value) { BmobOutput.Composite(real, column, type, value); return(this); }
public BmobACL RoleWriteAccess(String rolename) { BmobOutput.Composite(acls, "role:" + rolename, "write", true); return(this); }
public BmobACL WriteAccess(String objectId) { BmobOutput.Composite(acls, objectId, "write", true); return(this); }
/// <summary> /// key是objectId(用户表某个用户对应的objectId)或者是 *(表示公共的访问权限),ACL 的值是 "读和写的权限", 这个JSON对象的key总是权限名, 而这些key的值总是 true /// </summary> public BmobACL ReadAccess(String objectId) { BmobOutput.Composite(acls, objectId, "read", true); return(this); }
public BmobACL WriteAccess(String key) { BmobOutput.Composite(acls, key, "write", true); return(this); }
/// <summary> /// key是objectId(用户表某个用户对应的objectId)或者是 *(表示公共的访问权限),ACL 的值是 "读和写的权限", 这个JSON对象的key总是权限名, 而这些key的值总是 true /// </summary> public BmobACL ReadAccess(String key) { BmobOutput.Composite(acls, key, "read", true); return(this); }