public interface RESTEncoding extends CentraSiteRegistryObject
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAllowedReserved() |
java.util.Collection<Category> |
getContentType()
Gets the request or response schema contents and its request or response content types that are defined for the media type object.
|
java.lang.String |
getExplode() |
java.util.Collection<RESTParameter> |
getHeaderParameters()
Gets the header parameters that are defined for the encoding object.
|
AbstractXMLService |
getService()
Gets the REST service.
|
java.lang.String |
getStyle() |
void |
setAllowedReserved(java.lang.String value) |
void |
setContentType(java.util.Collection<Category> contentTypes)
Sets the request or response schema content (as a plain text) along with its request or response content type information to the media type object.
|
void |
setExplode(java.lang.String value) |
void |
setHeaderParameters(java.util.Collection<RESTParameter> restParameters)
Sets list of parameters of type 'Header' which can be used in the encoding object.
|
void |
setService(AbstractXMLService service)
Sets the REST service .
|
void |
setStyle(java.lang.String style) |
getConsumedAssets, getConsumers, getDescription, getDescription, getDisplayVersion, getInitialVirtualAssetName, getLastModifiedTimeStamp, getLCMAssignment, getLocalName, getMandatoryAttributeProfiles, getName, getName, getNameSpace, getNextVersion, getNextVersions, getOrganization, getOwner, getPendingApprovals, getPreviousVersion, getPreviousVersions, getRegistryObject, getRelationShipValueMap, getRequestedUser, getSubscribers, getSystemVersion, getTitle, getType, getUserVersion, getVisiblePrimaryProfiles, getVisibleProfile, isDeployedOn, isLatestVersionObject, isPropagatePermissions, isPropagateProfilePermissions, removeConsumedAssets, removeConsumers, setDescription, setDescription, setDisplayVersion, setLCMState, setLocalName, setName, setName, setNameSpace, setOrganization, setOwner, setPropagatePermissions, setPropagateProfilePermissions, setRelationShipValueMap, setUserVersion
delete, getAttributeLink, getAttributeValue, getAttributeValue, getAttributeValue, getId, isModified, isPredefined, isReadOnly, save, setAttributeValue, setAttributeValue, setAttributeValue
java.util.Collection<RESTParameter> getHeaderParameters() throws CLLException
RESTParameter>
CLLException
- If an error occurs while fetching the parameters on the encoding object.void setHeaderParameters(java.util.Collection<RESTParameter> restParameters) throws CLLException
parameters
- The Collection
of RESTParameter
to be set for the encoding object.CLLException
- If an error occurs while setting the parameters on the encoding object.java.lang.String getStyle() throws CLLException
CLLException
void setStyle(java.lang.String style) throws CLLException
CLLException
java.lang.String getExplode() throws CLLException
CLLException
void setExplode(java.lang.String value) throws CLLException
CLLException
java.lang.String getAllowedReserved() throws CLLException
CLLException
void setAllowedReserved(java.lang.String value) throws CLLException
CLLException
void setContentType(java.util.Collection<Category> contentTypes) throws CLLException
contentTypes
- CLLException
- If error occurs while setting the request or response schema contents to media type object.java.util.Collection<Category> getContentType() throws CLLException
Category
CLLException
- If error occurs while fetching the request or response schema contents of the media type object.void setService(AbstractXMLService service)
service
- The AbstractXMLService
.AbstractXMLService getService()
AbstractXMLService
of the resource.