Package com.identityworksllc.iiq.common
Class AccessHistory
- java.lang.Object
 - 
- com.identityworksllc.iiq.common.AccessHistory
 
 
- 
public class AccessHistory extends Object
A singleton utility for retrieving AccessHistory-related objects, gracefully failing in pre-8.4 versions of IIQ.In versions of IIQ where Access History is not supported, the various methods will return empty
Optionalobjects. 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessHistoryget()Gets an instance of the utility class with version-specific implementation classes already configured.Optional<sailpoint.api.SailPointContext>getAccessHistoryContext()Returns the SailPointContext associated with Access HistoryOptional<sailpoint.server.Environment>getAccessHistoryEnvironment()Returns the Environment associated with Access HistorybooleanisAccessHistoryEnabled()Returns true if access history is available and enabled. 
 - 
 
- 
- 
Method Detail
- 
get
public static AccessHistory get() throws sailpoint.tools.GeneralException
Gets an instance of the utility class with version-specific implementation classes already configured.- Returns:
 - An instance of 
AccessHistory - Throws:
 sailpoint.tools.GeneralException- on failures
 
- 
getAccessHistoryContext
public Optional<sailpoint.api.SailPointContext> getAccessHistoryContext() throws sailpoint.tools.GeneralException
Returns the SailPointContext associated with Access History- Returns:
 - The access history context, or an empty optional if not available
 - Throws:
 sailpoint.tools.GeneralException
 
- 
getAccessHistoryEnvironment
public Optional<sailpoint.server.Environment> getAccessHistoryEnvironment() throws sailpoint.tools.GeneralException
Returns the Environment associated with Access History- Returns:
 - The access history environment, or an empty optional if not available
 - Throws:
 sailpoint.tools.GeneralException
 
- 
isAccessHistoryEnabled
public boolean isAccessHistoryEnabled()
Returns true if access history is available and enabled.The result will be cached so that reflection is not used for every call of this method.
- Returns:
 - True, if this is 8.4 or higher, and access history is enabled
 
 
 - 
 
 -