| org.sakaiproject.content.api.GroupAwareEdit
GroupAwareEdit | public interface GroupAwareEdit extends GroupAwareEntity,Edit(Code) | |
GroupAwareEdit is an interface that must be implemented to make changes in entities of types that are group aware.
|
Method Summary | |
public void | clearGroupAccess() | public void | clearPublicAccess() | public void | setAvailability(boolean hidden, Time releaseDate, Time retractDate) Set all of the attributes that determine availability. | public void | setGroupAccess(Collection groups) | public void | setHidden() Make this entity hidden. | public void | setPublicAccess() | public void | setReleaseDate(Time time) Set the release date before which this entity should not be available to users
except those with adequate permission (what defines "adequate permission" is TBD). | public void | setRetractDate(Time time) Set the retract date after which this entity should not be available to users
except those with adequate permission (what defines "adequate permission" is TBD). |
setAvailability | public void setAvailability(boolean hidden, Time releaseDate, Time retractDate)(Code) | | Set all of the attributes that determine availability. If hidden is true, releaseDate
and retractDate are ignored, and those attributes are set to null. If hidden is false,
releaseDate and/or retractDate may null, indicating that releaseDate and/or retractDate
should not be considered in calculating availability. If hidden is false and a value
is given for releaseDate, that should be saved to represent the time at which the item
becomes available. If hidden is false and a value is given for retractDate, that should
be saved to represent the time at which the item is no longer available.
Parameters: hidden - Parameters: releaseDate - Parameters: retractDate - |
setHidden | public void setHidden()(Code) | | Make this entity hidden. Any values previously set for releaseDate and/or retractDate
are removed.
|
setReleaseDate | public void setReleaseDate(Time time)(Code) | | Set the release date before which this entity should not be available to users
except those with adequate permission (what defines "adequate permission" is TBD).
Parameters: time - The date/time at which the entity may be accessed by all users. |
setRetractDate | public void setRetractDate(Time time)(Code) | | Set the retract date after which this entity should not be available to users
except those with adequate permission (what defines "adequate permission" is TBD).
Parameters: time - The date/time at which access to the entity should be restricted. |
|
|