CachingPersistentDecoratorDao
@Deprecated public class DefaultPersistentDecoratorDao extends org.springframework.orm.hibernate.support.HibernateDaoSupport implements PersistentDecoratorDao
Constructor and Description |
---|
DefaultPersistentDecoratorDao()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PersistentDecorator |
get(@Nullable String spaceKey,
String name)
Deprecated.
|
com.atlassian.cache.CacheFactory |
getCacheFactory()
Deprecated.
|
PersistentDecorator |
getFromDB(@Nullable String spaceKey,
String name)
Deprecated.
|
void |
remove(PersistentDecorator decorator)
Deprecated.
|
void |
saveOrUpdate(PersistentDecorator decorator)
Deprecated.
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)
|
void |
setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
Deprecated.
|
public void saveOrUpdate(PersistentDecorator decorator)
saveOrUpdate
in interface PersistentDecoratorDao
decorator
- public PersistentDecorator get(@Nullable String spaceKey, String name)
get
in interface PersistentDecoratorDao
public PersistentDecorator getFromDB(@Nullable String spaceKey, String name)
public void remove(PersistentDecorator decorator)
remove
in interface PersistentDecoratorDao
public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
public com.atlassian.cache.CacheFactory getCacheFactory()
Copyright © 2003–2023 Atlassian. All rights reserved.