public class SharePublishStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_LAST_PUBLISHED |
java.lang.String |
key |
long |
lastPublished |
Constructor and Description |
---|
SharePublishStatus() |
SharePublishStatus(SharePublishStatus o)
Copy constructor
|
SharePublishStatus(java.lang.String key) |
SharePublishStatus(java.lang.String key,
long lastPublished) |
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this SharePublishStatus.
|
static SharePublishStatus |
fromString(java.lang.String s)
String representation of this SharePublishStatus.
|
java.lang.String |
getKey()
The client identifier for the resource manager.
|
long |
getLastPublished()
The timestamp corresponding to the last client publication defined by the identifier.
|
SharePublishStatus |
makeCopy()
Creates and returns a deep copy of this SharePublishStatus.
|
static SharePublishStatus |
readFrom(java.io.InputStream is)
Read this SharePublishStatus from an XML fragment.
|
void |
setKey(java.lang.String key)
The client identifier for the resource manager.
|
void |
setLastPublished(long lastPublished)
The timestamp corresponding to the last client publication defined by the identifier.
|
java.lang.String |
toString()
String representation of this SharePublishStatus.
|
SharePublishStatus |
withKey(java.lang.String key) |
SharePublishStatus |
withLastPublished(long lastPublished) |
SharePublishStatus |
withLastPublished(java.lang.Long lastPublished) |
void |
writeTo(java.io.OutputStream os)
Write this SharePublishStatus as an XML fragment
|
public java.lang.String key
public long lastPublished
public static final long DEFAULT_LAST_PUBLISHED
public SharePublishStatus()
public SharePublishStatus(java.lang.String key)
public SharePublishStatus(java.lang.String key, long lastPublished)
public SharePublishStatus(SharePublishStatus o)
public void setKey(java.lang.String key)
public java.lang.String getKey()
public SharePublishStatus withKey(java.lang.String key)
public void setLastPublished(long lastPublished)
public long getLastPublished()
public SharePublishStatus withLastPublished(long lastPublished)
public SharePublishStatus withLastPublished(java.lang.Long lastPublished)
public SharePublishStatus makeCopy()
public static SharePublishStatus readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static SharePublishStatus fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.