public class TemplateHelper extends Object
| Constructor and Description |
|---|
TemplateHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
getAllLabels(BigInteger projectId) |
static org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider> |
getById(Object id) |
static org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider> |
getById(Object id,
String parentClazz) |
static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> |
getByNameAndProjectId(String name,
BigInteger projectId)
Search templates by name (exact search) under project (by id).
|
static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> |
getByParentNameAndProject(String parentName,
BigInteger projectId) |
static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> |
getByPieceOfNameAndProject(String name,
BigInteger projectId) |
static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> |
getByProjectId(BigInteger projectId) |
static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> |
getFirstPartByNameAndProjectId(String name,
BigInteger projectId)
Search templates by name (exact search) under project (by id).
|
static org.qubership.automation.itf.core.hibernate.spring.managers.base.ObjectManager<? extends org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> |
getManagerByParent(org.qubership.automation.itf.core.util.provider.TemplateProvider parent) |
static org.qubership.automation.itf.core.util.provider.TemplateProvider |
getParent(Object parentId) |
public static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> getByProjectId(BigInteger projectId)
public static org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider> getById(Object id)
public static org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider> getById(Object id, String parentClazz)
public static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> getByPieceOfNameAndProject(String name, BigInteger projectId)
public static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> getByNameAndProjectId(String name, BigInteger projectId)
name - - name of template to search,projectId - - id of project to search.public static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> getFirstPartByNameAndProjectId(String name, BigInteger projectId)
name - - name of template to search,projectId - - id of project to search.public static Collection<org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> getByParentNameAndProject(String parentName, BigInteger projectId)
public static org.qubership.automation.itf.core.util.provider.TemplateProvider getParent(Object parentId)
public static org.qubership.automation.itf.core.hibernate.spring.managers.base.ObjectManager<? extends org.qubership.automation.itf.core.model.jpa.message.template.Template<? extends org.qubership.automation.itf.core.util.provider.TemplateProvider>> getManagerByParent(org.qubership.automation.itf.core.util.provider.TemplateProvider parent)
public static Set<String> getAllLabels(BigInteger projectId)
Copyright © 2025. All rights reserved.