Modifier and Type | Method and Description |
---|---|
Attachment |
OlogClientImpl.add(File local,
Long logId) |
Attachment |
OlogClient.add(File local,
Long logId) |
void |
OlogClientImpl.delete(Collection<Log> logs)
Deprecated.
|
void |
OlogClient.delete(Collection<Log> logs)
Remove the log collection identified by log
|
void |
OlogClientImpl.delete(LogbookBuilder logbook,
Collection<Long> logIds) |
void |
OlogClient.delete(LogbookBuilder logbook,
Collection<Long> logIds)
Remove the logbook logbook from the set of logs logIds
|
void |
OlogClientImpl.delete(LogbookBuilder logbook,
Long logId) |
void |
OlogClient.delete(LogbookBuilder logbook,
Long logId)
Remove logbook logbook from the log with name logName
|
void |
OlogClientImpl.delete(LogBuilder log) |
void |
OlogClient.delete(LogBuilder log)
Remove the log identified by log
|
void |
OlogClientImpl.delete(Long logId) |
void |
OlogClient.delete(Long logId)
Remove the log identified by log
|
void |
OlogClientImpl.delete(PropertyBuilder property,
Collection<Long> logIds) |
void |
OlogClient.delete(PropertyBuilder property,
Collection<Long> logIds)
Remove the property property from the set of logs
logIds
|
void |
OlogClientImpl.delete(PropertyBuilder property,
Long logId) |
void |
OlogClient.delete(PropertyBuilder property,
Long logId)
Remove property property from the log with id logId
TODO: Should this be it's own service?
|
void |
OlogClient.delete(String fileName,
Long logId)
Remove file attachment from log logId
TODO: sardine delete hangs up, using jersey for delete
|
void |
OlogClientImpl.delete(TagBuilder tag,
Collection<Long> logIds) |
void |
OlogClient.delete(TagBuilder tag,
Collection<Long> logIds)
Remove the tag tag from all the logs logNames
|
void |
OlogClientImpl.delete(TagBuilder tag,
Long logId) |
void |
OlogClient.delete(TagBuilder tag,
Long logId)
Remove tag tag from the log with the id logId
|
void |
OlogClientImpl.deleteLogbook(String logbook) |
void |
OlogClient.deleteLogbook(String logbook) |
void |
OlogClientImpl.deleteProperty(String property) |
void |
OlogClient.deleteProperty(String property)
Delete the property with name property
|
void |
OlogClientImpl.deleteTag(String tag) |
void |
OlogClient.deleteTag(String tag)
Remove {tag} from all logs
|
Log |
OlogClient.findLogById(Long logId)
Deprecated.
|
Collection<Log> |
OlogClientImpl.findLogs(Map<String,String> map) |
Collection<Log> |
OlogClient.findLogs(Map<String,String> map)
Query for logs based on the criteria specified in the map
|
Collection<Log> |
OlogClientImpl.findLogs(javax.ws.rs.core.MultivaluedMap<String,String> map) |
Collection<Log> |
OlogClient.findLogs(javax.ws.rs.core.MultivaluedMap<String,String> map)
Multivalued map used to search for a key with multiple values.
|
Collection<Log> |
OlogClientImpl.findLogsByLogbook(String logbook) |
Collection<Log> |
OlogClient.findLogsByLogbook(String logbook)
This function is a subset of queryLogs - should it be removed??
|
Collection<Log> |
OlogClientImpl.findLogsByProperty(String propertyName) |
Collection<Log> |
OlogClient.findLogsByProperty(String propertyName) |
Collection<Log> |
OlogClientImpl.findLogsByProperty(String propertyName,
String attributeName,
String attributeValue) |
Collection<Log> |
OlogClient.findLogsByProperty(String propertyName,
String attributeName,
String attributeValue)
This function is a subset of queryLogs should it be removed??
|
Collection<Log> |
OlogClientImpl.findLogsBySearch(String pattern) |
Collection<Log> |
OlogClient.findLogsBySearch(String pattern) |
Collection<Log> |
OlogClientImpl.findLogsByTag(String pattern) |
Collection<Log> |
OlogClient.findLogsByTag(String pattern) |
Log |
OlogClientImpl.getLog(Long logId) |
Log |
OlogClient.getLog(Long logId)
Returns a log that exactly matches the logId logId
|
Property |
OlogClientImpl.getProperty(String property) |
Property |
OlogClient.getProperty(String property)
return the complete property property
|
Collection<Attachment> |
OlogClientImpl.listAttachments(Long logId) |
Collection<Attachment> |
OlogClient.listAttachments(Long logId)
Returns a collection of attachments that matches the logId logId
|
Collection<String> |
OlogClientImpl.listAttributes(String propertyName) |
Collection<String> |
OlogClient.listAttributes(String propertyName)
List all the active attributes associated with the property propertyName
property must exist, name != null
|
Collection<Level> |
OlogClientImpl.listLevels() |
Collection<Level> |
OlogClient.listLevels()
Get a list of all the levels currently existing
|
Collection<Logbook> |
OlogClientImpl.listLogbooks() |
Collection<Logbook> |
OlogClient.listLogbooks()
Get a list of all the logbooks currently existings
|
Collection<Property> |
OlogClientImpl.listProperties() |
Collection<Property> |
OlogClient.listProperties()
Get a list of all the Properties currently existing
|
Collection<Tag> |
OlogClientImpl.listTags() |
Collection<Tag> |
OlogClient.listTags()
Get a list of all the tags currently existing
|
Collection<Log> |
OlogClientImpl.set(Collection<LogBuilder> logs) |
Collection<Log> |
OlogClient.set(Collection<LogBuilder> logs)
Deprecated.
|
Logbook |
OlogClientImpl.set(LogbookBuilder logbook) |
Logbook |
OlogClient.set(LogbookBuilder logbookBuilder)
Set a new logbook logbook with no associated logs.
|
Logbook |
OlogClientImpl.set(LogbookBuilder logbook,
Collection<Long> logIds) |
Logbook |
OlogClient.set(LogbookBuilder logbook,
Collection<Long> logIds)
Set Logbook logbook to the logs logIds and remove it
from all other logs
TODO: all logids should exist, no nulls, check transaction
|
Log |
OlogClientImpl.set(LogBuilder log) |
Log |
OlogClient.set(LogBuilder log)
Set a single log log, if the log already exists it is replaced.
|
Property |
OlogClient.set(PropertyBuilder property)
Create or replace property property
TODO: test creation of a new property, test changing this property, test old log entries still have old property structure
|
Tag |
OlogClientImpl.set(TagBuilder tag) |
Tag |
OlogClient.set(TagBuilder tag)
Set a Tag tag with no associated logs to the database.
|
Tag |
OlogClientImpl.set(TagBuilder tag,
Collection<Long> logIds) |
Tag |
OlogClient.set(TagBuilder tag,
Collection<Long> logIds)
Set tag tag on the set of logs logIds and remove it
from all others
TODO: all logIds should exist/ service should do proper transactions.
|
Collection<Log> |
OlogClientImpl.update(Collection<LogBuilder> logs) |
Collection<Log> |
OlogClient.update(Collection<LogBuilder> logs)
Update a set of logs
|
Logbook |
OlogClientImpl.update(LogbookBuilder logbook,
Collection<Long> logIds) |
Logbook |
OlogClient.update(LogbookBuilder logbook,
Collection<Long> logIds)
TODO: transaction check
|
Logbook |
OlogClientImpl.update(LogbookBuilder logbook,
Long logId) |
Logbook |
OlogClient.update(LogbookBuilder logbook,
Long logId)
Add Logbook logbook to the log logId
|
Log |
OlogClientImpl.update(LogBuilder log) |
Log |
OlogClient.update(LogBuilder log)
Update a log entry log
|
Property |
OlogClientImpl.update(PropertyBuilder property) |
Log |
OlogClientImpl.update(PropertyBuilder property,
Long logId) |
Log |
OlogClient.update(PropertyBuilder property,
Long logId)
Update Property property by adding it to Log with id
logId
TODO : service invalid payload, need attribute and value
|
Tag |
OlogClientImpl.update(TagBuilder tag,
Collection<Long> logIds) |
Tag |
OlogClient.update(TagBuilder tag,
Collection<Long> logIds)
Update the Tag tag by adding it to the set of the logs with ids
logIds
TODO: Transactional nature,
|
Tag |
OlogClientImpl.update(TagBuilder tag,
Long logId) |
Tag |
OlogClient.update(TagBuilder tag,
Long logId)
Update Tag tag by adding it to Log with name logName
TODO: logid valid.
|
Copyright © 2010-2014 Michigan State University. All Rights Reserved.