public class FreekiStore extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
FreekiStore.ValidChildrenFilenameFilter |
| Constructor and Description |
|---|
FreekiStore(FreekiConfig config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteGroup(String group) |
boolean |
deletePage(String group,
String id) |
Group |
getGroup(String groupName) |
org.eclipse.jgit.revplot.PlotCommit<org.eclipse.jgit.revplot.PlotLane> |
getHeadCommit(File f) |
Page |
getPage(String group,
String id) |
boolean |
hasGroup(String group) |
boolean |
hasPage(String group,
String title) |
SortedSet<ChildRef> |
listChildren(String group) |
SortedSet<Group> |
listGroups(String subgroup) |
SortedSet<ChildRef> |
listPages(String group) |
void |
pullUpdates() |
void |
setupGit() |
boolean |
storeGroup(Group group) |
boolean |
storePage(Page page) |
public FreekiStore(FreekiConfig config) throws IOException
IOException@PostConstruct public void setupGit() throws IOException
IOExceptionpublic boolean hasGroup(String group)
public boolean storeGroup(Group group) throws IOException
IOExceptionpublic boolean storePage(Page page) throws IOException
IOExceptionpublic Page getPage(String group, String id) throws IOException
IOExceptionpublic boolean deleteGroup(String group) throws IOException
IOExceptionpublic boolean deletePage(String group, String id) throws IOException
IOExceptionpublic org.eclipse.jgit.revplot.PlotCommit<org.eclipse.jgit.revplot.PlotLane> getHeadCommit(File f) throws Exception
Exceptionpublic SortedSet<Group> listGroups(String subgroup) throws IOException
IOExceptionpublic Group getGroup(String groupName) throws IOException
IOExceptionpublic void pullUpdates()
throws IOException
IOExceptionCopyright © 2013. All Rights Reserved.