public static class CheckAuthorizations.Candidate extends Object
| Constructor and Description |
|---|
Candidate(GetObjectProperties properties,
UserRight.Type objectType,
char access)
Creates a new
Candidate instance based on the result of the GetObjectProperties request. |
Candidate(IFolder folder,
UserRight.Type objectType,
char access)
Creates a new
Candidate instance. |
Candidate(int runId,
char access)
Creates a new
Candidate instance considering executions. |
Candidate(UC4ObjectName obj,
char access)
Creates a new
Candidate instance. |
Candidate(UC4ObjectName obj,
UserRight.Type objectType,
char access)
Creates a new
Candidate instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
char |
getAccess()
Returns the access mode.
|
IFolder |
getFolder()
Returns the name of the Folder.
|
UC4ObjectName |
getName()
Returns the name of the Object.
|
UserRight.Type |
getObjectType()
Returns the object Type.
|
boolean |
getResult()
Returns the result of this check.
|
int |
getRunId()
Returns the run id of an execution.
|
int |
hashCode() |
String |
toString() |
public Candidate(UC4ObjectName obj, UserRight.Type objectType, char access)
Candidate instance.obj - Name of the objectobjectType - Object typeaccess - public Candidate(UC4ObjectName obj, char access)
Candidate instance.obj - Name of the objectaccess - public Candidate(IFolder folder, UserRight.Type objectType, char access)
Candidate instance.folder - Path to a folderobjectType - Object typeaccess - public 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 Candidate(int runId,
char access)
Candidate instance considering executions.runId - run id of an executionaccess - public boolean getResult()
true if the authorization check was successful, false if not.public UC4ObjectName getName()
public IFolder getFolder()
public UserRight.Type getObjectType()
public char getAccess()
public int getRunId()
Copyright © 2021. All rights reserved.