public class WsPermissions extends Object
Constructor and Description |
---|
WsPermissions() |
Modifier and Type | Method and Description |
---|---|
Integer |
getRefId()
Gets the reference id of the object.
|
Integer |
getScopeId()
Gets the scope of the object.
|
WsUser |
getUser()
Gets the user that has these permissions.
|
boolean |
isManage()
Does the user have management permissions for this object?
|
boolean |
isRead()
Does the user have read permissions for this object?
|
boolean |
isWrite()
Does the user have write permissions for this object?
|
void |
setManage(boolean manage) |
void |
setRead(boolean read) |
void |
setRefId(Integer refId) |
void |
setScopeId(Integer scopeId) |
void |
setUser(WsUser user) |
void |
setWrite(boolean write) |
String |
toString()
Gets a string representation of this permissions object.
|
public WsUser getUser()
public void setUser(WsUser user)
public void setScopeId(Integer scopeId)
public Integer getRefId()
public void setRefId(Integer refId)
public boolean isRead()
public void setRead(boolean read)
public boolean isWrite()
public void setWrite(boolean write)
public boolean isManage()
public void setManage(boolean manage)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.