Class PropertyEndpoint
java.lang.Object
com.maplander.backend.controller.endpoint.opi.PropertyEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannouncedProperty
(Long propertyId, Long userId, Integer startDate, Integer endDate) Deprecated.announcePropertyRequest
(Long propertyId, Long userId) void
deleteLeadsByProperty
(Property property) deletePFiles
(PFilesSet pFilesSet) deleteProperty
(Long id) Delete propertygetCompleteProperty
(javax.servlet.http.HttpServletRequest request, Long id) hideProperty
(Long propertyId) loadByPropertyAndType
(Long propertyId, PFileTypeEnum type) loadFilesByProperty
(Long propertyId) publishProperty
(Long propertyId) saveCompleteProperty
(CompleteProperty completeProperty) savePFiles
(PFilesSet pFilesSet) updateLeadStatus
(Long leadId)
-
Constructor Details
-
PropertyEndpoint
public PropertyEndpoint()
-
-
Method Details
-
announcedProperty
@Deprecated public DefaultResponse announcedProperty(Long propertyId, Long userId, Integer startDate, Integer endDate) Deprecated. -
saveCompleteProperty
-
deleteProperty
Delete property- Parameters:
id
- by property to be delete- Returns:
- DefaultResponse
HttpStatusCode.BAD_REQUEST
,HttpStatusCode.NOT_EXISTS
,HttpStatusCode.OK
,HttpStatusCode.INTERNAL_SERVER_ERROR
-
publishProperty
-
hideProperty
-
updateLeadStatus
-
deleteLeadsByProperty
-
savePFiles
-
deletePFiles
-
getCompleteProperty
public EntityResponse<CompleteProperty> getCompleteProperty(javax.servlet.http.HttpServletRequest request, Long id) -
loadByPropertyAndType
-
loadFilesByProperty
-
announcePropertyRequest
-