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
-
Method Summary
Modifier and TypeMethodDescriptionint
getFile()
getImage()
int
int
getLocal()
int
getPage()
void
Merge this info with the given infovoid
setChannelId
(int channelId) void
setFile
(LocalizationInfoItem file) void
setFolder
(LocalizationInfoItem folder) void
setImage
(LocalizationInfoItem image) void
setInherited
(int inherited) void
setLocal
(int local) void
setLocalized
(int localized) void
setPage
(LocalizationInfoItem page) void
setTemplate
(LocalizationInfoItem template) protected void
Update 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
-