Class OfficeDAO

java.lang.Object
com.maplander.backend.dao.BaseDAO
com.maplander.backend.dao.manage.OfficeDAO

public class OfficeDAO extends BaseDAO
  • Field Details

  • Constructor Details

    • OfficeDAO

      public OfficeDAO()
  • Method Details

    • save

      public static void save(Office office)
    • saveNotSafe

      public static void saveNotSafe(Office office)
    • delete

      public static void delete(Long id)
    • load

      public static Office load(Long id)
    • load

      public static Map<Long,Office> load(List<Long> ids)
    • listByBrand

      public static com.google.api.server.spi.response.CollectionResponse<Office> listByBrand(BrandTypeEnum brand, Integer limit, String cursor, Long time)
    • loadByExternalId

      public static Office loadByExternalId(String externalId, BrandTypeEnum brand)
    • list

      public static List<Office> list()
    • listByStatus

      public static com.google.api.server.spi.response.CollectionResponse<Office> listByStatus(AccountStatusEnum statusEnum, Integer limit, String cursor, Long time)
    • listByType

      public static com.google.api.server.spi.response.CollectionResponse<Office> listByType(AccountTypeEnum typeEnum, Integer limit, String cursor, Long time)
    • loadByName

      public static Office loadByName(String name)
    • listByReference

      public static com.google.api.server.spi.response.CollectionResponse<Office> listByReference(Long officeId, Integer limit, String cursor, Long time)
    • listByTargetParentId

      public static List<Office> listByTargetParentId(Long targetParentId, MLSAccountTypeEnum type)
    • updateAllOfficesShowOfficeProperties

      public static void updateAllOfficesShowOfficeProperties()