Class PropertyDAO
java.lang.Object
com.maplander.backend.dao.BaseDAO
com.maplander.backend.dao.manage.PropertyDAO
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidchangePropertyDummy(Long officeId, StatusTypeEnum status, boolean isDelete) static IntegercountProperty(Long officeId, StatusTypeEnum status) static IntegercountProperty(Long officeId, Integer limit, String cursor) static IntegercountPropertyByOfficeId(Long officeId, StatusTypeEnum status) static voidstatic voidstatic voiddeleteManyIds(List<Long> ids) static voiddeleteProperties(List<Property> properties) list()listByComId(Long comId) listByOfficeId(Long officeId, Integer limit) listByUserId(Long userId, Integer limit) listByUserIdAndComId(Long userId, Long comId) listByUserIdAndPrevUserIdAndComId(Long userId, Long prevUserId, Long comId) static com.google.api.server.spi.response.CollectionResponse<Property> listPropertyArchiveByOffice(Long officeId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Property> listPropertyByBrand(BrandTypeEnum brand, Integer limit, String cursor, Long time) listPropertyByOfficeId(Long userId) listPropertyByOfficeId(Long officeId, BrandTypeEnum brand, Integer limit) static com.google.api.server.spi.response.CollectionResponse<Property> listPropertyByOfficeId(Long officeId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Property> listPropertyByOfficeIdAndStatus(Long officeId, StatusTypeEnum status, Integer limit, String cursor, Long time) listPropertyByOfficeIdNotNow(Long officeId) static com.google.api.server.spi.response.CollectionResponse<Property> listPropertyByStatus(StatusTypeEnum status, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Property> ListPropertyByStatus(Long userId, StatusTypeEnum status, Integer limit, String cursor, Long time) listPropertyByUserId(Long userId, BrandTypeEnum brand, Integer limit) static com.google.api.server.spi.response.CollectionResponse<Property> listPropertyByUserId(Long userId, Integer limit, String cursor, Long time) static Propertystatic PropertyloadByExternalId(BrandTypeEnum brand, String externalId) static PropertyloadBySku(BrandTypeEnum brand, String sku) static Propertystatic booleanpropertyExist(Long userId) static booleanpropertyExistByOffice(Long officeId) static voidstatic voidsaveBoth_no_bq(Property property) static voidsaveBothAsynk(Property property) static voidsaveBothAsynk(Property property, CompleteProperty completeProperty) static intsizeByOfficeId(Long officeId) static intsizeByUserId(Long userId) Methods inherited from class com.maplander.backend.dao.BaseDAO
buildCollectionResponse, delete, delete, deleteMany, deleteMany, deleteManyNow, getOfy, list, load, load, load, queryDefault, save, saveMany, saveManyNow
-
Field Details
-
clazz
-
-
Constructor Details
-
PropertyDAO
public PropertyDAO()
-
-
Method Details
-
load
-
deleteManyIds
-
deleteProperties
-
saveBoth_no_bq
-
saveBoth
-
saveBothAsynk
-
saveBothAsynk
-
delete
-
deleteDAO
-
list
-
loadByExternalId
-
loadBySku
-
loadBySku
-
listByOfficeId
-
listByUserId
-
listByComId
-
sizeByOfficeId
-
sizeByUserId
-
listPropertyArchiveByOffice
-
listPropertyByBrand
public static com.google.api.server.spi.response.CollectionResponse<Property> listPropertyByBrand(BrandTypeEnum brand, Integer limit, String cursor, Long time) -
ListPropertyByStatus
-
listPropertyByOfficeId
-
listPropertyByOfficeId
-
listPropertyByUserId
-
listPropertyByOfficeIdNotNow
-
listPropertyByOfficeIdAndStatus
-
listPropertyByStatus
public static com.google.api.server.spi.response.CollectionResponse<Property> listPropertyByStatus(StatusTypeEnum status, Integer limit, String cursor, Long time) -
listPropertyByOfficeId
public static List<Property> listPropertyByOfficeId(Long officeId, BrandTypeEnum brand, Integer limit) -
listPropertyByUserId
-
countProperty
-
countProperty
-
countPropertyByOfficeId
-
propertyExist
-
propertyExistByOffice
-
listByUserIdAndComId
-
listByUserIdAndPrevUserIdAndComId
-
changePropertyDummy
-