@Role
public interface IconSetCache
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear all the cache.
|
void |
clear(DocumentReference documentReference)
Remove from the cache an icon set corresponding to a document in the wiki.
|
void |
clear(String name)
Remove from the cache an icon set corresponding to a given name.
|
void |
clear(String name,
String wikiId)
Remove from the cache an icon set corresponding to a given name.
|
IconSet |
get(DocumentReference documentReference)
Get the icon set corresponding to a document on the wiki.
|
IconSet |
get(String name)
Get an icon set, from its name.
|
IconSet |
get(String name,
String wikiId)
Get an icon set, from its name and the icon where it is located.
|
void |
put(DocumentReference documentReference,
IconSet iconSet)
Put an iconset into this cache.
|
void |
put(String name,
IconSet iconSet)
Put an iconset into this cache.
|
void |
put(String name,
String wikiId,
IconSet iconSet)
Put an iconset into this cache.
|
IconSet get(String name)
name
- name of the icon set to getIconSet get(String name, String wikiId)
name
- name of the icon set to getwikiId
- id of the wikiIconSet get(DocumentReference documentReference)
documentReference
- reference of the documentvoid put(String name, IconSet iconSet)
name
- name of the icon set to cacheiconSet
- the icon set to cachevoid put(String name, String wikiId, IconSet iconSet)
name
- name of the icon set to cachewikiId
- id of the wikiiconSet
- the icon set to cachevoid put(DocumentReference documentReference, IconSet iconSet)
documentReference
- reference to the document containing the icon seticonSet
- the icon set to cachevoid clear()
void clear(DocumentReference documentReference)
documentReference
- reference of the documentvoid clear(String name)
name
- the name of the icon setCopyright © 2004–2019 XWiki. All rights reserved.