com.gentics.contentnode.rest.model.response
Class ChannelLocalizationInfo

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.ChannelLocalizationInfo
All Implemented Interfaces:
java.io.Serializable

public class ChannelLocalizationInfo
extends java.lang.Object
implements java.io.Serializable

REST Model class for localization info of a channel

See Also:
Serialized Form

Constructor Summary
ChannelLocalizationInfo()
          Create empty instance
 
Method Summary
 int getChannelId()
           
 LocalizationInfoItem getFile()
           
 LocalizationInfoItem getFolder()
           
 LocalizationInfoItem getImage()
           
 int getInherited()
           
 int getLocal()
           
 int getLocalized()
           
 LocalizationInfoItem getPage()
           
 LocalizationInfoItem getTemplate()
           
 void mergeWith(ChannelLocalizationInfo info)
          Merge this info with the given info
 void 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 updateTotalSums()
          Update the total sums
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelLocalizationInfo

public ChannelLocalizationInfo()
Create empty instance

Method Detail

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

public LocalizationInfoItem getFolder()
Returns:
the folder

setFolder

public void setFolder(LocalizationInfoItem folder)
Parameters:
folder - the folder to set

getPage

public LocalizationInfoItem getPage()
Returns:
the page

setPage

public void setPage(LocalizationInfoItem page)
Parameters:
page - the page to set

getImage

public LocalizationInfoItem getImage()
Returns:
the image

setImage

public void setImage(LocalizationInfoItem image)
Parameters:
image - the image to set

getFile

public LocalizationInfoItem getFile()
Returns:
the file

setFile

public void setFile(LocalizationInfoItem file)
Parameters:
file - the file to set

getTemplate

public LocalizationInfoItem getTemplate()
Returns:
the template

setTemplate

public void setTemplate(LocalizationInfoItem template)
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

public void mergeWith(ChannelLocalizationInfo info)
Merge this info with the given info

Parameters:
info - info


Copyright © 2015 Gentics Software GmbH. All Rights Reserved.