org.sakaiproject.service.legacy.digest
Interface DigestEdit

All Superinterfaces:
Comparable, Digest, Edit, Entity
All Known Implementing Classes:
BaseDigestService.BaseDigest

public interface DigestEdit
extends Digest, Edit

DigestEdit is the core interface for the editable CHEF Digest object.

Version:
$Revision: 2371 $
Author:
University of Michigan, CHEF Software Development Team

Field Summary
 
Fields inherited from interface org.sakaiproject.service.legacy.entity.Entity
SEPARATOR
 
Method Summary
 void add(DigestMessage msg)
          Add another message, in the current time period.
 void clear(Time period)
          Clear all messages from a time period.
 
Methods inherited from interface org.sakaiproject.service.legacy.digest.Digest
getId, getMessages, getPeriods
 
Methods inherited from interface org.sakaiproject.service.legacy.entity.Entity
getProperties, getReference, getReference, getUrl, getUrl, toXml
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.sakaiproject.service.legacy.entity.Edit
getPropertiesEdit, isActiveEdit
 

Method Detail

add

public void add(DigestMessage msg)
Add another message, in the current time period.

Parameters:
msg - The DigestMessage to add.

clear

public void clear(Time period)
Clear all messages from a time period.

Parameters:
period - a Time in the time period.