public class AccessLevelFilter extends Object implements Serializable, Cloneable
The access level to limit results.
| Constructor and Description |
|---|
AccessLevelFilter() |
| Modifier and Type | Method and Description |
|---|---|
AccessLevelFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
Specifies the access level.
|
String |
getValue()
Specifies the user to which the access level applies.
|
int |
hashCode() |
void |
setKey(AccessLevelFilterKey key)
Specifies the access level.
|
void |
setKey(String key)
Specifies the access level.
|
void |
setValue(String value)
Specifies the user to which the access level applies.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AccessLevelFilter |
withKey(AccessLevelFilterKey key)
Specifies the access level.
|
AccessLevelFilter |
withKey(String key)
Specifies the access level.
|
AccessLevelFilter |
withValue(String value)
Specifies the user to which the access level applies.
|
public void setKey(String key)
Specifies the access level.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
key - Specifies the access level.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
AccessLevelFilterKeypublic String getKey()
Specifies the access level.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
AccessLevelFilterKeypublic AccessLevelFilter withKey(String key)
Specifies the access level.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
key - Specifies the access level.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
AccessLevelFilterKeypublic void setKey(AccessLevelFilterKey key)
Specifies the access level.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
key - Specifies the access level.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
AccessLevelFilterKeypublic AccessLevelFilter withKey(AccessLevelFilterKey key)
Specifies the access level.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
key - Specifies the access level.
Account allows results at the account level.
Role allows results based on the federated role of the specified user.
User allows results limited to the specified user.
AccessLevelFilterKeypublic void setValue(String value)
Specifies the user to which the access level applies. A value of Self is currently supported.
value - Specifies the user to which the access level applies. A value of Self is currently supported.public String getValue()
Specifies the user to which the access level applies. A value of Self is currently supported.
Self is currently
supported.public AccessLevelFilter withValue(String value)
Specifies the user to which the access level applies. A value of Self is currently supported.
value - Specifies the user to which the access level applies. A value of Self is currently supported.public String toString()
toString in class ObjectObject.toString()public AccessLevelFilter clone()
Copyright © 2016. All rights reserved.