Class TagStatus
java.lang.Object
com.gentics.contentnode.rest.model.response.TagStatus
REST Model for that status of a single template tag
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Construct IDConstruct nameint
Number of pages, that have the tag with a different construct ID, which is not compatible with the construct ID (and therefore cannot be migrated automatically without possible losing data).int
Number of pages in sync with this template tagint
Number of pages, that do not have this taggetName()
Tag nameint
Number of pages, that have the tag with a different construct ID (including incompatible pages)setConstructId
(int constructId) Set construct IDsetConstructName
(String constructName) Set construct namesetIncompatible
(int incompatible) Set incompatible pagessetInSync
(int inSync) Set pages in syncsetMissing
(int missing) Set pages missing the tagSet namesetOutOfSync
(int outOfSync) Set pages out of synctoString()
-
Field Details
-
name
-
constructId
protected int constructId -
constructName
-
inSync
protected int inSync -
outOfSync
protected int outOfSync -
incompatible
protected int incompatible -
missing
protected int missing
-
-
Constructor Details
-
TagStatus
public TagStatus()
-
-
Method Details
-
getName
Tag name- Returns:
- name
-
getConstructId
public int getConstructId()Construct ID- Returns:
- construct ID
-
getConstructName
Construct name- Returns:
- construct name
-
getInSync
public int getInSync()Number of pages in sync with this template tag- Returns:
- pages in sync
-
getOutOfSync
public int getOutOfSync()Number of pages, that have the tag with a different construct ID (including incompatible pages)- Returns:
- pages out of sync
-
getIncompatible
public int getIncompatible()Number of pages, that have the tag with a different construct ID, which is not compatible with the construct ID (and therefore cannot be migrated automatically without possible losing data).- Returns:
- incompatible pages
-
getMissing
public int getMissing()Number of pages, that do not have this tag- Returns:
- pages missing the tag
-
setName
Set name- Parameters:
name
- name- Returns:
- fluent API
-
setConstructId
Set construct ID- Parameters:
constructId
- construct ID- Returns:
- fluent API
-
setConstructName
Set construct name- Parameters:
constructName
- construct name- Returns:
- fluent API
-
setInSync
Set pages in sync- Parameters:
inSync
- pages in sync- Returns:
- fluent API
-
setOutOfSync
Set pages out of sync- Parameters:
outOfSync
- pages out of sync- Returns:
- fluent API
-
setIncompatible
Set incompatible pages- Parameters:
incompatible
- incompatible pages- Returns:
- fluent API
-
setMissing
Set pages missing the tag- Parameters:
missing
- pages missing the tag- Returns:
- fluent API
-
toString
-