Class PeopleOrPlacesHelper
java.lang.Object
com.ptc.qualitymanagement.qms.rest.PeopleOrPlacesHelper
Supports the Creation of PeopleOrPlaces REST Endpoints
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionMap<com.ptc.qualitymanagement.masterdata.entity.MDEntity, Collection<Object>> getRelatedEntityCollection(NavigationProcessorData processorData) Processes all collections for MDEntity
Supported API: truevoidoperationPostProcess(Object object, org.apache.olingo.commons.api.data.Entity entity, EntityProcessorData navData) Enforces business rules defined in mdEntity-rules.xml
Supported API: truecom.ptc.qualitymanagement.masterdata.entity.MDEntityoperationPreProcess(com.ptc.qualitymanagement.masterdata.entity.MDEntity mdEntity, org.apache.olingo.commons.api.data.Entity createdEntity, EntityProcessorData processorData, EntityObjectProcessor entityObjectProcessor) Populates default values for MDEntity.
-
Method Details
-
operationPreProcess
public com.ptc.qualitymanagement.masterdata.entity.MDEntity operationPreProcess(com.ptc.qualitymanagement.masterdata.entity.MDEntity mdEntity, org.apache.olingo.commons.api.data.Entity createdEntity, EntityProcessorData processorData, EntityObjectProcessor entityObjectProcessor) throws Exception Populates default values for MDEntity. Copies the Frist and Last Name for People into Name.
Supported API: true- Throws:
Exception
-
operationPostProcess
public void operationPostProcess(Object object, org.apache.olingo.commons.api.data.Entity entity, EntityProcessorData navData) throws org.apache.olingo.server.api.ODataApplicationException, WTException Enforces business rules defined in mdEntity-rules.xml
Supported API: true- Throws:
org.apache.olingo.server.api.ODataApplicationExceptionWTException
-