|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ResourceTemplate> com.bea.content.cmis.rest.converters.ResourceTemplate
public enum ResourceTemplate
Resources which are used as templates need to follow these rules: One of the resource methods needs to be identified as the template resource method. This method's parameters will be used to generate the template (no class-field parameters are allowed). One parameter, with a @PathParam annotation starting with "repository..." (i.e. repositoryId or repositoryName) will be filled in with the repository name (or federated repo name). All other parameters annotated with @PathParam or @QueryParam will be used to generate template variables using the annotation value as the template variable.
Enum Constant Summary | |
---|---|
objectById
|
|
objectByPath
|
|
query
|
|
typeById
|
Method Summary | |
---|---|
String |
getMimeType()
|
String |
getTemplate(oracle.webcenter.jaxrs.framework.uri.UriService uriService,
String repoId)
|
String |
getType()
|
URI |
getUri(oracle.webcenter.jaxrs.framework.uri.UriService uriService,
String repoId,
Map<String,String> args)
|
static ResourceTemplate |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResourceTemplate[] |
values()
Returns an array containing the constants of this enum type, in the order theyre declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ResourceTemplate objectByPath
public static final ResourceTemplate objectById
public static final ResourceTemplate typeById
public static final ResourceTemplate query
Method Detail |
---|
public static final ResourceTemplate[] values()
public static ResourceTemplate valueOf(String name)
public String getType()
public String getMimeType()
public String getTemplate(oracle.webcenter.jaxrs.framework.uri.UriService uriService, String repoId)
public URI getUri(oracle.webcenter.jaxrs.framework.uri.UriService uriService, String repoId, Map<String,String> args)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |