org.springframework.roo.addon.dod
Interface DataOnDemandOperations

All Known Implementing Classes:
DataOnDemandOperationsImpl

public interface DataOnDemandOperations

Creates a new data-on-demand class for an entity.

Since:
1.1.3
Author:
Alan Stewart

Method Summary
 boolean isDataOnDemandInstallationPossible()
          Checks for the existence the META-INF/persistence.xml
 void newDod(org.springframework.roo.model.JavaType entity, org.springframework.roo.model.JavaType name)
          Creates a new data-on-demand (DoD) provider for the entity.
 

Method Detail

isDataOnDemandInstallationPossible

boolean isDataOnDemandInstallationPossible()
Checks for the existence the META-INF/persistence.xml

Returns:
true if the META-INF/persistence.xml exists, otherwise false

newDod

void newDod(org.springframework.roo.model.JavaType entity,
            org.springframework.roo.model.JavaType name)
Creates a new data-on-demand (DoD) provider for the entity. Silently returns if the DoD class already exists.

Parameters:
entity - to produce a DoD provider for (required)
name - the name of the new DoD class (required)


Copyright © 2009–2015. All rights reserved.