org.opencrx.kernel.base.cci2
Interface AuditEntry

All Superinterfaces:
BasicObject, ContextCapable, ExtentCapable, SecureObject, ViewCapable
All Known Subinterfaces:
AuditEntry, ObjectCreationAuditEntry, ObjectCreationAuditEntry, ObjectModificationAuditEntry, ObjectModificationAuditEntry, ObjectRemovalAuditEntry, ObjectRemovalAuditEntry
All Known Implementing Classes:
AuditEntry, ObjectCreationAuditEntry, ObjectModificationAuditEntry, ObjectRemovalAuditEntry

public interface AuditEntry
extends SecureObject, BasicObject

Abstract class AuditEntry


Nested Class Summary
static interface AuditEntry.Identity
          Object Identity
 
Method Summary
 String getAuditee()
          Retrieves the value for the attribute auditee.
 String getUnitOfWork()
          Retrieves the possibly null value for the optional attribute unitOfWork.
 Set<String> getVisitedBy()
          Retrieves a set containing all the elements for the attribute visitedBy.
 void setAuditee(String auditee)
          Sets a new value for the attribute auditee.
 void setUnitOfWork(String unitOfWork)
          Sets a new value for the attribute unitOfWork.
 void setVisitedBy(String... visitedBy)
          Clears visitedBy and adds the given value(s).
 TestAndSetVisitedByResult testAndSetVisitedBy(TestAndSetVisitedByParams in)
           
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Method Detail

getAuditee

String getAuditee()
Retrieves the value for the attribute auditee.

Returns:
The non-null value for attribute auditee.

setAuditee

void setAuditee(String auditee)
Sets a new value for the attribute auditee.

Parameters:
auditee - The non-null new value for attribute auditee.

testAndSetVisitedBy

TestAndSetVisitedByResult testAndSetVisitedBy(TestAndSetVisitedByParams in)

getUnitOfWork

String getUnitOfWork()
Retrieves the possibly null value for the optional attribute unitOfWork.

Returns:
The possibly null value for attribute unitOfWork.

setUnitOfWork

void setUnitOfWork(String unitOfWork)
Sets a new value for the attribute unitOfWork.

Parameters:
unitOfWork - The possibly null new value for attribute unitOfWork.

getVisitedBy

Set<String> getVisitedBy()
Retrieves a set containing all the elements for the attribute visitedBy.

Returns:
A set containing all elements for this attribute.

setVisitedBy

void setVisitedBy(String... visitedBy)
Clears visitedBy and adds the given value(s).

This method is equivalent to

   set.clear();
   set.addAll(Arrays.asList(visitedBy));
 

Parameters:
visitedBy - value(s) to be added to visitedBy


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.