|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Role public interface SheetBinder
The interface used to bind sheets to documents and classes.
| Method Summary | |
|---|---|
boolean |
bind(DocumentModelBridge document,
DocumentReference sheetReference)
Binds a sheet to a XWiki document. |
List<DocumentReference> |
getDocuments(DocumentReference sheetReference)
Retrieves the list of XWiki documents explicitly bound to a given sheet. |
List<DocumentReference> |
getSheets(DocumentModelBridge document)
Retrieves the list of sheets explicitly bound to a XWiki document. |
boolean |
unbind(DocumentModelBridge document,
DocumentReference sheetReference)
Removes the binding between a sheet and a XWiki document. |
| Method Detail |
|---|
List<DocumentReference> getSheets(DocumentModelBridge document)
document - a XWiki document
List<DocumentReference> getDocuments(DocumentReference sheetReference)
sheetReference - a reference to a sheet
boolean bind(DocumentModelBridge document,
DocumentReference sheetReference)
document - a XWiki documentsheetReference - a reference to a sheet
true if the sheet was successfully bound to the given document, false otherwise (e.g. if
the specified sheet was already bound to the given document)
boolean unbind(DocumentModelBridge document,
DocumentReference sheetReference)
document - a XWiki documentsheetReference - a reference to a sheet
true if the sheet was successfully unbound from the given document, false otherwise (e.g.
if the specified sheet wasn't bound to the given document)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||