Class XMLProjectLocaleUpdateModel


  • public class XMLProjectLocaleUpdateModel
    extends java.lang.Object
    Model for updating project metadata and data locales
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLcid2DataAdd​(java.lang.Integer lcid)
      Append lcid to be added to data languages
      void addLcid2DataRemove​(java.lang.Integer lcid)
      Append lcid to be removed from data languages
      void addLcid2MdAdd​(java.lang.Integer lcid)
      Append lcid to be added to metadata languages
      void addLcid2MdRemove​(java.lang.Integer lcid)
      Append lcid to be removed from metadata languages
      java.util.List<java.lang.Integer> getDataAdd()
      Getter for list of data locale ids to add
      java.util.List<java.lang.Integer> getDataRemove()
      Getter for a list of data locale ids to remove
      WebProjectLookup.LocalizationType getLocalizationType()
      Getter for current localization type
      java.util.List<java.lang.Integer> getMdAdd()
      Getter for list of metadata locale ids to add
      java.util.List<java.lang.Integer> getMdRemove()
      Getter for a list of metadata locale ids to remove
      java.lang.Integer getPrimaryData()
      Getter for primary data locale id to add
      java.lang.Integer getPrimaryMD()
      Getter for primary metadata locale id to add
      void setDataAdd​(java.util.List<java.lang.Integer> dataAdd)
      Setter for list of data locale ids to add
      void setDataRemove​(java.util.List<java.lang.Integer> dataRemove)
      Setter for a list of data locales to remove
      void setLocalizationType​(WebProjectLookup.LocalizationType localizationType)
      Setter for current localization type
      void setMdAdd​(java.util.List<java.lang.Integer> mdAdd)
      Setter for list of metadata locale ids to add
      void setMdRemove​(java.util.List<java.lang.Integer> mdRemove)
      Setter for a list of metadata locale ids to remove
      void setPrimaryData​(java.lang.Integer primaryData)
      Setter for primary data locale id to add
      void setPrimaryMD​(java.lang.Integer primaryMD)
      Setter for primary metadata locale id to add
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XMLProjectLocaleUpdateModel

        public XMLProjectLocaleUpdateModel()
    • Method Detail

      • setLocalizationType

        public void setLocalizationType​(WebProjectLookup.LocalizationType localizationType)
        Setter for current localization type
        Parameters:
        localizationType - localization type
      • getPrimaryMD

        public java.lang.Integer getPrimaryMD()
        Getter for primary metadata locale id to add
        Returns:
        locale id
      • setPrimaryMD

        public void setPrimaryMD​(java.lang.Integer primaryMD)
        Setter for primary metadata locale id to add
        Parameters:
        primaryMD - locale id
      • getPrimaryData

        public java.lang.Integer getPrimaryData()
        Getter for primary data locale id to add
        Returns:
        locale id
      • setPrimaryData

        public void setPrimaryData​(java.lang.Integer primaryData)
        Setter for primary data locale id to add
        Parameters:
        primaryData - locale id
      • getMdAdd

        public java.util.List<java.lang.Integer> getMdAdd()
        Getter for list of metadata locale ids to add
        Returns:
        list of locale ids
      • setMdAdd

        public void setMdAdd​(java.util.List<java.lang.Integer> mdAdd)
        Setter for list of metadata locale ids to add
        Parameters:
        mdAdd - list of locale ids
      • addLcid2MdAdd

        public void addLcid2MdAdd​(java.lang.Integer lcid)
        Append lcid to be added to metadata languages
        Parameters:
        lcid - lcid
      • getDataAdd

        public java.util.List<java.lang.Integer> getDataAdd()
        Getter for list of data locale ids to add
        Returns:
        list of locale ids
      • setDataAdd

        public void setDataAdd​(java.util.List<java.lang.Integer> dataAdd)
        Setter for list of data locale ids to add
        Parameters:
        dataAdd - list of locale ids
      • addLcid2DataAdd

        public void addLcid2DataAdd​(java.lang.Integer lcid)
        Append lcid to be added to data languages
        Parameters:
        lcid - lcid
      • getMdRemove

        public java.util.List<java.lang.Integer> getMdRemove()
        Getter for a list of metadata locale ids to remove
        Returns:
        list of locale ids
      • setMdRemove

        public void setMdRemove​(java.util.List<java.lang.Integer> mdRemove)
        Setter for a list of metadata locale ids to remove
        Parameters:
        mdRemove - list of locale ids
      • addLcid2MdRemove

        public void addLcid2MdRemove​(java.lang.Integer lcid)
        Append lcid to be removed from metadata languages
        Parameters:
        lcid - lcid
      • getDataRemove

        public java.util.List<java.lang.Integer> getDataRemove()
        Getter for a list of data locale ids to remove
        Returns:
        list of locale ids
      • setDataRemove

        public void setDataRemove​(java.util.List<java.lang.Integer> dataRemove)
        Setter for a list of data locales to remove
        Parameters:
        dataRemove - list of locale ids
      • addLcid2DataRemove

        public void addLcid2DataRemove​(java.lang.Integer lcid)
        Append lcid to be removed from data languages
        Parameters:
        lcid - lcid