public abstract class TemplateObjectManager<K extends TemplateProvider,T extends Template<K>> extends AbstractObjectManager<T,T> implements NativeManager<T>, LabeledObjectManager<T>, ByProject<T>, SearchByProjectIdManager<T>
AbstractObjectManager.RootRepositoryWrapper<T extends Storable>entityManager, myType, repository| Constructor and Description |
|---|
TemplateObjectManager(Class<T> clazz,
TemplateRepository<K,T> templateRepository,
StepRepository stepRepository,
OutboundTransportConfigurationRepository outboundTransportConfigurationRepository)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<UsageInfo> |
findUsages(Storable storable)
Find usages for the storable object.
|
List<Map<String,Object>> |
findUsagesOnOutboundDiameterConfiguration(Storable storable)
Find usages of storable (template) by Id in diamerer transport configurations
under Env/Outbounds sections of the project (by projectId).
|
Collection<T> |
getAllByProject(Object projectId) |
Set<String> |
getAllLabels(BigInteger projectId) |
Collection<T> |
getByLabel(String label) |
Collection<T> |
getByLabel(String label,
BigInteger projectId) |
List<T> |
getByNameAndProjectId(String name,
BigInteger projectId) |
Collection<T> |
getByProjectId(BigInteger projectId) |
Storable |
getChildByClass(T parent,
Class childrenClass,
Object... param) |
Collection<? extends Storable> |
getChildrenByClass(T parent,
Class childrenClass,
Object... param)
Find child transport configurations under template,
with extra condition on transport type (if given).
|
List<IdNamePair> |
getIdAndNameByProjectId(BigInteger projectId)
Get Templates List (ids and names only) for the project.
|
List<?> |
getReceiverSystemsFromCallChainSteps(Object chainId) |
void |
protectedOnRemove(T object) |
acceptsTo, additionalMoveActions, addToUsages, afterDelete, contains, copy, create, create, create, create, create, create, create, evict, findImportantChildren, flush, getAll, getAllByParentId, getAllByParentName, getById, getByName, getByNatureId, getByParentAndName, getByPieceOfName, getByProperties, move, onCreate, onRemove, onUpdate, protectedOnCreate, protectedOnUpdate, remove, replicate, setReplicationRole, store, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetByParentNameAndProject, getByPieceOfNameAndProjectacceptsTo, additionalMoveActions, contains, copy, create, create, create, create, create, create, create, evict, findImportantChildren, flush, getAll, getAllByParentId, getAllByParentName, getById, getByName, getByNatureId, getByParentAndName, getByPieceOfName, getByProperties, move, onCreate, onRemove, onUpdate, remove, replicate, setReplicationRole, store, updatepublic TemplateObjectManager(Class<T> clazz, TemplateRepository<K,T> templateRepository, StepRepository stepRepository, OutboundTransportConfigurationRepository outboundTransportConfigurationRepository)
public void protectedOnRemove(T object)
protectedOnRemove in class AbstractObjectManager<T extends Template<K>,T extends Template<K>>public Collection<UsageInfo> findUsages(Storable storable)
AbstractObjectManagerfindUsages in interface ObjectManager<T extends Template<K>>findUsages in class AbstractObjectManager<T extends Template<K>,T extends Template<K>>storable - Storable object to find usages, as a rule, checked before deletion.public List<Map<String,Object>> findUsagesOnOutboundDiameterConfiguration(Storable storable)
public Storable getChildByClass(T parent, Class childrenClass, Object... param)
getChildByClass in interface NativeManager<T extends Template<K>>public Collection<? extends Storable> getChildrenByClass(T parent, Class childrenClass, Object... param)
getChildrenByClass in interface NativeManager<T extends Template<K>>public Collection<T> getAllByProject(Object projectId)
getAllByProject in interface ByProject<T extends Template<K>>public Collection<T> getByLabel(String label)
getByLabel in interface LabeledObjectManager<T extends Template<K>>public Collection<T> getByLabel(String label, BigInteger projectId)
getByLabel in interface LabeledObjectManager<T extends Template<K>>public Set<String> getAllLabels(BigInteger projectId)
getAllLabels in interface LabeledObjectManager<T extends Template<K>>public List<?> getReceiverSystemsFromCallChainSteps(Object chainId)
getReceiverSystemsFromCallChainSteps in interface LabeledObjectManager<T extends Template<K>>public List<T> getByNameAndProjectId(String name, BigInteger projectId)
getByNameAndProjectId in interface ByProject<T extends Template<K>>public Collection<T> getByProjectId(BigInteger projectId)
getByProjectId in interface SearchByProjectIdManager<T extends Template<K>>public List<IdNamePair> getIdAndNameByProjectId(BigInteger projectId)
projectId - - project id,Copyright © 2025. All rights reserved.