Package com.priint.pubserverapi.spread
Interface SpreadServiceLocal
public interface SpreadServiceLocal
Local interface for managing spreads.
This interface defines methods for creating queries, retrieving, creating, updating, and deleting spreads. It provides a contract for interacting with spread entities.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newSpreadQueryfor querying spreads.getSpreadById(SpreadId spreadId) Retrieves aSpreadQueryby its unique identifier.default Optional<SpreadPreview>getSpreadPreview(SpreadId spreadId) getSpreadsByDocumentId(DocumentId documentId) Retrieves a list ofSpreadobjects associated with a specific document.
-
Method Details
-
createSpreadQuery
SpreadQuery createSpreadQuery()Creates a newSpreadQueryfor querying spreads.- Returns:
- a new
SpreadQueryinstance
-
getSpreadById
Retrieves aSpreadQueryby its unique identifier. -
getSpreadsByDocumentId
Retrieves a list ofSpreadobjects associated with a specific document. -
getSpreadPreview
- Parameters:
spreadId- the identifier of theSpreadto preview- Returns:
- a
SpreadPreviewinstance containing preview data of the specifiedSpread
-