Package com.flowable.content.rest
Class ContentRestUrls
java.lang.Object
com.flowable.content.rest.ContentRestUrls
public final class ContentRestUrls
extends java.lang.Object
- Author:
- Tijs Rademakers
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SEGMENT_CONTENT_ITEM_DATA
static java.lang.String
SEGMENT_CONTENT_ITEM_METADATA
static java.lang.String
SEGMENT_CONTENT_ITEMS_RESOURCE
static java.lang.String
SEGMENT_CONTENT_SERVICE_RESOURCES
static java.lang.String
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE
static java.lang.String
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT
static java.lang.String
SEGMENT_DEPLOYMENT_RESOURCE
static java.lang.String
SEGMENT_DOCUMENT_DEFINITION_RESOURCE
static java.lang.String
SEGMENT_QUERY_RESOURCE
static java.lang.String
SEGMENT_RENDITION
static java.lang.String
SEGMENT_RENDITION_ITEM_DATA
static java.lang.String
SEGMENT_RENDITION_ITEMS_RESOURCE
static java.lang.String
SEGMENT_RENDITION_SERVICE_RESOURCES
static java.lang.String
SEGMENT_REPOSITORY_RESOURCES
static java.lang.String
SEGMENT_VERSION_PARENT_ITEMS_RESOURCE
static java.lang.String[]
URL_CONTENT_ITEM
URL template for a single content item: /content-service/content-items/{0:contentId}static java.lang.String[]
URL_CONTENT_ITEM_COLLECTION
URL template for a content item collection: /content-service/content-itemsstatic java.lang.String[]
URL_CONTENT_ITEM_DATA
URL template for the data of a content item: /content-service/content-items/{0:contentId}/datastatic java.lang.String[]
URL_CONTENT_ITEM_METADATA
URL template for the data of a content item: /content-service/content-items/{0:contentId}/metadatastatic java.lang.String[]
URL_CONTENT_ITEM_METADATA_VALUE
URL template for the data of a content item: /content-service/content-items/{0:contentId}/metadata/{1:metadataName}static java.lang.String[]
URL_CONTENT_ITEM_RENDITION_DATA
URL template for the data of a rendition of a content item : /content-service/content-items/{0:contentItemId}/rendition/{1:renditionType}static java.lang.String[]
URL_DEPLOYMENT
URL template for a single deployment: /document-repository/deployments/{0:deploymentId}static java.lang.String[]
URL_DEPLOYMENT_COLLECTION
URL template for the deployment collection: document-repository/deploymentsstatic java.lang.String[]
URL_DEPLOYMENT_RESOURCE
URL template for a single deployment resource: document-repository/deployments/{0:deploymentId}/resources/{1}:resourceIdstatic java.lang.String[]
URL_DEPLOYMENT_RESOURCE_CONTENT
URL template for a single deployment resource content: document-repository/deployments /{0:deploymentId}/resourcedata/{1}:resourceIdstatic java.lang.String[]
URL_DEPLOYMENT_RESOURCES
URL template listing deployment resources: document-repository/deployments/{0:deploymentId}/resourcesstatic java.lang.String[]
URL_DOCUMENT_DEFINITION
URL template for a single document definition: document-repository/document-definitions/{0:documentDefinitionId}static java.lang.String[]
URL_DOCUMENT_DEFINITION_COLLECTION
URL template for the document definition collection: document-repository/document-definitionsstatic java.lang.String[]
URL_DOCUMENT_DEFINITION_RESOURCE_CONTENT
URL template for the resource of a single document definition: document-repository/document-definitions/{0:documentDefinitionId}/resourcedatastatic java.lang.String[]
URL_QUERY_CONTENT_ITEM
URL template for a content item query resource: /query/content-itemsstatic java.lang.String[]
URL_QUERY_RENDITION_ITEM
URL template for a rendition item query resource: /query/rendition-itemsstatic java.lang.String[]
URL_RENDITION_ITEM
URL template for a single content item: /rendition-service/rendition-items/{0:renditionItemId}static java.lang.String[]
URL_RENDITION_ITEM_COLLECTION
URL template for a rendition item collection: /rendition-service/rendition-itemsstatic java.lang.String[]
URL_RENDITION_ITEM_DATA
URL template for the data of a content item: /rendition-service/rendition-items/{0:renditionItemId}/datastatic java.lang.String[]
URL_VERSION_PARENT_ITEM
URL template for a single content item: /content-service/version-parent-items/{0:versionParentId}static java.lang.String[]
URL_VERSION_PARENT_ITEM_DATA
URL template for the data of a content item: /content-service/version-parent-items/{0:versionParentId}/datastatic java.lang.String[]
URL_VERSION_PARENT_ITEM_RENDITION_DATA
URL template for the data of a rendition of a content item : /content-service/version-parent-items/{0:versionParentId}/rendition/{1:renditionType} -
Method Summary
Modifier and Type Method Description static java.lang.String
createRelativeResourceUrl(java.lang.String[] segments, java.lang.Object... arguments)
Creates an url based on the passed fragments and replaces any placeholders with the given arguments.
-
Field Details
-
SEGMENT_REPOSITORY_RESOURCES
public static final java.lang.String SEGMENT_REPOSITORY_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_CONTENT_SERVICE_RESOURCES
public static final java.lang.String SEGMENT_CONTENT_SERVICE_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_RESOURCE
public static final java.lang.String SEGMENT_DEPLOYMENT_RESOURCE- See Also:
- Constant Field Values
-
SEGMENT_DOCUMENT_DEFINITION_RESOURCE
public static final java.lang.String SEGMENT_DOCUMENT_DEFINITION_RESOURCE- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE
public static final java.lang.String SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT
public static final java.lang.String SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT- See Also:
- Constant Field Values
-
SEGMENT_CONTENT_ITEMS_RESOURCE
public static final java.lang.String SEGMENT_CONTENT_ITEMS_RESOURCE- See Also:
- Constant Field Values
-
SEGMENT_VERSION_PARENT_ITEMS_RESOURCE
public static final java.lang.String SEGMENT_VERSION_PARENT_ITEMS_RESOURCE- See Also:
- Constant Field Values
-
SEGMENT_QUERY_RESOURCE
public static final java.lang.String SEGMENT_QUERY_RESOURCE- See Also:
- Constant Field Values
-
SEGMENT_CONTENT_ITEM_DATA
public static final java.lang.String SEGMENT_CONTENT_ITEM_DATA- See Also:
- Constant Field Values
-
SEGMENT_CONTENT_ITEM_METADATA
public static final java.lang.String SEGMENT_CONTENT_ITEM_METADATA- See Also:
- Constant Field Values
-
SEGMENT_RENDITION_SERVICE_RESOURCES
public static final java.lang.String SEGMENT_RENDITION_SERVICE_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_RENDITION_ITEMS_RESOURCE
public static final java.lang.String SEGMENT_RENDITION_ITEMS_RESOURCE- See Also:
- Constant Field Values
-
SEGMENT_RENDITION_ITEM_DATA
public static final java.lang.String SEGMENT_RENDITION_ITEM_DATA- See Also:
- Constant Field Values
-
SEGMENT_RENDITION
public static final java.lang.String SEGMENT_RENDITION- See Also:
- Constant Field Values
-
URL_DEPLOYMENT_COLLECTION
public static final java.lang.String[] URL_DEPLOYMENT_COLLECTIONURL template for the deployment collection: document-repository/deployments -
URL_DEPLOYMENT
public static final java.lang.String[] URL_DEPLOYMENTURL template for a single deployment: /document-repository/deployments/{0:deploymentId} -
URL_DEPLOYMENT_RESOURCES
public static final java.lang.String[] URL_DEPLOYMENT_RESOURCESURL template listing deployment resources: document-repository/deployments/{0:deploymentId}/resources -
URL_DEPLOYMENT_RESOURCE
public static final java.lang.String[] URL_DEPLOYMENT_RESOURCEURL template for a single deployment resource: document-repository/deployments/{0:deploymentId}/resources/{1}:resourceId -
URL_DEPLOYMENT_RESOURCE_CONTENT
public static final java.lang.String[] URL_DEPLOYMENT_RESOURCE_CONTENTURL template for a single deployment resource content: document-repository/deployments /{0:deploymentId}/resourcedata/{1}:resourceId -
URL_DOCUMENT_DEFINITION_COLLECTION
public static final java.lang.String[] URL_DOCUMENT_DEFINITION_COLLECTIONURL template for the document definition collection: document-repository/document-definitions -
URL_DOCUMENT_DEFINITION
public static final java.lang.String[] URL_DOCUMENT_DEFINITIONURL template for a single document definition: document-repository/document-definitions/{0:documentDefinitionId} -
URL_DOCUMENT_DEFINITION_RESOURCE_CONTENT
public static final java.lang.String[] URL_DOCUMENT_DEFINITION_RESOURCE_CONTENTURL template for the resource of a single document definition: document-repository/document-definitions/{0:documentDefinitionId}/resourcedata -
URL_CONTENT_ITEM_COLLECTION
public static final java.lang.String[] URL_CONTENT_ITEM_COLLECTIONURL template for a content item collection: /content-service/content-items -
URL_CONTENT_ITEM
public static final java.lang.String[] URL_CONTENT_ITEMURL template for a single content item: /content-service/content-items/{0:contentId} -
URL_CONTENT_ITEM_DATA
public static final java.lang.String[] URL_CONTENT_ITEM_DATAURL template for the data of a content item: /content-service/content-items/{0:contentId}/data -
URL_CONTENT_ITEM_METADATA
public static final java.lang.String[] URL_CONTENT_ITEM_METADATAURL template for the data of a content item: /content-service/content-items/{0:contentId}/metadata -
URL_CONTENT_ITEM_METADATA_VALUE
public static final java.lang.String[] URL_CONTENT_ITEM_METADATA_VALUEURL template for the data of a content item: /content-service/content-items/{0:contentId}/metadata/{1:metadataName} -
URL_VERSION_PARENT_ITEM
public static final java.lang.String[] URL_VERSION_PARENT_ITEMURL template for a single content item: /content-service/version-parent-items/{0:versionParentId} -
URL_VERSION_PARENT_ITEM_DATA
public static final java.lang.String[] URL_VERSION_PARENT_ITEM_DATAURL template for the data of a content item: /content-service/version-parent-items/{0:versionParentId}/data -
URL_QUERY_CONTENT_ITEM
public static final java.lang.String[] URL_QUERY_CONTENT_ITEMURL template for a content item query resource: /query/content-items -
URL_RENDITION_ITEM_COLLECTION
public static final java.lang.String[] URL_RENDITION_ITEM_COLLECTIONURL template for a rendition item collection: /rendition-service/rendition-items -
URL_RENDITION_ITEM
public static final java.lang.String[] URL_RENDITION_ITEMURL template for a single content item: /rendition-service/rendition-items/{0:renditionItemId} -
URL_RENDITION_ITEM_DATA
public static final java.lang.String[] URL_RENDITION_ITEM_DATAURL template for the data of a content item: /rendition-service/rendition-items/{0:renditionItemId}/data -
URL_QUERY_RENDITION_ITEM
public static final java.lang.String[] URL_QUERY_RENDITION_ITEMURL template for a rendition item query resource: /query/rendition-items -
URL_CONTENT_ITEM_RENDITION_DATA
public static final java.lang.String[] URL_CONTENT_ITEM_RENDITION_DATAURL template for the data of a rendition of a content item : /content-service/content-items/{0:contentItemId}/rendition/{1:renditionType} -
URL_VERSION_PARENT_ITEM_RENDITION_DATA
public static final java.lang.String[] URL_VERSION_PARENT_ITEM_RENDITION_DATAURL template for the data of a rendition of a content item : /content-service/version-parent-items/{0:versionParentId}/rendition/{1:renditionType}
-
-
Method Details
-
createRelativeResourceUrl
public static final java.lang.String createRelativeResourceUrl(java.lang.String[] segments, java.lang.Object... arguments)Creates an url based on the passed fragments and replaces any placeholders with the given arguments. The placeholders are following theMessageFormat
convention (eg. {0} is replaced by first argument value).
-