Package | Description |
---|---|
org.jbei.ice.lib.access |
Permissions related classes.
|
org.jbei.ice.lib.dto.folder | |
org.jbei.ice.lib.folder | |
org.jbei.ice.lib.manuscript | |
org.jbei.ice.storage.hibernate.dao | |
org.jbei.ice.storage.model |
Data models for ice objects.
|
Modifier and Type | Method and Description |
---|---|
protected Permission |
Permissions.addPermission(AccessPermission access,
Entry entry,
Folder folder,
BulkUpload upload) |
protected Permission |
PermissionsController.addPermission(AccessPermission access,
Entry entry,
Folder folder,
BulkUpload upload) |
protected Permission |
RemoteAccess.createPermissionModel(AccessPermission accessPermission,
Folder folder,
Account account) |
boolean |
PermissionsController.hasWritePermission(String userId,
Folder folder) |
boolean |
PermissionsController.isPublicVisible(Folder folder) |
boolean |
PermissionsController.propagateFolderPermissions(String userId,
Folder folder,
boolean add)
Propagates the permissions for the folder to the contained entries
|
List<AccessPermission> |
PermissionsController.retrieveSetFolderPermission(Folder folder,
boolean includePublic)
Retrieves permissions that have been explicitly set for the folders with the exception
of the public read permission if specified in the parameter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionsController.accountHasReadPermission(Account account,
Set<Folder> folders) |
boolean |
PermissionsController.accountHasWritePermission(Account account,
Set<Folder> folders) |
boolean |
PermissionsController.groupHasReadPermission(List<Group> groups,
Set<Folder> folders) |
boolean |
PermissionsController.groupHasWritePermission(List<Group> groups,
Set<Folder> folders) |
Modifier and Type | Method and Description |
---|---|
boolean |
FolderAuthorization.canRead(String userId,
Folder folder) |
boolean |
FolderAuthorization.canWrite(String userId,
Folder folder) |
String |
FolderAuthorization.getOwner(Folder folder) |
Modifier and Type | Method and Description |
---|---|
protected FolderDetails |
FolderContents.addEntriesToTransferredFolder(List<Long> entries,
Folder folder) |
protected void |
FolderContents.addToRemoteFolder(Account account,
Folder folder,
List<Long> entries) |
protected FolderDetails |
FolderController.demoteFolder(String userId,
Folder folder)
Opposite of FolderController#demoteFolder(userId, long)
Removes the folder from being a featured collections
|
protected List<AccessPermission> |
FolderContents.getAndFilterFolderPermissions(String userId,
Folder folder)
The permission(s) enabling the share for user
is(are) included.
|
protected FolderDetails |
FolderContents.getRemoteContents(String userId,
Folder folder,
PageParameters pageParameters)
Retrieves contents of a folder that has been shared remotely with this instance
|
protected FolderDetails |
FolderController.promoteFolder(String userId,
Folder folder)
"Promote"s a collection into a featured collection.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Manuscripts.setFolderType(Folder folder,
FolderType type) |
Modifier and Type | Method and Description |
---|---|
Folder |
FolderDAO.addFolderContents(Folder folder,
List<Entry> entrys) |
Folder |
FolderDAO.get(long id)
Retrieves stored folder by locally unique identifier
|
Folder |
FolderDAO.removeFolderEntries(Folder folder,
List<Long> entries)
Removes, from the list of entries in the specified folder, those whose ids match the ids passed in the
parameter
|
Modifier and Type | Method and Description |
---|---|
List<Folder> |
FolderDAO.filterByName(String token,
int limit) |
List<Folder> |
FolderDAO.getCanEditFolders(Account account,
Set<Group> accountGroups)
Retrieves folders that the specified account owns, or has write privileges on based on the permissions
|
List<Folder> |
PermissionDAO.getFolders(Group group) |
List<Folder> |
FolderDAO.getFoldersByOwner(Account account)
|
List<Folder> |
FolderDAO.getFoldersByType(FolderType type) |
List<Folder> |
PermissionDAO.retrieveFolderPermissions(Account account,
Set<Group> accountGroups) |
Modifier and Type | Method and Description |
---|---|
Folder |
FolderDAO.addFolderContents(Folder folder,
List<Entry> entrys) |
int |
PermissionDAO.clearPermissions(Folder folder) |
protected org.hibernate.query.Query<Permission> |
PermissionDAO.createPermissionQuery(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
RemoteShareModel |
RemoteShareModelDAO.get(String userId,
RemotePartner remotePartner,
Folder folder) |
RemoteAccessModel |
RemoteAccessModelDAO.getByFolder(Account account,
Folder folder) |
List<RemoteShareModel> |
RemoteShareModelDAO.getByFolder(Folder folder) |
List<Long> |
FolderDAO.getEntryIds(Folder folder)
Retrieve the list of ids of entries contained in a folder.
|
List<Permission> |
PermissionDAO.getFolderPermissions(Folder folder) |
boolean |
PermissionDAO.hasPermission(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
boolean |
PermissionDAO.hasSetWriteFolderPermission(Folder folder,
Account account) |
Folder |
FolderDAO.removeFolderEntries(Folder folder,
List<Long> entries)
Removes, from the list of entries in the specified folder, those whose ids match the ids passed in the
parameter
|
int |
PermissionDAO.removePermission(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
List<Account> |
PermissionDAO.retrieveAccountPermissions(Folder folder,
boolean canWrite,
boolean canRead) |
List<Group> |
PermissionDAO.retrieveGroupPermissions(Folder folder,
boolean canWrite,
boolean canRead) |
Permission |
PermissionDAO.retrievePermission(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionDAO.hasPermissionMulti(Entry entry,
Set<Folder> folders,
Account account,
List<Group> groups,
boolean canRead,
boolean canWrite) |
Modifier and Type | Method and Description |
---|---|
Folder |
ManuscriptModel.getFolder() |
Folder |
Permission.getFolder() |
Folder |
Folder.getParent() |
Modifier and Type | Method and Description |
---|---|
Set<Folder> |
Entry.getFolders() |
Modifier and Type | Method and Description |
---|---|
void |
ManuscriptModel.setFolder(Folder folder) |
void |
Permission.setFolder(Folder folder) |
void |
Folder.setParent(Folder parent) |
Copyright © 2017. All rights reserved.