public interface IExternalState extends IExternalStateHandle, IAuditable
Modifier and Type | Field and Description |
---|---|
static IItemType |
ITEM_TYPE
ExternalState item type.
|
static java.lang.String |
REPLICATED_STATE_PROPERTY
The replicated state property.
|
MERGE_PREDECESSOR_STATE_PROPERTY, PREDECESSOR_STATE_PROPERTY
CONTEXT_ID_PROPERTY, ITEM_ID_PROPERTY, MAX_LARGE_STRING_BYTES, MAX_MEDIUM_STRING_BYTES, MAX_SMALL_STRING_BYTES, MODIFIED_BY_PROPERTY, MODIFIED_PROPERTY, STATE_ID_PROPERTY
Modifier and Type | Method and Description |
---|---|
IContent |
decodeContentDescriptor(java.lang.String contentDescriptor)
Decode an encoded Content descriptor back to a Content object.
|
java.lang.String |
encodeContentDescriptor(IContent content)
Encode a Content descriptor into a String.
|
java.util.Map<java.lang.String,java.lang.Object> |
getState()
Return the state as a property map of name/value pairs.
|
void |
setState(java.util.Map<java.lang.String,?> state)
Set the state as a property name of name/value pairs.
|
getMergePredecessorState, getPredecessorState
isNewItem
getContextId, getItemHandle, getModifiedBy, getRedactedCopy, getRequestedModified, getRequestedStateId, getStateHandle, getWorkingCopy, hasHistory, isComplete, isPropertySet, isRedactedCopy, isWorkingCopy, modified, setContextId, setRequestedModified, setRequestedStateId
equals, getAdapter, getFullState, getItemId, getItemType, getOrigin, getStateId, hasFullState, hasStateId, isAuditable, isConfigurationAware, isImmutable, isSimple, isUnmanaged, makeImmutable, protect, sameItemId, sameStateId, size
static final IItemType ITEM_TYPE
static final java.lang.String REPLICATED_STATE_PROPERTY
java.util.Map<java.lang.String,java.lang.Object> getState()
void setState(java.util.Map<java.lang.String,?> state)
state
- the external state to set as a map of property
name/valuesjava.lang.String encodeContentDescriptor(IContent content)
Note: only binary or unspecified line delimiter content is supported;
that is, the line delimiter type must be set to
LINE_DELIMITER_NONE
content
- the Content object to encodeIContent decodeContentDescriptor(java.lang.String contentDescriptor)
contentDescriptor
- the encoded Content descriptor