public class ResourceGrantedToFolder extends LinkState
Title: FileCatalyst Direct Server API
Description: Class that describes a resource (group, user) which has access to a virtual folder. A type switch (ENUM) indicates what type of object has access to the folder. Permissions are not modifiable via this object, nor are they persisted. Calls to the Server API need to be made in order to modify on the server any permission set. Allows viewing/editing of permissions by API caller without exposing the inner permission classes.
Copyright: Copyright (c) 2013
Company: Unlimi-Tech Software Inc.
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceGrantedToFolder.ResourceType
Title: FileCatalyst Direct Server API
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDetails()
Returns the details of the resource.
|
java.lang.String |
getFolderName()
Returns the folder name (not label) to uniquely identify a virtual folder in the database (PK).
|
java.lang.String |
getName()
Get the resource name.
|
int |
getPermission()
Return permission set to user or group (as int value -- see PermissionsContainer.generatePermission() to translate into boolean values)
|
int |
hashCode() |
boolean |
isGroupLink()
Returns true if the resource is a group
|
boolean |
isUserLink()
Returns true if the resource is a user
|
java.lang.String |
toString()
Write out ResourceGrantedToFolder object to string.
|
getUsageStatepublic int getPermission()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getFolderName()
public java.lang.String getName()
public java.lang.String getDetails()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean isUserLink()
public boolean isGroupLink()
Copyright © 2015 Unlimi-Tech Sofware Inc. All Rights Reserved.