Package | Description |
---|---|
fr.cnes.doi.db |
Provides interfaces to request external databases.
|
fr.cnes.doi.plugin.impl.db |
Provides concrete classes implementing the interfaces of the external databases.
|
fr.cnes.doi.plugin.impl.db.impl |
Provides database access implementation using JDBC connector.
|
fr.cnes.doi.plugin.impl.db.service |
Provides the database access that stores the DOI, project and tokens
|
fr.cnes.doi.services |
Provides classes to monitor the speed of
Meta
Data Store application . |
fr.cnes.doi.utils |
Provides utility class.
|
Modifier and Type | Method and Description |
---|---|
abstract List<DOIUser> |
AbstractProjectSuffixDBHelper.getAllDOIUsersForProject(int doiSuffix)
Returns the users related to a project.
|
abstract int |
AbstractProjectSuffixDBHelper.getIDFrom(String projectName)
Returns the project suffix based on the project name.
|
abstract String |
AbstractProjectSuffixDBHelper.getProjectFrom(int projectID)
Returns the project name based on the suffix project.
|
abstract List<DOIProject> |
AbstractProjectSuffixDBHelper.getProjects()
Returns the database records.
|
abstract List<DOIProject> |
AbstractProjectSuffixDBHelper.getProjectsFromUser(String userName)
Returns the projects related to a specific user.
|
abstract List<String> |
AbstractTokenDBHelper.getTokens()
Return the token list from database.
|
abstract List<DOIUser> |
AbstractUserRoleDBHelper.getUsers()
Returns the allowed users for authentication.
|
abstract List<DOIUser> |
AbstractUserRoleDBHelper.getUsersFromRole(int roleName)
Get users from a specific role.
|
Modifier and Type | Method and Description |
---|---|
int |
DefaultProjectSuffixImpl.getIDFrom(String projectName)
Returns the project suffix based on the project name.
|
String |
DefaultProjectSuffixImpl.getProjectFrom(int projectID)
Returns the project name based on the suffix project.
|
List<DOIProject> |
DefaultProjectSuffixImpl.getProjects()
Returns the database records.
|
List<DOIProject> |
DefaultProjectSuffixImpl.getProjectsFromUser(String userName)
Returns the projects related to a specific user.
|
List<String> |
DefaultTokenImpl.getTokens()
Return the token list from database.
|
List<DOIUser> |
DefaultUserRoleImpl.getUsers()
Returns the allowed users for authentication.
|
List<DOIUser> |
DefaultUserRoleImpl.getUsersFromRole(int roleName)
Get users from a specific role.
|
private void |
DefaultUserRoleImpl.setUserToAdminGroupInDB(String user)
Sets the user to the admin group.
|
Modifier and Type | Method and Description |
---|---|
void |
DOIDbDataAccessServiceImpl.addDOIProject(int suffix,
String projectname)
Add a DOI project
|
void |
DOIDbDataAccessServiceImpl.addDOIProjectToUser(String username,
int suffix)
Assign a DOI project to a user
|
void |
DOIDbDataAccessServiceImpl.addDOIUser(String username,
Boolean admin)
Add a DOI user
|
void |
DOIDbDataAccessServiceImpl.addDOIUser(String username,
Boolean admin,
String email)
Add a DOI user
|
void |
DOIDbDataAccessServiceImpl.addToken(String token)
Add token
|
void |
DOIDbDataAccessServiceImpl.close()
Close and release all the Data access connections.
|
void |
DOIDbDataAccessServiceImpl.deleteToken(String token)
Delete token
|
List<DOIProject> |
DOIDbDataAccessServiceImpl.getAllDOIProjects()
Get all DOI projects from data base
|
List<DOIProject> |
DOIDbDataAccessServiceImpl.getAllDOIProjectsForUser(String username)
Get Projects related to a given username
|
List<DOIUser> |
DOIDbDataAccessServiceImpl.getAllDOIusers()
Get all DOI users from data base
|
List<DOIUser> |
DOIDbDataAccessServiceImpl.getAllDOIUsersForProject(int suffix)
Get Users from a given project.
|
String |
DOIDbDataAccessServiceImpl.getDOIProjectName(int suffix)
Get Project name from its suffix.
|
private DOIUser |
DOIDbDataAccessServiceImpl.getDoiUserFromDb(String username)
Returns the DOI user from the username.
|
List<String> |
DOIDbDataAccessServiceImpl.getTokens()
Get tokens
|
boolean |
DOIDbDataAccessServiceImpl.isAdmin(String username)
Check if user is an admin user
|
boolean |
DOIDbDataAccessServiceImpl.isUserExist(String username)
Check if user exists in the database
|
void |
DOIDbDataAccessServiceImpl.removeDOIProject(int suffix)
Remove a DOI project
|
void |
DOIDbDataAccessServiceImpl.removeDOIProjectFromUser(String username,
int suffix)
Remove a DOI project from a user
|
void |
DOIDbDataAccessServiceImpl.removeDOIUser(String username)
Remove a DOI user
|
void |
DOIDbDataAccessServiceImpl.renameDOIProject(int suffix,
String newprojectname)
Rename DOI project from its suffix.
|
void |
DOIDbDataAccessServiceImpl.setAdmin(String username)
Add admin right to a user
|
void |
DOIDbDataAccessServiceImpl.unsetAdmin(String username)
Remove admin right from a user
|
Modifier and Type | Method and Description |
---|---|
void |
DOIDbDataAccessService.addDOIProject(int suffix,
String projectname)
Add a DOI project
|
void |
DOIDbDataAccessService.addDOIProjectToUser(String username,
int suffix)
Assign a DOI project to a user
|
void |
DOIDbDataAccessService.addDOIUser(String username,
Boolean admin)
Add a DOI user
|
void |
DOIDbDataAccessService.addDOIUser(String username,
Boolean admin,
String email)
Add a DOI user
|
void |
DOIDbDataAccessService.addToken(String token)
Add token
|
void |
DOIDbDataAccessService.close()
Close and release all the Data access connections.
|
void |
DOIDbDataAccessService.deleteToken(String token)
Delete token
|
List<DOIProject> |
DOIDbDataAccessService.getAllDOIProjects()
Get all DOI projects from data base
|
List<DOIProject> |
DOIDbDataAccessService.getAllDOIProjectsForUser(String username)
Get Projects related to a given username
|
List<DOIUser> |
DOIDbDataAccessService.getAllDOIusers()
Get all DOI users from data base
|
List<DOIUser> |
DOIDbDataAccessService.getAllDOIUsersForProject(int suffix)
Get Users from a given project.
|
String |
DOIDbDataAccessService.getDOIProjectName(int suffix)
Get Project name from its suffix.
|
List<String> |
DOIDbDataAccessService.getTokens()
Get tokens
|
boolean |
DOIDbDataAccessService.isAdmin(String username)
Check if user is an admin user
|
boolean |
DOIDbDataAccessService.isUserExist(String username)
Check if user exists in the database
|
void |
DOIDbDataAccessService.removeDOIProject(int suffix)
Remove a DOI project
|
void |
DOIDbDataAccessService.removeDOIProjectFromUser(String username,
int suffix)
Remove a DOI project from a user
|
void |
DOIDbDataAccessService.removeDOIUser(String username)
Remove a DOI user
|
void |
DOIDbDataAccessService.renameDOIProject(int suffix,
String newprojectname)
Rename DOI project from its suffix.
|
void |
DOIDbDataAccessService.setAdmin(String username)
Add admin right to a user
|
void |
DOIDbDataAccessService.unsetAdmin(String username)
Remove admin right from a user
|
Modifier and Type | Method and Description |
---|---|
private void |
DOIUsersUpdate.updateDoiServerDataBaseFromAuthSystem()
Fills the DOI users database from the members of the authentication
system.
|
Modifier and Type | Method and Description |
---|---|
List<DOIProject> |
UniqueProjectName.getProjects()
Returns the projects from the database.
|
List<DOIProject> |
UniqueProjectName.getProjectsFromUser(String userName)
Returns the projects associated to an user from the database.
|
int |
UniqueProjectName.getShortName(String project,
int length)
Build a unique String from the project name
|
Copyright © 2017–2020 CNES. All rights reserved.