Package | Description |
---|---|
org.jbei.ice.lib.access |
Permissions related classes.
|
org.jbei.ice.lib.account | |
org.jbei.ice.lib.account.authentication |
Authentication classes.
|
org.jbei.ice.lib.bulkupload | |
org.jbei.ice.lib.entry | |
org.jbei.ice.lib.folder | |
org.jbei.ice.lib.group | |
org.jbei.ice.lib.message | |
org.jbei.ice.storage.hibernate.dao | |
org.jbei.ice.storage.model |
Data models for ice objects.
|
Modifier and Type | Method and Description |
---|---|
protected Account |
Authorization.getAccount(String userId) |
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionsController.accountHasReadPermission(Account account,
Set<Folder> folders) |
boolean |
PermissionsController.accountHasWritePermission(Account account,
Set<Folder> folders) |
protected Permission |
RemoteAccess.createPermissionModel(AccessPermission accessPermission,
Folder folder,
Account account) |
Modifier and Type | Method and Description |
---|---|
protected Account |
AccountController.authenticate(String login,
String password,
String ip)
Authenticate a user in the database.
|
Account |
AccountController.createAdminAccount() |
static Account |
AccountUtils.fromDTO(AccountTransfer info) |
Account |
AccountController.getByEmail(String email)
Retrieve
Account by user id. |
Account |
AccountController.save(Account account)
Store
Account into the database. |
Modifier and Type | Method and Description |
---|---|
Preference |
PreferencesController.createPreference(Account account,
String key,
String value) |
protected long |
Accounts.getNumberOfOwnerEntries(Account account,
String ownerEmail) |
protected boolean |
Accounts.isAdministrator(Account account) |
HashMap<PreferenceKey,String> |
PreferencesController.retrieveAccountPreferences(Account account,
ArrayList<PreferenceKey> keys) |
HashMap<String,String> |
PreferencesController.retrieveUserPreferenceList(Account account,
List<SearchBoostField> fields) |
Account |
AccountController.save(Account account)
Store
Account into the database. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
LocalAuthentication.isValidPassword(Account account,
String password)
Check if the given password is valid for the account.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BulkEntryCreator.addWritePermission(Account account,
Entry entry) |
protected BulkUpload |
BulkEntryCreator.createOrRetrieveBulkUpload(Account account,
BulkUploadAutoUpdate autoUpdate,
EntryType addType) |
boolean |
BulkUploadController.revertSubmitted(Account account,
long uploadId) |
Modifier and Type | Method and Description |
---|---|
protected void |
EntryCreator.addReadPermission(Account account,
Group group,
Entry entry) |
protected void |
EntryCreator.addWritePermission(Account account,
Entry entry) |
Entry |
EntryCreator.createEntry(Account account,
Entry entry,
ArrayList<AccessPermission> accessPermissions)
Create an entry in the database.
|
Modifier and Type | Method and Description |
---|---|
protected Account |
FolderController.getAccount(String userId) |
Modifier and Type | Method and Description |
---|---|
protected void |
FolderContents.addToRemoteFolder(Account account,
Folder folder,
List<Long> entries) |
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) |
Modifier and Type | Method and Description |
---|---|
int |
Messages.getNewMessageCount(Account account) |
Modifier and Type | Method and Description |
---|---|
Account |
AccountDAO.get(long id)
Retrieve
Account by id from the database. |
Account |
AccountDAO.getByEmail(String email)
Retrieve an
Account by the email field. |
Modifier and Type | Method and Description |
---|---|
List<Account> |
AccountDAO.getAccounts(int offset,
int limit,
String sort,
boolean asc,
String filter)
Retrieves list of pageable accounts, matching the parameter values
|
List<Account> |
AccountDAO.getMatchingAccounts(String token,
int limit)
Retrieves accounts whose firstName, lastName, or email fields match the specified
token up to the specified limit.
|
List<Account> |
PermissionDAO.retrieveAccountPermissions(Folder folder,
boolean canWrite,
boolean canRead) |
Modifier and Type | Method and Description |
---|---|
Preference |
PreferencesDAO.createOrUpdatePreference(Account account,
String key,
String value) |
protected org.hibernate.query.Query<Permission> |
PermissionDAO.createPermissionQuery(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
List<Preference> |
PreferencesDAO.getAccountPreferences(Account account,
List<PreferenceKey> keys) |
List<Request> |
RequestDAO.getAccountRequests(Account account,
SampleRequestStatus status,
int start,
int limit,
String sort,
boolean asc) |
RemoteAccessModel |
RemoteAccessModelDAO.getByFolder(Account account,
Folder folder) |
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)
|
int |
RequestDAO.getCount(Account account) |
List<Folder> |
FolderDAO.getFoldersByOwner(Account account)
|
List<Group> |
GroupDAO.getMatchingGroups(Account account,
String token,
int limit) |
List<String> |
GroupDAO.getMemberGroupUUIDs(Account account)
Retrieves all UUIDs that the specified account either owns or is a member of
|
Preference |
PreferencesDAO.getPreference(Account account,
String key) |
List<Request> |
RequestDAO.getSampleRequestByStatus(Account account,
Entry entry,
SampleRequestStatus status) |
Request |
RequestDAO.getSampleRequestInCart(Account account,
Entry entry) |
boolean |
PermissionDAO.hasPermission(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
boolean |
PermissionDAO.hasPermissionMulti(Entry entry,
Set<Folder> folders,
Account account,
List<Group> groups,
boolean canRead,
boolean canWrite) |
boolean |
PermissionDAO.hasSetWriteFolderPermission(Folder folder,
Account account) |
long |
EntryDAO.ownerEntryCount(Account requester,
String ownerEmail,
Set<Group> accountGroups) |
int |
PermissionDAO.removePermission(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
List<BulkUpload> |
BulkUploadDAO.retrieveByAccount(Account account) |
List<Folder> |
PermissionDAO.retrieveFolderPermissions(Account account,
Set<Group> accountGroups) |
List<Group> |
GroupDAO.retrieveMemberGroups(Account account) |
int |
MessageDAO.retrieveMessageCount(Account account,
List<Group> groups) |
List<Message> |
MessageDAO.retrieveMessages(Account account,
List<Group> groups,
int start,
int count) |
int |
MessageDAO.retrieveNewMessageCount(Account account) |
Permission |
PermissionDAO.retrievePermission(Entry entry,
Folder folder,
BulkUpload upload,
Account account,
Group group,
boolean canRead,
boolean canWrite) |
HashMap<String,String> |
PreferencesDAO.retrievePreferenceValues(Account account,
HashSet<String> keys) |
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 |
---|---|
Account |
Comment.getAccount() |
Account |
AccountPreferences.getAccount() |
Account |
Request.getAccount() |
Account |
Permission.getAccount() |
Account |
BulkUpload.getAccount() |
Account |
Preference.getAccount() |
Account |
Group.getOwner() |
Account |
RemoteShareModel.getSharer() |
Modifier and Type | Method and Description |
---|---|
Set<Account> |
Message.getDestinationAccounts() |
Set<Account> |
Group.getMembers() |
Modifier and Type | Method and Description |
---|---|
void |
Comment.setAccount(Account account) |
void |
AccountPreferences.setAccount(Account account) |
void |
Request.setAccount(Account account) |
void |
Permission.setAccount(Account account) |
void |
BulkUpload.setAccount(Account account) |
void |
Preference.setAccount(Account account) |
void |
Group.setOwner(Account owner) |
void |
RemoteShareModel.setSharer(Account sharer) |
Modifier and Type | Method and Description |
---|---|
void |
Message.setDestinationAccounts(HashSet<Account> destinationAccounts) |
Constructor and Description |
---|
Comment(Entry entry,
Account account,
String body) |
Preference(Account account,
String key,
String value) |
Copyright © 2017. All rights reserved.