org.kie.uberfire.social.activities.persistence
Class SocialFile
java.lang.Object
org.kie.uberfire.social.activities.persistence.SocialFile
public class SocialFile
- extends Object
|
Constructor Summary |
SocialFile(org.uberfire.java.nio.file.Path path,
org.uberfire.io.IOService ioService,
com.google.gson.Gson gson)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialFile
public SocialFile(org.uberfire.java.nio.file.Path path,
org.uberfire.io.IOService ioService,
com.google.gson.Gson gson)
write
public void write(List<SocialActivitiesEvent> events)
throws IOException
- Throws:
IOException
prepareForReading
public void prepareForReading()
throws IOException
- Throws:
IOException
readSocialEvents
public List<SocialActivitiesEvent> readSocialEvents(Integer numberOfEvents)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.