public class PermissionChange extends RealmObject
Constructor and Description |
---|
PermissionChange() |
PermissionChange(String realmUrl,
String userId,
Boolean mayRead,
Boolean mayWrite,
Boolean mayManage)
Construct a Permission Change Object.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCreatedAt() |
String |
getId() |
String |
getRealmUrl() |
Integer |
getStatusCode()
Returns the status code for this change.
|
String |
getStatusMessage() |
Date |
getUpdatedAt() |
String |
getUserId() |
Boolean |
mayManage() |
Boolean |
mayRead() |
Boolean |
mayWrite() |
addChangeListener, addChangeListener, asObservable, asObservable, deleteFromRealm, deleteFromRealm, isLoaded, isLoaded, isManaged, isManaged, isValid, isValid, load, load, removeChangeListener, removeChangeListener, removeChangeListeners, removeChangeListeners
public PermissionChange()
public PermissionChange(String realmUrl, String userId, Boolean mayRead, Boolean mayWrite, Boolean mayManage)
realmUrl
- Realm to change permissions for. Use *
to change the permissions of all Realms.userId
- User or users to effect. Use *
to change the permissions for all users.mayRead
- Define read access. true
or false
to request this new value. null
to
keep current value.mayWrite
- Define write access. true
or false
to request this new value. null
to
keep current value.mayManage
- Define manage access. true
or false
to request this new value. null
to
keep current value.public String getId()
public Date getCreatedAt()
public Date getUpdatedAt()
public Integer getStatusCode()
null
if not yet processed. 0
if successfull, >0
if an error happened. See getStatusMessage()
.public String getStatusMessage()
public String getRealmUrl()
public String getUserId()
public Boolean mayRead()
public Boolean mayWrite()
public Boolean mayManage()