Class TagStatus
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.TagStatus
-
public class TagStatus extends Object
REST Model for that status of a single template tag
-
-
Field Summary
Fields Modifier and Type Field Description protected String
constructIcon
protected int
constructId
protected String
constructName
protected int
incompatible
protected int
inSync
protected int
missing
protected String
name
protected int
outOfSync
-
Constructor Summary
Constructors Constructor Description TagStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConstructIcon()
Construct iconint
getConstructId()
Construct IDString
getConstructName()
Construct nameint
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).int
getInSync()
Number of pages in sync with this template tagint
getMissing()
Number of pages, that do not have this tagString
getName()
Tag nameint
getOutOfSync()
Number of pages, that have the tag with a different construct ID (including incompatible pages)TagStatus
setConstructIcon(String constructIcon)
Set construct iconTagStatus
setConstructId(int constructId)
Set construct IDTagStatus
setConstructName(String constructName)
Set construct nameTagStatus
setIncompatible(int incompatible)
Set incompatible pagesTagStatus
setInSync(int inSync)
Set pages in syncTagStatus
setMissing(int missing)
Set pages missing the tagTagStatus
setName(String name)
Set nameTagStatus
setOutOfSync(int outOfSync)
Set pages out of syncString
toString()
-
-
-
Method Detail
-
getName
public String getName()
Tag name- Returns:
- name
-
getConstructId
public int getConstructId()
Construct ID- Returns:
- construct ID
-
getConstructName
public String getConstructName()
Construct name- Returns:
- construct name
-
getConstructIcon
public String getConstructIcon()
Construct icon- Returns:
- icon
-
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
-
setConstructId
public TagStatus setConstructId(int constructId)
Set construct ID- Parameters:
constructId
- construct ID- Returns:
- fluent API
-
setConstructName
public TagStatus setConstructName(String constructName)
Set construct name- Parameters:
constructName
- construct name- Returns:
- fluent API
-
setConstructIcon
public TagStatus setConstructIcon(String constructIcon)
Set construct icon- Parameters:
constructIcon
- construct icon- Returns:
- fluent API
-
setInSync
public TagStatus setInSync(int inSync)
Set pages in sync- Parameters:
inSync
- pages in sync- Returns:
- fluent API
-
setOutOfSync
public TagStatus setOutOfSync(int outOfSync)
Set pages out of sync- Parameters:
outOfSync
- pages out of sync- Returns:
- fluent API
-
setIncompatible
public TagStatus setIncompatible(int incompatible)
Set incompatible pages- Parameters:
incompatible
- incompatible pages- Returns:
- fluent API
-
setMissing
public TagStatus setMissing(int missing)
Set pages missing the tag- Parameters:
missing
- pages missing the tag- Returns:
- fluent API
-
-