|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pages.templates.PluginTemplateReference
public class PluginTemplateReference
Used to reference a template based on the complete module key, space and referencing plugin key
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
com.atlassian.plugin.ModuleCompleteKey |
getModuleCompleteKey()
|
com.atlassian.plugin.ModuleCompleteKey |
getReferencingModuleCompleteKey()
|
Space |
getSpace()
|
static PluginTemplateReference |
globalTemplateReference(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey,
com.atlassian.plugin.ModuleCompleteKey referencingModuleCompleteKey)
Create a reference to the globally customised version of the template |
int |
hashCode()
|
static PluginTemplateReference |
spaceTemplateReference(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey,
com.atlassian.plugin.ModuleCompleteKey referencingModuleCompleteKey,
Space space)
Create a reference to the space level customised version of the template |
static PluginTemplateReference |
systemTemplateReference(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey)
Create a reference to the globally customised version of a system template |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static PluginTemplateReference spaceTemplateReference(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey, com.atlassian.plugin.ModuleCompleteKey referencingModuleCompleteKey, Space space)
moduleCompleteKey
- The complete module key of the templatereferencingModuleCompleteKey
- The complete module key of the blueprint that is referencing this templatespace
- The space in which the template is being referenced (can be null)public static PluginTemplateReference globalTemplateReference(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey, com.atlassian.plugin.ModuleCompleteKey referencingModuleCompleteKey)
moduleCompleteKey
- The complete module key of the templatereferencingModuleCompleteKey
- The complete module key of the blueprint that is referencing this templatepublic static PluginTemplateReference systemTemplateReference(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey)
moduleCompleteKey
- The complete module key of the system templatepublic com.atlassian.plugin.ModuleCompleteKey getModuleCompleteKey()
public com.atlassian.plugin.ModuleCompleteKey getReferencingModuleCompleteKey()
public Space getSpace()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |