Class ChannelLocalizationInfo
java.lang.Object
com.gentics.contentnode.rest.model.response.ChannelLocalizationInfo
- All Implemented Interfaces:
Serializable
REST Model class for localization info of a channel
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetFile()getImage()intintgetLocal()intgetPage()voidMerge this info with the given infovoidsetChannelId(int channelId) voidsetFile(LocalizationInfoItem file) voidsetFolder(LocalizationInfoItem folder) voidsetImage(LocalizationInfoItem image) voidsetInherited(int inherited) voidsetLocal(int local) voidsetLocalized(int localized) voidsetPage(LocalizationInfoItem page) voidsetTemplate(LocalizationInfoItem template) protected voidUpdate the total sums
-
Constructor Details
-
ChannelLocalizationInfo
public ChannelLocalizationInfo()Create empty instance
-
-
Method Details
-
updateTotalSums
protected void updateTotalSums()Update the total sums -
getChannelId
public int getChannelId()- Returns:
- the channelId
-
setChannelId
public void setChannelId(int channelId) - Parameters:
channelId- the channelId to set
-
getFolder
- Returns:
- the folder
-
setFolder
- Parameters:
folder- the folder to set
-
getPage
- Returns:
- the page
-
setPage
- Parameters:
page- the page to set
-
getImage
- Returns:
- the image
-
setImage
- Parameters:
image- the image to set
-
getFile
- Returns:
- the file
-
setFile
- Parameters:
file- the file to set
-
getTemplate
- Returns:
- the template
-
setTemplate
- Parameters:
template- the template to set
-
getInherited
public int getInherited()- Returns:
- the inherited
-
setInherited
public void setInherited(int inherited) - Parameters:
inherited- the inherited to set
-
getLocalized
public int getLocalized()- Returns:
- the localized
-
setLocalized
public void setLocalized(int localized) - Parameters:
localized- the localized to set
-
getLocal
public int getLocal()- Returns:
- the local
-
setLocal
public void setLocal(int local) - Parameters:
local- the local to set
-
mergeWith
Merge this info with the given info- Parameters:
info- info
-