public interface WebMediaRepository extends org.youngmonkeys.ezyplatform.repo.MediaRepository, com.tvd12.ezydata.database.EzyDatabaseRepository<Long,org.youngmonkeys.ezyplatform.entity.Media>
| Modifier and Type | Method | Description |
|---|---|---|
long |
countByOwnerUserId(long userId) |
|
List<org.youngmonkeys.ezyplatform.entity.Media> |
findByIdGt(long userId,
long idExclusive,
com.tvd12.ezyfox.util.Next next) |
|
List<org.youngmonkeys.ezyplatform.entity.Media> |
findByIdLt(long userId,
long idExclusive,
com.tvd12.ezyfox.util.Next next) |
|
org.youngmonkeys.ezyplatform.entity.Media |
findByName(String name) |
|
List<org.youngmonkeys.ezyplatform.entity.Media> |
findFirsts(long userId,
com.tvd12.ezyfox.util.Next next) |
|
List<org.youngmonkeys.ezyplatform.entity.Media> |
findLasts(long userId,
com.tvd12.ezyfox.util.Next next) |
findAllMediaStatuses, findAllMediaTypes, findByNameOrOriginalName, findOwnerAdminIdById, findOwnerAdminIdByNameOrOriginalName, findOwnerUserIdById, findOwnerUserIdByNameOrOriginalNamecontainsById, findById, findByIdOptionalcontainsByField, findByField, findByFieldOptionalfindListByField, findListByField@EzyQuery(value="SELECT e FROM Media e WHERE e.name = ?0 AND e.publicMedia = true") org.youngmonkeys.ezyplatform.entity.Media findByName(String name)
@EzyQuery(value="SELECT e FROM Media e WHERE e.ownerUserId = ?0 AND e.publicMedia = true ORDER BY e.id desc") List<org.youngmonkeys.ezyplatform.entity.Media> findLasts(long userId, com.tvd12.ezyfox.util.Next next)
@EzyQuery(value="SELECT e FROM Media e WHERE e.ownerUserId = ?0 AND e.publicMedia = true AND e.id > ?1 ORDER BY e.id asc") List<org.youngmonkeys.ezyplatform.entity.Media> findByIdGt(long userId, long idExclusive, com.tvd12.ezyfox.util.Next next)
@EzyQuery(value="SELECT e FROM Media e WHERE e.ownerUserId = ?0 AND e.publicMedia = true ORDER BY e.id asc") List<org.youngmonkeys.ezyplatform.entity.Media> findFirsts(long userId, com.tvd12.ezyfox.util.Next next)
@EzyQuery(value="SELECT e FROM Media e WHERE e.ownerUserId = ?0 AND e.publicMedia = true AND e.id < ?1 ORDER BY e.id desc") List<org.youngmonkeys.ezyplatform.entity.Media> findByIdLt(long userId, long idExclusive, com.tvd12.ezyfox.util.Next next)
long countByOwnerUserId(long userId)
Copyright © 2026 Young Monkeys. All rights reserved.