public class TranslationStatus extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TranslationStatus.Latest
Inner class to encapsulate the information about the latest version of the language variant
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
inSync
True when the page still is in sync (the given version timestamp points to the latest version of the other page)
|
protected String |
language
Language of the page, with which this page is in sync
|
protected TranslationStatus.Latest |
latestVersion
Latest version of the page with which this page is in sync
|
protected String |
name
name of the page
|
protected Integer |
pageId
Id of the page with which the page is in sync
|
protected String |
version
Version Number of the page version with which this page is in sync
|
protected Integer |
versionTimestamp
Version Timestamp of the page version, with which the page is in sync
|
Constructor and Description |
---|
TranslationStatus()
Constructor used by JAXB
|
Modifier and Type | Method and Description |
---|---|
String |
getLanguage()
Language of the synchronized version
|
TranslationStatus.Latest |
getLatestVersion()
Latest version information
|
String |
getName()
Page name of the page with which the given page is in sync
|
Integer |
getPageId()
Page id of the page with which the given page is in sync
|
String |
getVersion()
Version number of the page version, with which this page is in sync
|
Integer |
getVersionTimestamp()
Version timestamp of the synchronized version
|
boolean |
isInSync()
True when the page is in sync with the latest version of the other language variant, false if not
|
void |
setInSync(boolean inSync)
Set whether the page is in sync with the latest version of the other language variant
|
void |
setLanguage(String language)
Set the language of the synchronized version
|
void |
setLatestVersion(TranslationStatus.Latest latestVersion)
Set the latest version information
|
void |
setName(String name)
Set the page name of the page with which the given page is in sync
|
void |
setPageId(Integer pageId)
Set the page id of the page with which the given page is in sync
|
void |
setVersion(String version)
Set the version number of the page, with which this page is in sync
|
void |
setVersionTimestamp(Integer versionTimestamp)
Set the version timestamp of the synchronized version
|
protected Integer pageId
protected String name
protected Integer versionTimestamp
protected String language
protected boolean inSync
protected String version
protected TranslationStatus.Latest latestVersion
public Integer getPageId()
public void setPageId(Integer pageId)
pageId
- the pageId to setpublic String getName()
public void setName(String name)
name
- the name to be setpublic Integer getVersionTimestamp()
public void setVersionTimestamp(Integer versionTimestamp)
versionTimestamp
- the versionTimestamp to setpublic String getLanguage()
public void setLanguage(String language)
language
- the language to setpublic boolean isInSync()
public void setInSync(boolean inSync)
inSync
- the inSync status to setpublic String getVersion()
public void setVersion(String version)
version
- version numberpublic TranslationStatus.Latest getLatestVersion()
public void setLatestVersion(TranslationStatus.Latest latestVersion)
latestVersion
- the latestVersion to setCopyright © 2024 Gentics Software. All rights reserved.