Class Overview
A library of user defined macros, stored in and retrieved from Bandana on request.
Note that since Confluence 4.0 this UserMacroLibrary is now aware of when user macros have been hidden by an
identically named macro from a plugin (even a user macro from a plugin). So the existing methods on the
library will now only return macros that are not hidden.
Summary
Public Constructors |
|
UserMacroLibrary(BandanaManager bandanaManager, EventPublisher eventPublisher)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
public
static
final
String
LIBRARY_KEY
Constant Value:
"confluence.user"
Public Constructors
public
UserMacroLibrary
(BandanaManager bandanaManager, EventPublisher eventPublisher)
Public Methods
Returns
- the names of all the user macros except for those that are hidden by a duplicate macro from a plugin.
Returns
- all the user macros except for those that are hidden by a duplicate macro from a plugin.
public
boolean
hasMacro
(String name)
public
void
removeMacro
(String name)