com.ibm.pim.interfaces.context
Interface ContextAttributes


public interface ContextAttributes

Allows access to attributes of a Context


Field Summary
static java.lang.String copyright
           
 
Method Summary
 User getCurrentUser()
          Get the current user associated with these attributes
 void setCurrentUser(User user)
          Set the current user associated with these attributes
 

Field Detail

copyright

public static final java.lang.String copyright
See Also:
Constant Field Values
Method Detail

getCurrentUser

public User getCurrentUser()
                    throws PIMInternalException
Get the current user associated with these attributes

Returns:
A User object representing the current user.
Throws:
PIMInternalException - if an internal error occurs
See Also:
User

setCurrentUser

public void setCurrentUser(User user)
                    throws PIMInternalException,
                           PIMAuthenticationException,
                           PIMAuthorizationException
Set the current user associated with these attributes

Parameters:
user - A User object representing the current user.
Throws:
PIMInternalException - if an internal error occurs
PIMAuthorizationException - if the user is not authorized to perform this operation
PIMAuthenticationException - if the a user authentication problem occurs
See Also:
User