KIE Uberfire Social Activities Backend 6.2.0.CR4

org.kie.uberfire.social.activities.persistence
Class SocialFile

java.lang.Object
  extended by 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)
           
 
Method Summary
 void prepareForReading()
           
 List<SocialActivitiesEvent> readSocialEvents(Integer numberOfEvents)
           
 void write(List<SocialActivitiesEvent> events)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialFile

public SocialFile(org.uberfire.java.nio.file.Path path,
                  org.uberfire.io.IOService ioService,
                  com.google.gson.Gson gson)
Method Detail

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)

KIE Uberfire Social Activities Backend 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.