public class TimestampsPlugin extends PluginActivator implements TimestampsService, PostCreateTopic, PostCreateAssoc, PostUpdateTopic, PostUpdateAssoc, PreSendTopic, PreSendAssoc, ServiceResponseFilter
bundle, dmx, mf
Constructor and Description |
---|
TimestampsPlugin() |
Modifier and Type | Method and Description |
---|---|
Collection<Assoc> |
getAssocsByCreationTime(long from,
long to) |
Collection<Assoc> |
getAssocsByModificationTime(long from,
long to) |
long |
getCreationTime(long objectId) |
long |
getModificationTime(long objectId) |
Collection<Topic> |
getTopicsByCreationTime(long from,
long to) |
Collection<Topic> |
getTopicsByModificationTime(long from,
long to) |
void |
init() |
void |
postCreateAssoc(Assoc assoc) |
void |
postCreateTopic(Topic topic) |
void |
postUpdateAssoc(Assoc assoc,
AssocModel updateModel,
AssocModel oldAssoc) |
void |
postUpdateTopic(Topic topic,
TopicModel updateModel,
TopicModel oldTopic) |
void |
preSendAssoc(Assoc assoc) |
void |
preSendTopic(Topic topic) |
void |
serviceResponseFilter(com.sun.jersey.spi.container.ContainerResponse response) |
void |
setModified(DMXObject object) |
getBundleContext, getPluginName, getStaticResource, getUri, preInstall, publishFileSystem, serviceArrived, serviceGone, setCoreService, shutdown, start, stop, toString
public long getCreationTime(long objectId)
getCreationTime
in interface TimestampsService
public long getModificationTime(long objectId)
getModificationTime
in interface TimestampsService
public void setModified(DMXObject object)
setModified
in interface TimestampsService
public Collection<Topic> getTopicsByCreationTime(long from, long to)
getTopicsByCreationTime
in interface TimestampsService
public Collection<Topic> getTopicsByModificationTime(long from, long to)
getTopicsByModificationTime
in interface TimestampsService
public Collection<Assoc> getAssocsByCreationTime(long from, long to)
getAssocsByCreationTime
in interface TimestampsService
public Collection<Assoc> getAssocsByModificationTime(long from, long to)
getAssocsByModificationTime
in interface TimestampsService
public void init()
init
in interface PluginContext
init
in class PluginActivator
public void postCreateTopic(Topic topic)
postCreateTopic
in interface PostCreateTopic
public void postCreateAssoc(Assoc assoc)
postCreateAssoc
in interface PostCreateAssoc
public void postUpdateTopic(Topic topic, TopicModel updateModel, TopicModel oldTopic)
postUpdateTopic
in interface PostUpdateTopic
public void postUpdateAssoc(Assoc assoc, AssocModel updateModel, AssocModel oldAssoc)
postUpdateAssoc
in interface PostUpdateAssoc
public void preSendTopic(Topic topic)
preSendTopic
in interface PreSendTopic
public void preSendAssoc(Assoc assoc)
preSendAssoc
in interface PreSendAssoc
public void serviceResponseFilter(com.sun.jersey.spi.container.ContainerResponse response)
serviceResponseFilter
in interface ServiceResponseFilter
Copyright © 2020. All Rights Reserved.