@Component public class TechnoUseCases extends Object
| Constructor and Description |
|---|
TechnoUseCases(TechnoCommands commands,
TechnoQueries queries) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTemplate(TemplateContainer.Key technoKey,
Template template,
User user)
Crée la techno si elle n'existe pas.
|
TechnoView |
createWorkingCopyFrom(TemplateContainer.Key existingTechnoKey,
TemplateContainer.Key newTechnoKey,
User user) |
void |
deleteTechno(TemplateContainer.Key technoKey,
User user) |
void |
deleteTemplate(TemplateContainer.Key technoKey,
String templateName,
User user) |
List<AbstractPropertyView> |
getProperties(TemplateContainer.Key technoKey) |
Optional<TechnoView> |
getTechno(TemplateContainer.Key technoKey) |
Optional<TemplateView> |
getTemplate(TemplateContainer.Key technoKey,
String templateName) |
List<TemplateView> |
getTemplates(TemplateContainer.Key technoKey) |
TechnoView |
releaseTechno(TemplateContainer.Key existingTechnoKey,
User user) |
List<TechnoView> |
search(String input) |
void |
updateTemplateInWorkingCopy(TemplateContainer.Key technoKey,
Template template,
User user) |
@Autowired public TechnoUseCases(TechnoCommands commands, TechnoQueries queries)
public void addTemplate(TemplateContainer.Key technoKey, Template template, User user)
technoKey - template - user - public void deleteTechno(TemplateContainer.Key technoKey, User user)
public void updateTemplateInWorkingCopy(TemplateContainer.Key technoKey, Template template, User user)
public void deleteTemplate(TemplateContainer.Key technoKey, String templateName, User user)
public Optional<TemplateView> getTemplate(TemplateContainer.Key technoKey, String templateName)
public List<TemplateView> getTemplates(TemplateContainer.Key technoKey)
public TechnoView releaseTechno(TemplateContainer.Key existingTechnoKey, User user)
public Optional<TechnoView> getTechno(TemplateContainer.Key technoKey)
public List<TechnoView> search(String input)
public TechnoView createWorkingCopyFrom(TemplateContainer.Key existingTechnoKey, TemplateContainer.Key newTechnoKey, User user)
public List<AbstractPropertyView> getProperties(TemplateContainer.Key technoKey)
Copyright © 2016–2018 voyages-sncf-technologies. All rights reserved.