Interface SpreadsServiceLocal
public interface SpreadsServiceLocal
Local interface for the Spreads service from the Planner API
-
Method Summary
Modifier and TypeMethodDescriptiongetSpreadById(Integer id) Returns the spread at the specified IDgetSpreadPreview(Integer spreadId, String type) Returns the spread preview for the specified spreadgetSpreads(String documentId) Returns spreads of the specified document
-
Method Details
-
getSpreadById
Returns the spread at the specified ID- Parameters:
id- spread ID- Returns:
- the spread
- Throws:
ServiceExceptionPubServerException- See Also:
-
getSpreads
Returns spreads of the specified document- Parameters:
documentId- document ID- Returns:
- the list os spreads
- Throws:
ServiceExceptionPubServerException- See Also:
-
getSpreadPreview
Returns the spread preview for the specified spread- Parameters:
spreadId- spread IDtype- type of spred preview: db - preview from database, dbpt - preview from database with the page tempalte, meta - preview from meta data file- Returns:
- the spread preview
- Throws:
ServiceExceptionPubServerException- See Also:
-