All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.savantly.sprout.module.content.model.contentItem.ContentItemRepository Maven / Gradle / Ivy

The newest version!
package net.savantly.sprout.module.content.model.contentItem;

import org.springframework.data.repository.query.Param;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import java.util.Set;
import net.savantly.sprout.core.domain.PersistedDomainObjectRepository;

@RepositoryRestResource(path="contentItems", collectionResourceRel="contentItems", itemResourceRel = "contentItem")
public interface ContentItemRepository extends PersistedDomainObjectRepository {

	public Set findAllByContentType_id(@Param("contentTypeId") String contentTypeId);
	ContentItemImpl findByName(@Param("name") String name);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy