public class ResourceMetadata
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceMetadata.RESOURCE_TYPE |
Constructor and Description |
---|
ResourceMetadata(java.lang.String uniqueId,
ResourceMetadata.RESOURCE_TYPE type,
java.util.List operations,
Api api,
java.util.Set apiDeleted,
java.lang.String parentResource) |
Modifier and Type | Method and Description |
---|---|
Api |
getApi() |
protected java.util.Set |
getApiDeleted() |
java.lang.Class |
getObjectType(org.springframework.http.HttpMethod supportedMethod)
Indicates if this resource can support the specified HTTPMethod
|
java.util.List |
getOperations() |
java.util.List |
getParameters(org.springframework.http.HttpMethod httpMethod)
Gets the parameters for the specified http method.
|
java.lang.String |
getParentResource() |
ResourceMetadata.RESOURCE_TYPE |
getType()
The type of this resource
|
java.lang.String |
getUniqueId()
URL uniqueId to the resource
|
boolean |
isDeleted(java.lang.Class resourceAction)
Indicates if this resource action is no longer supported.
|
boolean |
supports(org.springframework.http.HttpMethod supportedMethod)
Indicates if this resource can support the specified HTTPMethod
|
java.lang.String |
toString() |
public ResourceMetadata(java.lang.String uniqueId, ResourceMetadata.RESOURCE_TYPE type, java.util.List operations, Api api, java.util.Set apiDeleted, java.lang.String parentResource)
public boolean supports(org.springframework.http.HttpMethod supportedMethod)
supportedMethod
- public java.lang.Class getObjectType(org.springframework.http.HttpMethod supportedMethod)
supportedMethod
- public boolean isDeleted(java.lang.Class resourceAction)
resourceAction
- public java.lang.String getUniqueId()
public ResourceMetadata.RESOURCE_TYPE getType()
public Api getApi()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List getOperations()
protected java.util.Set getApiDeleted()
public java.lang.String getParentResource()
public java.util.List getParameters(org.springframework.http.HttpMethod httpMethod)
httpMethod
- Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.