public class IfsGetCurrentUserContext extends IfsCommandContext implements GetCurrentUserContext
Constructor and Description |
---|
IfsGetCurrentUserContext()
Deafult Constructor.
|
IfsGetCurrentUserContext(LibrarySession session)
Constructor to set up all required parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the Context.
|
LibrarySession |
getLibrarySession()
Gets the session.
|
DirectoryUser |
getUser()
Gets the user.
|
void |
setLibrarySession(LibrarySession session)
Sets the session.
|
void |
setUser(DirectoryUser user)
Sets the user.
|
public IfsGetCurrentUserContext() throws IfsException
IfsException
public IfsGetCurrentUserContext(LibrarySession session) throws IfsException
session
- LibrarySession.IfsException
- If operation fails.public void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public LibrarySession getLibrarySession() throws IfsException
getLibrarySession
in interface GetCurrentUserContext
IfsException
public void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession
in interface GetCurrentUserContext
IfsException
public DirectoryUser getUser() throws IfsException
getUser
in interface GetCurrentUserContext
IfsException
public void setUser(DirectoryUser user) throws IfsException
setUser
in interface GetCurrentUserContext
IfsException
Copyright © 2023. All rights reserved.