public class NoticeManager extends Object
Modifier and Type | Field and Description |
---|---|
private static Debug |
_debug |
private Map<SystemObject,Notice> |
_noticeMap |
private Preferences |
_preferences |
private SimpleDateFormat |
_simpleDateFormat |
Constructor and Description |
---|
NoticeManager(Preferences preferences,
ObjectLookup dataModel) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
exportToFile(File file) |
Notice |
getNotice(SystemObject object) |
Collection<SystemObject> |
getObjectsWithNotice() |
boolean |
hasNotice(SystemObject systemObject) |
private void |
saveNode(SystemObject systemObject) |
boolean |
setNotice(SystemObject systemObject,
String text) |
private final Map<SystemObject,Notice> _noticeMap
private final Preferences _preferences
private static final Debug _debug
private SimpleDateFormat _simpleDateFormat
public NoticeManager(Preferences preferences, ObjectLookup dataModel)
public boolean setNotice(SystemObject systemObject, String text)
private void saveNode(SystemObject systemObject)
public Collection<SystemObject> getObjectsWithNotice()
public Notice getNotice(SystemObject object)
public boolean hasNotice(SystemObject systemObject)
public void exportToFile(File file) throws IOException
IOException
public void clear()