Package | Description |
---|---|
org.jbei.ice.lib.access |
Permissions related classes.
|
org.jbei.ice.lib.entry | |
org.jbei.ice.lib.group | |
org.jbei.ice.storage.hibernate.dao | |
org.jbei.ice.storage.model |
Data models for ice objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionsController.groupHasReadPermission(List<Group> groups,
Set<Folder> folders) |
boolean |
PermissionsController.groupHasWritePermission(List<Group> groups,
Set<Folder> folders) |
Modifier and Type | Method and Description |
---|---|
protected void |
EntryCreator.addReadPermission(Account account,
Group group,
Entry entry) |
Modifier and Type | Method and Description |
---|---|
Group |
GroupController.createOrRetrievePublicGroup() |
Group |
GroupController.save(Group group) |
Modifier and Type | Method and Description |
---|---|
List<Group> |
GroupController.getAllGroups(Account account)
retrieves all parent groups for any group in the set.
|
ArrayList<Group> |
GroupController.getAllPublicGroupsForAccount(Account account) |
List<Group> |
GroupController.getMatchingGroups(String userId,
String query,
int limit) |
Modifier and Type | Method and Description |
---|---|
Group |
GroupController.save(Group group) |
protected void |
Groups.setGroupMembers(Group group,
List<AccountTransfer> members,
List<RemoteUser> remoteUsers) |
Modifier and Type | Method and Description |
---|---|
Group |
GroupDAO.get(long id)
Retrieve
Group object from the database by its id. |
Group |
GroupDAO.getByUUID(String uuid)
Retrieve
Group object from the database by its uuid. |
Modifier and Type | Method and Description |
---|---|
List<Group> |
GroupDAO.getGroupsBy(GroupType type,
boolean isAutoJoin)
Retrieves groups by type and
autoJoin value |
List<Group> |
GroupDAO.getGroupsByType(GroupType type,
int offset,
int limit) |
List<Group> |
GroupDAO.getMatchingGroups(Account account,
String token,
int limit) |
List<Group> |
PermissionDAO.retrieveGroupPermissions(Folder folder,
boolean canWrite,
boolean canRead) |
List<Group> |
GroupDAO.retrieveMemberGroups(Account account) |
Modifier and Type | Method and Description |
---|---|
int |
PermissionDAO.clearPermissions(Group group) |
protected org.hibernate.query.Query<Permission> |
PermissionDAO.createPermissionQuery(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
int |
RemoteClientModelDAO.getClientCount(Group group)
Retrieves number of clients for the specified group
|
List<RemoteClientModel> |
RemoteClientModelDAO.getClientsForGroup(Group group)
Retrieves clients belonging to specified group
|
List<Folder> |
PermissionDAO.getFolders(Group group) |
List<Long> |
EntryDAO.getVisibleEntryIds(boolean admin,
Group publicGroup) |
boolean |
PermissionDAO.hasPermission(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
int |
PermissionDAO.removePermission(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
Permission |
PermissionDAO.retrievePermission(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
Modifier and Type | Method and Description |
---|---|
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<Long> |
PermissionDAO.getCanReadEntries(Account account,
List<Group> groups,
List<Long> entries)
Filters the given list, removing those that the specified account does not have read privileges on
// todo : this doesn't check permissions from folder (get list of all folders entries are in)
|
List<SequenceFeature> |
SequenceFeatureDAO.getSequenceFeatures(String userId,
List<Group> groups,
String nameFilter,
int start,
int limit) |
int |
SequenceFeatureDAO.getSequenceFeaturesCount(String userId,
List<Group> groups,
String nameFilter) |
boolean |
PermissionDAO.hasPermissionMulti(Entry entry,
Set<Folder> folders,
Account account,
List<Group> groups,
boolean canRead,
boolean canWrite) |
long |
EntryDAO.ownerEntryCount(Account requester,
String ownerEmail,
Set<Group> accountGroups) |
List<Folder> |
PermissionDAO.retrieveFolderPermissions(Account account,
Set<Group> accountGroups) |
int |
MessageDAO.retrieveMessageCount(Account account,
List<Group> groups) |
List<Message> |
MessageDAO.retrieveMessages(Account account,
List<Group> groups,
int start,
int count) |
List<Entry> |
EntryDAO.retrieveUserEntries(Account requester,
String owner,
Set<Group> requesterGroups,
ColumnField sortField,
boolean asc,
int start,
int limit,
String filter)
Retrieves the entries for the specified owner, that the requester has read access to
|
List<Entry> |
EntryDAO.retrieveVisibleEntries(Account account,
Set<Group> groups,
ColumnField sortField,
boolean asc,
int start,
int count,
String filter)
Retrieve
Entries visible to everyone. |
long |
EntryDAO.sharedEntryCount(Account requester,
Set<Group> accountGroups,
String filter)
An entry is shared if requester has explicit read or write permissions of belongs
to a group that have explicit read or write permissions
|
List<Entry> |
EntryDAO.sharedWithUserEntries(Account requester,
Set<Group> accountGroups,
ColumnField sort,
boolean asc,
int start,
int limit,
String filter) |
List<Long> |
EntryDAO.sharedWithUserEntryIds(Account account,
Set<Group> groups) |
long |
EntryDAO.visibleEntryCount(Account account,
Set<Group> groups,
String filter) |
Modifier and Type | Method and Description |
---|---|
Group |
Permission.getGroup() |
Modifier and Type | Method and Description |
---|---|
Set<Group> |
Message.getDestinationGroups() |
Set<Group> |
Account.getGroups() |
Set<Group> |
RemoteClientModel.getGroups() |
Modifier and Type | Method and Description |
---|---|
void |
Permission.setGroup(Group group) |
Modifier and Type | Method and Description |
---|---|
void |
Message.setDestinationGroups(HashSet<Group> destinationGroups) |
Copyright © 2017. All rights reserved.