public class EntryPermissions extends Permissions
groupDAOaccountDAO, entryDAO| Constructor and Description |
|---|
EntryPermissions(String entryId,
String userId) |
| Modifier and Type | Method and Description |
|---|---|
AccessPermission |
add(AccessPermission access)
Adds a new permission to the specified entry.
|
boolean |
disablePublicReadAccess() |
boolean |
enablePublicReadAccess() |
List<AccessPermission> |
getEntryPermissions()
Retrieves permissions associated with a part.
|
void |
removePermission(long permissionId) |
addPermissionpublic void removePermission(long permissionId)
public List<AccessPermission> getEntryPermissions()
PermissionException - if the requesting user does not have write permissions for the partpublic AccessPermission add(AccessPermission access)
access - permissions to be added to the entryPermissionException - if the requesting user does not have write permissions on the entrypublic boolean enablePublicReadAccess()
public boolean disablePublicReadAccess()
Copyright © 2017. All rights reserved.