public class FreekiStore extends Object
| 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) |
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 |
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 SortedSet<Group> listGroups(String subgroup) throws IOException
IOExceptionpublic Group getGroup(String groupName) throws IOException
IOExceptionCopyright © 2013. All Rights Reserved.