public CMAContentType publish ( CMAContentType contentType ) { assertNotNull ( contentType , "contentType" ) ; final String contentTypeId = getResourceIdOrThrow ( contentType , "contentType" ) ; final String spaceId = getSpaceIdOrThrow ( contentType , "contentType" ) ; final String environmentId = contentType . getEnvironmentId ( ) ; return service . publish ( contentType . getVersion ( ) , spaceId , environmentId , contentTypeId ) . blockingFirst ( ) ; }
Publish a Content Type .