Class RAuditEventRecord
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.data.audit.RAuditEventRecord
-
- All Implemented Interfaces:
Serializable
@Entity public class RAuditEventRecord extends Object implements Serializable
- Author:
- lazyman
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTORNEY_NAME_COLUMN_NAME
static String
ATTORNEY_OID_COLUMN_NAME
static String
COLUMN_TIMESTAMP
static String
ID_COLUMN_NAME
static String
INITIATOR_NAME_COLUMN_NAME
static String
INITIATOR_OID_COLUMN_NAME
static String
INITIATOR_TYPE_COLUMN_NAME
static String
TABLE_NAME
static String
TARGET_NAME_COLUMN_NAME
static String
TARGET_OID_COLUMN_NAME
static String
TARGET_OWNER_NAME_COLUMN_NAME
static String
TARGET_OWNER_OID_COLUMN_NAME
static String
TARGET_OWNER_TYPE_COLUMN_NAME
static String
TARGET_TYPE_COLUMN_NAME
-
Constructor Summary
Constructors Constructor Description RAuditEventRecord()
-
Method Summary
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
COLUMN_TIMESTAMP
public static final String COLUMN_TIMESTAMP
- See Also:
- Constant Field Values
-
ID_COLUMN_NAME
public static final String ID_COLUMN_NAME
- See Also:
- Constant Field Values
-
ATTORNEY_NAME_COLUMN_NAME
public static final String ATTORNEY_NAME_COLUMN_NAME
- See Also:
- Constant Field Values
-
ATTORNEY_OID_COLUMN_NAME
public static final String ATTORNEY_OID_COLUMN_NAME
- See Also:
- Constant Field Values
-
INITIATOR_NAME_COLUMN_NAME
public static final String INITIATOR_NAME_COLUMN_NAME
- See Also:
- Constant Field Values
-
INITIATOR_OID_COLUMN_NAME
public static final String INITIATOR_OID_COLUMN_NAME
- See Also:
- Constant Field Values
-
INITIATOR_TYPE_COLUMN_NAME
public static final String INITIATOR_TYPE_COLUMN_NAME
- See Also:
- Constant Field Values
-
TARGET_NAME_COLUMN_NAME
public static final String TARGET_NAME_COLUMN_NAME
- See Also:
- Constant Field Values
-
TARGET_OID_COLUMN_NAME
public static final String TARGET_OID_COLUMN_NAME
- See Also:
- Constant Field Values
-
TARGET_OWNER_NAME_COLUMN_NAME
public static final String TARGET_OWNER_NAME_COLUMN_NAME
- See Also:
- Constant Field Values
-
TARGET_OWNER_OID_COLUMN_NAME
public static final String TARGET_OWNER_OID_COLUMN_NAME
- See Also:
- Constant Field Values
-
TARGET_OWNER_TYPE_COLUMN_NAME
public static final String TARGET_OWNER_TYPE_COLUMN_NAME
- See Also:
- Constant Field Values
-
TARGET_TYPE_COLUMN_NAME
public static final String TARGET_TYPE_COLUMN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResult
public String getResult()
-
getMessage
public String getMessage()
-
getParameter
public String getParameter()
-
getChannel
public String getChannel()
-
getDeltas
public Set<RObjectDeltaOperation> getDeltas()
-
getChangedItems
public Set<RAuditItem> getChangedItems()
-
getPropertyValues
public Set<RAuditPropertyValue> getPropertyValues()
-
getReferenceValues
public Set<RAuditReferenceValue> getReferenceValues()
-
getResourceOids
public Set<RTargetResourceOid> getResourceOids()
-
getEventIdentifier
public String getEventIdentifier()
-
getEventStage
public RAuditEventStage getEventStage()
-
getEventType
public RAuditEventType getEventType()
-
getHostIdentifier
public String getHostIdentifier()
-
getRemoteHostAddress
public String getRemoteHostAddress()
-
getNodeIdentifier
public String getNodeIdentifier()
-
getId
public long getId()
-
getInitiatorOid
public String getInitiatorOid()
-
getInitiatorName
public String getInitiatorName()
-
getInitiatorType
public RObjectType getInitiatorType()
-
getAttorneyOid
public String getAttorneyOid()
-
getAttorneyName
public String getAttorneyName()
-
getOutcome
public ROperationResultStatus getOutcome()
-
getSessionIdentifier
public String getSessionIdentifier()
-
getTargetName
public String getTargetName()
-
getTargetOid
public String getTargetOid()
-
getTargetType
public RObjectType getTargetType()
-
getTargetOwnerName
public String getTargetOwnerName()
-
getTargetOwnerOid
public String getTargetOwnerOid()
-
getRequestIdentifier
public String getRequestIdentifier()
-
getTaskIdentifier
public String getTaskIdentifier()
-
getTaskOID
public String getTaskOID()
-
getTimestamp
public Timestamp getTimestamp()
-
getTargetOwnerType
public RObjectType getTargetOwnerType()
-
setTargetOwnerType
public void setTargetOwnerType(RObjectType targetOwnerType)
-
setMessage
public void setMessage(String message)
-
setParameter
public void setParameter(String parameter)
-
setChannel
public void setChannel(String channel)
-
setDeltas
public void setDeltas(Set<RObjectDeltaOperation> deltas)
-
setChangedItems
public void setChangedItems(Set<RAuditItem> changedItems)
-
setResourceOids
public void setResourceOids(Set<RTargetResourceOid> resourceOids)
-
setPropertyValues
public void setPropertyValues(Set<RAuditPropertyValue> propertyValues)
-
setReferenceValues
public void setReferenceValues(Set<RAuditReferenceValue> referenceValues)
-
setEventIdentifier
public void setEventIdentifier(String eventIdentifier)
-
setEventStage
public void setEventStage(RAuditEventStage eventStage)
-
setEventType
public void setEventType(RAuditEventType eventType)
-
setHostIdentifier
public void setHostIdentifier(String hostIdentifier)
-
setRemoteHostAddress
public void setRemoteHostAddress(String remoteHostAddress)
-
setNodeIdentifier
public void setNodeIdentifier(String nodeIdentifier)
-
setId
public void setId(long id)
-
setInitiatorName
public void setInitiatorName(String initiatorName)
-
setInitiatorOid
public void setInitiatorOid(String initiatorOid)
-
setInitiatorType
public void setInitiatorType(RObjectType initiatorType)
-
setAttorneyOid
public void setAttorneyOid(String attorneyOid)
-
setAttorneyName
public void setAttorneyName(String attorneyName)
-
setOutcome
public void setOutcome(ROperationResultStatus outcome)
-
setSessionIdentifier
public void setSessionIdentifier(String sessionIdentifier)
-
setTargetName
public void setTargetName(String targetName)
-
setTargetOid
public void setTargetOid(String targetOid)
-
setTargetType
public void setTargetType(RObjectType targetType)
-
setTargetOwnerName
public void setTargetOwnerName(String targetOwnerName)
-
setTargetOwnerOid
public void setTargetOwnerOid(String targetOwnerOid)
-
setRequestIdentifier
public void setRequestIdentifier(String requestIdentifier)
-
setTaskIdentifier
public void setTaskIdentifier(String taskIdentifier)
-
setTaskOID
public void setTaskOID(String taskOID)
-
setTimestamp
public void setTimestamp(Timestamp timestamp)
-
setResult
public void setResult(String result)
-
toRepo
public static RAuditEventRecord toRepo(AuditEventRecord record, PrismContext prismContext, Boolean isTransient) throws DtoTranslationException
- Throws:
DtoTranslationException
-
fromRepo
public static AuditEventRecord fromRepo(RAuditEventRecord repo, PrismContext prismContext, boolean useUtf16)
-
toRepo
public static SingleSqlQuery toRepo(AuditEventRecord record, Map<String,String> customColumn) throws DtoTranslationException
- Throws:
DtoTranslationException
-
fromRepo
public static AuditEventRecord fromRepo(ResultSet resultSet) throws SQLException
- Throws:
SQLException
-
merge
public void merge(RAuditEventRecord repoRecord)
-
-