org.xwiki.wiki.properties
Interface WikiPropertyGroupProvider


@Role
public interface WikiPropertyGroupProvider

Provider that manage WikiDescriptor Properties Groups.

Since:
5.3M2
Version:
$Id: 745c020ca6de05a2e3376ab89c0701bdcfae8020 $

Method Summary
 WikiPropertyGroup get(String wikiId)
          Get the WikiDescriptor Property Group corresponding to a wiki.
 void save(WikiPropertyGroup group, String wikiId)
          Save the WikiDescriptor Property Group corresponding to a wiki in the persistent storage.
 

Method Detail

get

WikiPropertyGroup get(String wikiId)
                      throws WikiPropertyGroupException
Get the WikiDescriptor Property Group corresponding to a wiki.

Parameters:
wikiId - Id of the wiki
Returns:
the group corresponding to the wiki
Throws:
WikiPropertyGroupException - if problem occurs

save

void save(WikiPropertyGroup group,
          String wikiId)
          throws WikiPropertyGroupException
Save the WikiDescriptor Property Group corresponding to a wiki in the persistent storage.

Parameters:
group - group to save
wikiId - identifier of the wiki concerned by this group
Throws:
WikiPropertyGroupException - if problem occurs


Copyright © 2004–2014 XWiki. All rights reserved.