@Path(value="/objectproperty")
public interface ObjectPropertyResource
Modifier and Type | Method and Description |
---|---|
ObjectPropertyLoadResponse |
create(ObjectProperty objectProperty)
Create a new construct category.
|
ObjectPropertyCategoryLoadResponse |
createCategory(ObjectPropertyCategory category)
Create a new object property category
|
GenericResponse |
delete(String objectPropertyId)
Delete the object property by its ID
|
GenericResponse |
deleteCategory(String objectPropertyCategoryId)
Delete the object property category by its ID
|
ObjectPropertyLoadResponse |
get(String objectPropertyId)
Load the object property by its ID
|
ObjectPropertyCategoryLoadResponse |
getCategory(String categoryId)
Load the object property category by its ID
|
ImplementationHashResponse |
implementationHash(String id)
Get the implementation hash for an object property
|
GenericResponse |
link(BulkLinkUpdateRequest request)
Link a set of object property definitions to the selected nodes
|
ObjectPropertyListResponse |
list(SortParameterBean sorting,
FilterParameterBean filter,
PagingParameterBean paging,
ObjectPropertyParameterBean typeFilter,
EmbedParameterBean embed)
List object properties.
The result can be filtered by id
globalId
name
description
keyword
and sorted by
id
globalId
name
description
keyword
type
required
inheritable
syncContentset
syncChannelset
syncVariants
construct.name
category.name
|
ObjectPropertyCategoryListResponse |
listCategories(SortParameterBean sorting,
FilterParameterBean filter,
PagingParameterBean paging,
EmbedParameterBean embed)
List all object property categories.
The result can be filtered by id
globalId
name
sortOrder
and sorted by
id
globalId
name
sortOrder
|
ConstructListResponse |
listObjectPropertyConstructs(String objectPropertyId)
Return a list of constructs, utilizing the given Object Property
|
NodeList |
listObjectPropertyNodes(String objectPropertyId)
Return a list of nodes, linked to the the given Object Property
|
GenericResponse |
unlink(BulkLinkUpdateRequest request)
Unlink a set of object property definitions from the selected nodes
|
ObjectPropertyLoadResponse |
update(String objectPropertyId,
ObjectProperty objectProperty)
Edit the object property by its ID
|
ObjectPropertyCategoryLoadResponse |
updateCategory(String objectPropertyCategoryId,
ObjectPropertyCategory category)
Edit the object property category by its ID
|
@GET ObjectPropertyListResponse list(@BeanParam SortParameterBean sorting, @BeanParam FilterParameterBean filter, @BeanParam PagingParameterBean paging, @BeanParam ObjectPropertyParameterBean typeFilter, @BeanParam EmbedParameterBean embed) throws Exception
id
globalId
name
description
keyword
id
globalId
name
description
keyword
type
required
inheritable
syncContentset
syncChannelset
syncVariants
construct.name
category.name
sorting
- sort parametersfilter
- filter parameterpaging
- paging parameterstypeFilter
- type filter parametersembed
- embed parametersException
@POST ObjectPropertyLoadResponse create(ObjectProperty objectProperty) throws Exception
If any of the following requirements are not met, the operation will fail with a 400 Bad Request status code:
keyword
field is missing or emptykeyword
field contains characters other than letters (A-Z and a-z), digits (0-9), minus ('-') and underscore ('_')type
field is missingobjectProperty
- new object property REST modelException
@GET @Path(value="{id}") ObjectPropertyLoadResponse get(@PathParam(value="id") String objectPropertyId) throws Exception
objectPropertyId
- object property IDException
@GET @Path(value="/{id}/hash") ImplementationHashResponse implementationHash(@PathParam(value="id") String id) throws Exception
id
- object property IDException
@PUT @Path(value="{id}") ObjectPropertyLoadResponse update(@PathParam(value="id") String objectPropertyId, ObjectProperty objectProperty) throws Exception
objectPropertyId
- object property IDException
@DELETE @Path(value="{id}") GenericResponse delete(@PathParam(value="id") String objectPropertyId) throws Exception
objectPropertyId
- object property IDException
@POST @Path(value="/category") ObjectPropertyCategoryLoadResponse createCategory(ObjectPropertyCategory category) throws Exception
category
- new category REST modelException
@GET @Path(value="/category/{id}") ObjectPropertyCategoryLoadResponse getCategory(@PathParam(value="id") String categoryId) throws Exception
categoryId
- category IDException
@PUT @Path(value="/category/{id}") ObjectPropertyCategoryLoadResponse updateCategory(@PathParam(value="id") String objectPropertyCategoryId, ObjectPropertyCategory category) throws Exception
objectPropertyCategoryId
- category IDException
@DELETE @Path(value="/category/{id}") GenericResponse deleteCategory(@PathParam(value="id") String objectPropertyCategoryId) throws Exception
objectPropertyCategoryId
- category IDException
@GET @Path(value="/category") ObjectPropertyCategoryListResponse listCategories(@BeanParam SortParameterBean sorting, @BeanParam FilterParameterBean filter, @BeanParam PagingParameterBean paging, @BeanParam EmbedParameterBean embed) throws Exception
id
globalId
name
sortOrder
id
globalId
name
sortOrder
Exception
@POST @Path(value="/link/nodes") GenericResponse link(BulkLinkUpdateRequest request) throws Exception
request
- POST body with source + target IDsException
@POST @Path(value="/unlink/nodes") GenericResponse unlink(BulkLinkUpdateRequest request) throws Exception
request
- POST body with source + target IDsException
@GET @Path(value="/{id}/constructs") ConstructListResponse listObjectPropertyConstructs(@PathParam(value="id") String objectPropertyId) throws Exception
objectPropertyId
- Exception
Copyright © 2024 Gentics Software. All rights reserved.