|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicResource
This interface replaces Path annotation to declare a resource. It's impossible to declare resource using both DynamicResource interface and Path annotation.
In general it's recommended to extend from AbstractDynamicResource, instead of implementing the DynamicResource.
AbstractDynamicResource
,
Path
Method Summary | |
---|---|
java.lang.String |
getBeanName()
returns the name of the bean The bean name must be unique and usually should come from Spring. |
java.lang.String |
getCollectionTitle()
Returns the collection title. |
java.lang.Object |
getParent()
A parent of this resource, so the resulting path is a composition of the parent's path and this one. |
java.lang.String |
getPath()
Returns path. |
java.lang.String |
getWorkspaceTitle()
Returns the workspace title. |
void |
setBeanName(java.lang.String beanName)
sets bean name. |
void |
setParent(java.lang.Object parents)
Sets parents. |
Method Detail |
---|
java.lang.String getBeanName()
void setBeanName(java.lang.String beanName)
beanName
- java.lang.String getPath()
java.lang.Object getParent()
A parent of this resource, so the resulting path is a composition of the parent's path and this one.
Note that in comparison to the Parent annotation, the parent here must be reference to the resource and not class.
If method setParent was invoked, this method must return the same parent that was set.
Parent
void setParent(java.lang.Object parents)
Sets parents. See getParent() for full description.
parents
- java.lang.String getWorkspaceTitle()
Workspace
java.lang.String getCollectionTitle()
Workspace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |