Modifier and Type | Method and Description |
---|---|
User |
AbstractHistory.getUser() |
Modifier and Type | Method and Description |
---|---|
static Version |
Version.create(Document document,
User user,
String comment,
String event,
boolean release)
Factory method that creates a Version and replicate all given document's
properties.
|
void |
AbstractHistory.setUser(User user)
This setter also sets the userId and userName
|
Modifier and Type | Field and Description |
---|---|
protected User |
Search.searchUser |
Modifier and Type | Method and Description |
---|---|
Set<User> |
Group.getUsers() |
Modifier and Type | Method and Description |
---|---|
void |
UserListener.afterStore(User user,
UserHistory transaction,
Map<String,Object> dictionary)
Called after a user is stored in the database
|
void |
SecurityManagerImpl.assignUserToGroup(User user,
Group group) |
void |
SecurityManager.assignUserToGroup(User user,
Group group)
Assign a user to a group.
|
void |
SecurityManagerImpl.assignUserToGroups(User user,
Collection<Group> groups) |
void |
SecurityManager.assignUserToGroups(User user,
Collection<Group> groups)
Assign a user to a collection of groups.
|
void |
SecurityManagerImpl.assignUserToGroups(User user,
long[] groupIds) |
void |
SecurityManager.assignUserToGroups(User user,
long[] groupIds)
Assign a user to a collection of groups.
|
void |
UserListener.beforeStore(User user,
UserHistory transaction,
Map<String,Object> dictionary)
Called before a user is stored in the database
|
static boolean |
SystemQuota.isOverQuota(User user)
Checks if user quota has be exceeded
|
void |
SecurityManagerImpl.removeUserFromAllGroups(User user) |
void |
SecurityManager.removeUserFromAllGroups(User user)
Removes the specified user from a all groups except it's user's group
|
void |
SecurityManagerImpl.removeUserFromGroup(User user,
Group group) |
void |
SecurityManager.removeUserFromGroup(User user,
Group group)
Removes the specified user from a group.
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityManagerImpl.assignUsersToGroup(Collection<User> users,
Group group) |
void |
SecurityManager.assignUsersToGroup(Collection<User> users,
Group group)
Assign a collection of users to a group.
|
void |
SecurityManagerImpl.removeUsersFromGroup(Collection<User> users,
Group group) |
void |
SecurityManager.removeUsersFromGroup(Collection<User> users,
Group group)
Removes the specified users from a group.
|
void |
Group.setUsers(Set<User> users) |
Modifier and Type | Method and Description |
---|---|
User |
UserDAO.findByUserName(String username)
This method finds an User by its username.
|
User |
HibernateUserDAO.findByUserName(String username) |
Modifier and Type | Method and Description |
---|---|
List<User> |
UserDAO.findByLikeUserName(String username)
This method finds an User by username.
|
List<User> |
HibernateUserDAO.findByLikeUserName(String username) |
List<User> |
UserDAO.findByName(String name)
This method finds an User by name.
|
List<User> |
HibernateUserDAO.findByName(String name) |
List<User> |
UserDAO.findByUserNameAndName(String username,
String name)
This method finds an User by username and name.
|
List<User> |
HibernateUserDAO.findByUserNameAndName(String username,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
UserHistoryDAO.createUserHistory(User user,
String eventType,
String comment,
String sessionId)
Creates an user history entry
|
void |
HibernateUserHistoryDAO.createUserHistory(User user,
String eventType,
String comment,
String sessionId) |
void |
HibernateUserDAO.initialize(User user) |
boolean |
HibernateUserDAO.store(User user) |
boolean |
UserDAO.store(User user,
UserHistory transaction)
This method persists the user object and insert a new user history entry.
|
boolean |
HibernateUserDAO.store(User user,
UserHistory transaction) |
Modifier and Type | Field and Description |
---|---|
protected User |
ZipImport.user |
Modifier and Type | Method and Description |
---|---|
protected void |
DownloadServlet.downloadDocument(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String sid,
User user) |
Modifier and Type | Method and Description |
---|---|
protected void |
DocumentServiceImpl.checkPublished(User user,
Document doc) |
protected GUISession |
SecurityServiceImpl.internalLogin(String sid,
User user,
String locale)
Used internally by login procedures, instantiates a new GUISession by a
given authenticated user.
|
Modifier and Type | Method and Description |
---|---|
static User |
SessionUtil.getSessionUser(javax.servlet.http.HttpServletRequest request) |
static User |
SessionUtil.getSessionUser(String sid) |
Modifier and Type | Method and Description |
---|---|
static void |
ServletIOUtil.downloadDocument(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String sid,
long docId,
String fileVersion,
String fileName,
String suffix,
User user)
Sends the specified document to the response object; the client will
receive it as a download
|
static void |
ServletIOUtil.downloadDocument(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String sid,
String docId,
String fileVersion,
String fileName,
User user)
Sends the specified document to the response object; the client will
receive it as a download
|
static void |
ServletIOUtil.downloadDocumentText(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long docId,
User user)
Sends the specified document's indexed text to the response object; the
client will receive it as a download
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResourceServiceImpl.checkPublished(User user,
Document doc) |
protected void |
ResourceServiceImpl.checkPublished(User user,
long docId) |
Modifier and Type | Method and Description |
---|---|
protected User |
AbstractService.validateSession(String sid)
Utility method that validates the session and retrieve the associated
user
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractService.checkDownloadEnable(User user,
long folderId) |
protected void |
AbstractService.checkPermission(Permission permission,
User user,
long folderId) |
protected void |
AbstractService.checkPublished(User user,
Document doc) |
protected void |
AbstractService.checkReadEnable(User user,
long folderId) |
protected void |
AbstractService.checkWriteEnable(User user,
long folderId) |
Modifier and Type | Method and Description |
---|---|
User |
WSUser.toUser() |
Modifier and Type | Method and Description |
---|---|
static WSUser |
WSUser.fromUser(User user) |
Copyright © 2008-2014 Logical Objects. All Rights Reserved.