Class PropertyEndpoint
java.lang.Object
com.maplander.backend.controller.endpoint.fiabci.PropertyEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannouncedProperty
(Long propertyId, Long userId, Integer startDate, Integer endDate) Deprecated.announcePropertyRequest
(Long propertyId, Long userId) archiveProperty
(Long userId, Long id) assignProperties
(Long userId, ListIds properties) assignProperty
(Long userId, Long propertyId) deletePFiles
(PFilesSet pFilesSet) deletePFilesById
(FilesIds ids) deleteProperty
(Long userId, Long id) Delete propertygetCompleteProperty
(javax.servlet.http.HttpServletRequest request, WebSiteEnum webSite, DeviceTypeEnum device, Integer owner, Long id) getCompletePropertyBySku
(javax.servlet.http.HttpServletRequest request, WebSiteEnum webSite, DeviceTypeEnum device, Long officeId, String sku, Integer owner) getPropertyLite
(Long propertyId) Deprecated.getTotalsByOfficeId
(Long officeId) getTotalsByUserId
(Long userId) hideProperty
(Long userId, Long propertyId) listArchiveProperty
(Long officeId, Integer limit, String cursor) loadByPropertyAndType
(Long propertyId, PFileTypeEnum type) loadFilesByProperty
(Long propertyId) publishGlobalProperty
(Long propertyId, Long userId, boolean rov, boolean gmls) publishProperty
(Long propertyId, Long userId) saveCompleteProperty
(Long userId, CompleteProperty completeProperty) savePFiles
(PFilesSet pFilesSet) unArchiveProperty
(Long userId, Long id) 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
public EntityResponse<CompleteProperty> saveCompleteProperty(Long userId, CompleteProperty completeProperty) -
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
-
archiveProperty
-
unArchiveProperty
-
listArchiveProperty
public EntityCollectionResponse<Property> listArchiveProperty(Long officeId, Integer limit, String cursor) -
updateLeadStatus
-
savePFiles
-
deletePFiles
-
deletePFilesById
-
getCompletePropertyBySku
public EntityResponse<CompleteProperty> getCompletePropertyBySku(javax.servlet.http.HttpServletRequest request, WebSiteEnum webSite, DeviceTypeEnum device, Long officeId, String sku, Integer owner) -
getCompleteProperty
public EntityResponse<CompleteProperty> getCompleteProperty(javax.servlet.http.HttpServletRequest request, WebSiteEnum webSite, DeviceTypeEnum device, Integer owner, Long id) -
loadByPropertyAndType
-
loadFilesByProperty
-
announcePropertyRequest
-
assignProperty
-
assignProperties
-
getPropertyLite
Deprecated. -
publishGlobalProperty
public EntityResponse<Property> publishGlobalProperty(Long propertyId, Long userId, boolean rov, boolean gmls) -
getTotalsByOfficeId
-
getTotalsByUserId
-