Package com.caplin.datasource.interfaces
Interface DSStory
- All Superinterfaces:
DSData
,DSPacket
,DSSerializable
,Iterable<DSField>
Extends DSData
to provide helper methods for sending News Stories.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
This story text should be appended to any other story of the same name.static final int
This story text should clear and replace any other story of the same name, or create a new story if one doesn't already exist.Fields inherited from interface com.caplin.datasource.interfaces.DSData
CONTAINER_TYPE, F_AUTH_UPDATE, F_AUTHGLOBAL, F_CHANGEDFIELDS, F_CLEAR_PERMISSIONS, F_CLEAR_TYPE2, F_CLEAR_TYPE3, F_CREATEOBJECT, F_CREATEPARENT, F_DELETE_PERMISSION, F_FILTER_TYPE2, F_FILTER_TYPE3, F_IMAGE, F_NONACTIVE, GENERIC_TYPE, NEWS_TYPE, PAGE_TYPE, PERMISSION_TYPE, RECORD_TYPE, STORY_TYPE, TYPE2_RECORD_TYPE, TYPE3_RECORD_TYPE, UNKNOWN_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setStoryText
(String storyText) Set the text for this story.Methods inherited from interface com.caplin.datasource.interfaces.DSData
addBinaryData, addBinaryData, addBinaryData, addBinaryData, addBinaryData, addBinaryData, addBinaryData, addBinaryData, addData, addData, addData, addData, addData, addData, addData, addData, clearFields, count, elements, getFieldByFieldNumber, getFieldByFieldNumber, getFlags, getKeys, getSubject, getType, getValues, iterator, removeField, setFlags, setSubject, setType, updateData, updateData
Methods inherited from interface com.caplin.datasource.interfaces.DSPacket
send, sendDirect, sendToPeer
Methods inherited from interface com.caplin.datasource.interfaces.DSSerializable
toBytes
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
CLEAR
static final int CLEARThis story text should clear and replace any other story of the same name, or create a new story if one doesn't already exist.- See Also:
-
APPEND
static final int APPENDThis story text should be appended to any other story of the same name.- See Also:
-
-
Method Details
-
setStoryText
Set the text for this story.- Parameters:
storyText
- the String holding the text content of this story
-