public static class CheckAuthorizations.Candidate
extends java.lang.Object
Constructor and Description |
---|
CheckAuthorizations.Candidate(GetObjectProperties properties,
UserRight.Type objectType,
char access)
Creates a new
Candidate instance based on the result of the GetObjectProperties request. |
CheckAuthorizations.Candidate(UC4ObjectName obj,
UserRight.Type objectType,
char access)
Creates a new
Candidate instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
char |
getAccess()
Returns the access mode.
|
UC4ObjectName |
getName()
Returns the name of the Object.
|
UserRight.Type |
getObjectType()
Returns the object Type.
|
boolean |
getResult()
Returns the result of this check.
|
int |
hashCode() |
java.lang.String |
toString() |
public CheckAuthorizations.Candidate(UC4ObjectName obj, UserRight.Type objectType, char access)
Candidate
instance.obj
- Name of the objectobjectType
- Object typeaccess
- public CheckAuthorizations.Candidate(GetObjectProperties properties, UserRight.Type objectType, char access)
Candidate
instance based on the result of the GetObjectProperties
request.properties
- The result of an GetObjectProperties
requestobjectType
- Object typeaccess
- public boolean getResult()
true
if the authorization check was successful, false
if not.public UC4ObjectName getName()
public UserRight.Type getObjectType()
public char getAccess()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object