Interface MongoDBMenuItemDAO
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<MenuItem,String>,MenuItemDAO,org.springframework.data.mongodb.repository.MongoRepository<MenuItem,String>,org.springframework.data.repository.PagingAndSortingRepository<MenuItem,String>,org.springframework.data.repository.query.QueryByExampleExecutor<MenuItem>,org.springframework.data.repository.Repository<MenuItem,String>
public interface MongoDBMenuItemDAO extends MenuItemDAO, org.springframework.data.mongodb.repository.MongoRepository<MenuItem,String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String id)voiddeleteAll()List<MenuItem>findAll()MenuItemfindById(String Id)List<MenuItem>findByParentItemId(String parentId)List<MenuItem>findByParentItemIdAndPortalPid(String parentId, String portalPid)List<MenuItem>findByPortalPid(String portalPid)MenuItemsave(MenuItem menuItem)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, delete, exists, findAll, findOne
-
Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, findAll, insert, insert, save
-
-
-
-
Method Detail
-
findByParentItemId
List<MenuItem> findByParentItemId(String parentId)
- Specified by:
findByParentItemIdin interfaceMenuItemDAO
-
findById
MenuItem findById(String Id)
- Specified by:
findByIdin interfaceMenuItemDAO
-
findByPortalPid
List<MenuItem> findByPortalPid(String portalPid)
- Specified by:
findByPortalPidin interfaceMenuItemDAO
-
findByParentItemIdAndPortalPid
List<MenuItem> findByParentItemIdAndPortalPid(String parentId, String portalPid)
- Specified by:
findByParentItemIdAndPortalPidin interfaceMenuItemDAO
-
save
MenuItem save(MenuItem menuItem)
- Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<MenuItem,String>- Specified by:
savein interfaceMenuItemDAO
-
deleteAll
void deleteAll()
- Specified by:
deleteAllin interfaceorg.springframework.data.repository.CrudRepository<MenuItem,String>- Specified by:
deleteAllin interfaceMenuItemDAO
-
delete
void delete(String id)
- Specified by:
deletein interfaceorg.springframework.data.repository.CrudRepository<MenuItem,String>- Specified by:
deletein interfaceMenuItemDAO
-
-