Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SetAttribute<Log,LogAttribute> |
Log_.attributes |
static javax.persistence.metamodel.SingularAttribute<Log,String> |
Log_.description |
static javax.persistence.metamodel.SingularAttribute<Log,Entry> |
Log_.entry |
static javax.persistence.metamodel.SingularAttribute<Log,Long> |
Log_.id |
static javax.persistence.metamodel.SingularAttribute<LogAttribute,Log> |
LogAttribute_.log |
static javax.persistence.metamodel.SetAttribute<Log,Logbook> |
Log_.logbooks |
static javax.persistence.metamodel.ListAttribute<Entry,Log> |
Entry_.logs |
static javax.persistence.metamodel.SingularAttribute<Log,Date> |
Log_.modifiedDate |
static javax.persistence.metamodel.SingularAttribute<Log,String> |
Log_.owner |
static javax.persistence.metamodel.SingularAttribute<Log,State> |
Log_.state |
static javax.persistence.metamodel.SetAttribute<Log,Tag> |
Log_.tags |
Modifier and Type | Method and Description |
---|---|
static Log |
LogManager.create(Log log)
Creates a Log in the database.
|
Log |
OlogImpl.createOrReplaceLog(Long logId,
Log data)
Update a log identified by logId, creating it when necessary.
|
static Log |
LogManager.findLog(Long id)
Finds a log and edits in the database by id.
|
Log |
OlogImpl.findLogById(Long logId)
Return single log found by log id.
|
Log |
LogAttribute.getLog() |
Log |
OlogImpl.updateLog(Long logId,
Log data)
Merge logbook set in data into the existing log logId.
|
Modifier and Type | Method and Description |
---|---|
List<Log> |
Logs.getLogList()
Returns a collection of Log.
|
List<Log> |
Logs.getLogs() |
List<Log> |
Entry.getLogs() |
Modifier and Type | Method and Description |
---|---|
void |
Logs.addLog(Log item)
Adds a log to the log collection.
|
void |
Tag.addLog(Log item) |
void |
Logbook.addLog(Log item) |
void |
Entry.addLog(Log log)
Adds a log to the collection.
|
void |
OlogImpl.checkIdMatchesPayload(Long logId,
Log data)
Check that logId matches the log id in data.
|
void |
OlogImpl.checkUserBelongsToGroup(String user,
Log data)
Check that user belongs to the owner group specified in the log
data.
|
void |
OlogImpl.checkValid(Log data)
Check the log in data for valid owner data.
|
int |
Log.compareTo(Log num) |
javax.ws.rs.core.Response |
LogsResource.create(javax.servlet.http.HttpServletRequest req,
javax.ws.rs.core.HttpHeaders headers,
Long logId,
Log data)
PUT method for editing a log instance identified by the payload.
|
static Log |
LogManager.create(Log log)
Creates a Log in the database.
|
Log |
OlogImpl.createOrReplaceLog(Long logId,
Log data)
Update a log identified by logId, creating it when necessary.
|
static void |
OlogImpl.mergeXmlLogs(Log dest,
Log src)
Merges Logbooks and Tags of two logs in place
|
void |
LogAttribute.setLog(Log log) |
static String |
Log.toLogger(Log data)
Creates a compact string representation for the log.
|
javax.ws.rs.core.Response |
LogsResource.update(javax.servlet.http.HttpServletRequest req,
javax.ws.rs.core.HttpHeaders headers,
Long logId,
Log data)
POST method for merging logbooks and tags of the Log identified by the
payload into an existing log.
|
Log |
OlogImpl.updateLog(Long logId,
Log data)
Merge logbook set in data into the existing log logId.
|
Modifier and Type | Method and Description |
---|---|
void |
Logs.setLogs(List<Log> items)
Sets the collection of logs.
|
void |
Entry.setLogs(List<Log> logs) |
static String |
Logs.toLogger(List<Log> data) |
Constructor and Description |
---|
Logs(Log log)
Creates a new instance of Logs with one initial log.
|
Constructor and Description |
---|
Logs(List<Log> logs) |
Copyright © 2010-2014 Michigan State University. All Rights Reserved.