Uses of Class
de.unirostock.sems.cbarchive.web.UserManager
-
Packages that use UserManager Package Description de.unirostock.sems.cbarchive.web de.unirostock.sems.cbarchive.web.importer de.unirostock.sems.cbarchive.web.rest -
-
Uses of UserManager in de.unirostock.sems.cbarchive.web
Methods in de.unirostock.sems.cbarchive.web that return UserManager Modifier and Type Method Description static UserManager
Tools. doLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Tries to obtain user instance (workspace), if fails it crates a new onestatic UserManager
Tools. doLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean createNew)
Tries to obtain user instance (workspace)
if createNew is true, it also tries to create a new user instance.static UserManager
Tools. getUser(CookieManager cookies)
Gets the user.Methods in de.unirostock.sems.cbarchive.web with parameters of type UserManager Modifier and Type Method Description static void
Tools. checkQuotasOrFail(long fileSize, Archive archive, UserManager user)
Checks for all quotas required to add/update an file within a CombineArchive.StatisticData
QuotaManager. getUserStats(UserManager user)
Gets the user stats.static void
Tools. storeUserCookies(CookieManager cookies, UserManager user)
Store user cookies. -
Uses of UserManager in de.unirostock.sems.cbarchive.web.importer
Fields in de.unirostock.sems.cbarchive.web.importer declared as UserManager Modifier and Type Field Description protected UserManager
Importer. user
Methods in de.unirostock.sems.cbarchive.web.importer with parameters of type UserManager Modifier and Type Method Description static Importer
Importer. getImporter(Archive archive, UserManager user)
Gets an importer corresponding to the type of archive.static Importer
Importer. getImporter(String type, String remoteUrl, UserManager user)
Gets an importer corresponding to the given type.Constructors in de.unirostock.sems.cbarchive.web.importer with parameters of type UserManager Constructor Description GitImporter(ArchiveFromGit archive, UserManager user)
GitImporter(String remoteUrl, UserManager user)
HttpImporter(ArchiveFromHttp archive, UserManager user)
HttpImporter(String remoteUrl, UserManager user)
Importer(UserManager user)
-
Uses of UserManager in de.unirostock.sems.cbarchive.web.rest
Methods in de.unirostock.sems.cbarchive.web.rest with parameters of type UserManager Modifier and Type Method Description protected javax.ws.rs.core.Response
RestHelper. buildErrorResponse(int status, UserManager user, String... errors)
Generates an error responseprotected javax.ws.rs.core.Response.ResponseBuilder
RestHelper. buildResponse(int status, UserManager user)
Generates ResponseBuilder an sets cookies, if possibleprotected javax.ws.rs.core.Response
RestHelper. buildTextErrorResponse(int status, UserManager user, String... errors)
Generates an error response
-