Package | Description |
---|---|
com.atlassian.confluence.themes | |
com.atlassian.confluence.themes.persistence | |
com.atlassian.confluence.themes.persistence.hibernate |
Modifier and Type | Method and Description |
---|---|
PersistentDecorator |
DefaultCustomLayoutManager.getPersistentDecorator(String spaceKey,
String decoratorName) |
PersistentDecorator |
CustomLayoutManager.getPersistentDecorator(String spaceKey,
String decoratorName)
Retrieves a custom decorator for the (spaceKey, name) combination.
|
Modifier and Type | Method and Description |
---|---|
Collection<PersistentDecorator> |
DefaultCustomLayoutManager.getApplicableCustomDecoratorsForSpace(String spaceKey) |
Collection<PersistentDecorator> |
CustomLayoutManager.getApplicableCustomDecoratorsForSpace(String spaceKey)
Returns allcustom decorators that apply to a space, whether they are space level or global level.
|
Collection<PersistentDecorator> |
DefaultCustomLayoutManager.getCustomGlobalDecorators() |
Collection<PersistentDecorator> |
CustomLayoutManager.getCustomGlobalDecorators()
Returns all global custom decorators (does not retrieve space level decorators)
|
Collection<PersistentDecorator> |
DefaultCustomLayoutManager.getCustomSpaceDecorators(String spaceKey) |
Collection<PersistentDecorator> |
CustomLayoutManager.getCustomSpaceDecorators(String spaceKey)
Returns all custom decorators defined for a specific space only (does not retrieve global decorators)
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultCustomLayoutManager.remove(PersistentDecorator persistentDecorator) |
void |
CustomLayoutManager.remove(PersistentDecorator persistentDecorator)
Removes the given custom decorator, and flushes it from the velocity cache
|
void |
DefaultCustomLayoutManager.saveOrUpdate(PersistentDecorator persistentDecorator) |
void |
CustomLayoutManager.saveOrUpdate(PersistentDecorator persistentDecorator)
Saves the given decorator (or updates it if it already exists), and updates the velocity cache
|
Modifier and Type | Method and Description |
---|---|
PersistentDecorator |
PersistentDecoratorDao.get(String spaceKey,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
PersistentDecoratorDao.remove(PersistentDecorator decorator) |
void |
PersistentDecoratorDao.saveOrUpdate(PersistentDecorator decorator) |
Modifier and Type | Method and Description |
---|---|
PersistentDecorator |
DefaultPersistentDecoratorDao.get(String spaceKey,
String name) |
PersistentDecorator |
DefaultPersistentDecoratorDao.getFromDB(String spaceKey,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPersistentDecoratorDao.remove(PersistentDecorator decorator) |
void |
DefaultPersistentDecoratorDao.saveOrUpdate(PersistentDecorator decorator)
If a decorator already exists with a certain space key and name, we should try to update it
(and not try to create a new one just because the body field is different)
(a composite key has not been used for space key and name because spacek key can be null)
|
Copyright © 2003–2016 Atlassian. All rights reserved.