@Component public class EntityManagerImpl extends com.marklogic.client.ext.helper.LoggingObject implements EntityManager
| Constructor and Description |
|---|
EntityManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteEntity(java.lang.String entity) |
boolean |
deployFinalQueryOptions() |
java.util.HashMap<java.lang.Enum,java.lang.Boolean> |
deployQueryOptions()
Deploys the query option
|
boolean |
deployStagingQueryOptions() |
java.util.List<HubEntity> |
getEntities() |
boolean |
saveDbIndexes()
Updates the indexes for the entity on the filesystem
|
HubEntity |
saveEntity(HubEntity entity,
java.lang.Boolean rename) |
boolean |
savePii()
Scans the entities in the project for pii properties, and saves the
required ELS configurations to support those properties.
|
boolean |
saveQueryOptions()
Updates the query options to the file system
|
public boolean saveQueryOptions()
EntityManagersaveQueryOptions in interface EntityManagerpublic java.util.HashMap<java.lang.Enum,java.lang.Boolean> deployQueryOptions()
EntityManagerdeployQueryOptions in interface EntityManagerpublic boolean deployFinalQueryOptions()
deployFinalQueryOptions in interface EntityManagerpublic boolean deployStagingQueryOptions()
deployStagingQueryOptions in interface EntityManagerpublic boolean saveDbIndexes()
EntityManagersaveDbIndexes in interface EntityManagerpublic java.util.List<HubEntity> getEntities()
getEntities in interface EntityManagerpublic HubEntity saveEntity(HubEntity entity, java.lang.Boolean rename) throws java.io.IOException
saveEntity in interface EntityManagerjava.io.IOExceptionpublic void deleteEntity(java.lang.String entity)
throws java.io.IOException
deleteEntity in interface EntityManagerjava.io.IOExceptionpublic boolean savePii()
EntityManagersavePii in interface EntityManager