Class OfficeDAO
java.lang.Object
com.maplander.backend.dao.BaseDAO
com.maplander.backend.dao.manage.OfficeDAO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidlist()static com.google.api.server.spi.response.CollectionResponse<Office> listByBrand(BrandTypeEnum brand, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Office> listByReference(Long officeId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Office> listByStatus(AccountStatusEnum statusEnum, Integer limit, String cursor, Long time) listByTargetParentId(Long targetParentId, MLSAccountTypeEnum type) static Officestatic OfficeloadByExternalId(String externalId, BrandTypeEnum brand) static OfficeloadByName(String name) static voidstatic voidsaveNotSafe(Office office) 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
-
OfficeDAO
public OfficeDAO()
-
-
Method Details
-
save
-
saveNotSafe
-
delete
-
load
-
load
-
listByBrand
public static com.google.api.server.spi.response.CollectionResponse<Office> listByBrand(BrandTypeEnum brand, Integer limit, String cursor, Long time) -
loadByExternalId
-
list
-
listByStatus
public static com.google.api.server.spi.response.CollectionResponse<Office> listByStatus(AccountStatusEnum statusEnum, Integer limit, String cursor, Long time) -
loadByName
-
listByReference
-
listByTargetParentId
-