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