public class OperationResourceMetaData extends ResourceMetadata
ResourceMetadata.RESOURCE_TYPE
Constructor and Description |
---|
OperationResourceMetaData(String uniqueId,
Api api,
Set<Class<? extends ResourceAction>> apiDeleted,
boolean noAuthRequired)
Constructor to use when it has been deleted
|
OperationResourceMetaData(String uniqueId,
List<ResourceOperation> operations,
Api api,
Method operationMethod,
boolean noAuthRequired)
Use this constructor to create the resource metadata
|
Modifier and Type | Method and Description |
---|---|
Method |
getOperationMethod() |
boolean |
isNoAuth(Class<? extends ResourceAction> resourceAction)
Indicates if this resource action supports unauthenticated access.
|
String |
toString() |
getApi, getApiDeleted, getObjectType, getOperation, getOperations, getParentResource, getType, getUniqueId, isDeleted
public OperationResourceMetaData(String uniqueId, List<ResourceOperation> operations, Api api, Method operationMethod, boolean noAuthRequired)
uniqueId
- operations
- api
- operationMethod
- noAuthRequired
- public OperationResourceMetaData(String uniqueId, Api api, Set<Class<? extends ResourceAction>> apiDeleted, boolean noAuthRequired)
uniqueId
- api
- apiDeleted
- noAuthRequired
- public Method getOperationMethod()
public boolean isNoAuth(Class<? extends ResourceAction> resourceAction)
ResourceMetadata
isNoAuth
in class ResourceMetadata
public String toString()
toString
in class ResourceMetadata
Copyright © 2005–2017 Alfresco Software. All rights reserved.