public class CrudRepositoryAnnotator extends Object
| Constructor and Description |
|---|
CrudRepositoryAnnotator(DataService dataService,
String newRepositoryName,
PermissionSystemService permissionSystemService,
UserAccountService userAccountService) |
| Modifier and Type | Method and Description |
|---|---|
Repository |
addAnnotatorMetadataToRepositories(EntityMetaData entityMetaData,
boolean createCopy,
DefaultAttributeMetaData compoundAttributeMetaData)
Adds a new compound attribute to an existing mysql CrudRepository which is part of the
#mysqlRepositoryCollection or an existing CrudRepository which is not part of
#mysqlRepositoryCollection. |
void |
annotate(List<RepositoryAnnotator> annotators,
Repository repo,
boolean createCopy) |
Repository |
annotate(RepositoryAnnotator annotator,
Repository sourceRepo,
boolean createCopy) |
public CrudRepositoryAnnotator(DataService dataService, String newRepositoryName, PermissionSystemService permissionSystemService, UserAccountService userAccountService)
public void annotate(List<RepositoryAnnotator> annotators, Repository repo, boolean createCopy) throws IOException
annotators - repo - createCopy - IOException@Transactional public Repository annotate(RepositoryAnnotator annotator, Repository sourceRepo, boolean createCopy) throws IOException
annotator - sourceRepo - createCopy - IOExceptionpublic Repository addAnnotatorMetadataToRepositories(EntityMetaData entityMetaData, boolean createCopy, DefaultAttributeMetaData compoundAttributeMetaData)
#mysqlRepositoryCollection or an existing CrudRepository which is not part of
#mysqlRepositoryCollection.entityMetaData - EntityMetaData for the existing repositorycreateCopy - compoundAttributeMetaData - Copyright © 2015. All Rights Reserved.