|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LayerProvider
Provides persistence-related methods at a given layer of the application.
| Field Summary | |
|---|---|
static int |
CORE_LAYER_PRIORITY
The priority of the core layers. |
| Method Summary | |
|---|---|
int |
getLayerPosition()
Returns the position of this layer relative to others. |
MemberTypeAdditions |
getMemberTypeAdditions(String callerMID,
String methodIdentifier,
org.springframework.roo.model.JavaType targetEntity,
org.springframework.roo.model.JavaType idType,
boolean autowire,
MethodParameter... methodParameters)
A layer provider should determine if it can provide MemberTypeAdditions for a given target entity and construct it
accordingly. |
MemberTypeAdditions |
getMemberTypeAdditions(String callerMID,
String methodIdentifier,
org.springframework.roo.model.JavaType targetEntity,
org.springframework.roo.model.JavaType idType,
MethodParameter... methodParameters)
A layer provider should determine if it can provide MemberTypeAdditions for a given target entity and construct it
accordingly. |
int |
getPriority()
Returns the priority of this layer relative to other implementations with the same position. |
| Field Detail |
|---|
static final int CORE_LAYER_PRIORITY
| Method Detail |
|---|
int getLayerPosition()
MemberTypeAdditions getMemberTypeAdditions(String callerMID,
String methodIdentifier,
org.springframework.roo.model.JavaType targetEntity,
org.springframework.roo.model.JavaType idType,
boolean autowire,
MethodParameter... methodParameters)
MemberTypeAdditions for a given target entity and construct it
accordingly. If it can not provide the requested functionality it should
simply return null;
callerMID - the caller's metadata IDmethodIdentifier - specifies the method which is being requestedtargetEntity - specifies the target entityidType - specifies the ID type used by the target entityautowire - specified where the addition should be autowired (if
applicable)methodParameters - parameters which are passed in to the method
MemberTypeAdditions if a layer provider can offer this
functionality, null otherwise
MemberTypeAdditions getMemberTypeAdditions(String callerMID,
String methodIdentifier,
org.springframework.roo.model.JavaType targetEntity,
org.springframework.roo.model.JavaType idType,
MethodParameter... methodParameters)
MemberTypeAdditions for a given target entity and construct it
accordingly. If it can not provide the requested functionality it should
simply return null;
callerMID - the caller's metadata IDmethodIdentifier - specifies the method which is being requestedtargetEntity - specifies the target entityidType - specifies the ID type used by the target entitymethodParameters - parameters which are passed in to the method
MemberTypeAdditions if a layer provider can offer this
functionality, null otherwiseint getPriority()
CORE_LAYER_PRIORITY in order to
take precedence over the core LayerProvidersgetLayerPosition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||