Class ModerationRule

  • All Implemented Interfaces:
    com.sforce.ws.bind.XMLizable

    public class ModerationRule
    extends Metadata
    This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
    • Constructor Detail

      • ModerationRule

        public ModerationRule()
        Constructor
    • Method Detail

      • setAction

        protected void setAction​(com.sforce.ws.parser.XmlInputStream __in,
                                 com.sforce.ws.bind.TypeMapper __typeMapper)
                          throws java.io.IOException,
                                 com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getActionLimit

        public int getActionLimit()
      • setActionLimit

        public void setActionLimit​(int actionLimit)
      • setActionLimit

        protected void setActionLimit​(com.sforce.ws.parser.XmlInputStream __in,
                                      com.sforce.ws.bind.TypeMapper __typeMapper)
                               throws java.io.IOException,
                                      com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getActive

        public boolean getActive()
      • isActive

        public boolean isActive()
      • setActive

        public void setActive​(boolean active)
      • setActive

        protected void setActive​(com.sforce.ws.parser.XmlInputStream __in,
                                 com.sforce.ws.bind.TypeMapper __typeMapper)
                          throws java.io.IOException,
                                 com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • setDescription

        protected void setDescription​(com.sforce.ws.parser.XmlInputStream __in,
                                      com.sforce.ws.bind.TypeMapper __typeMapper)
                               throws java.io.IOException,
                                      com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • setEntitiesAndFields

        public void setEntitiesAndFields​(ModeratedEntityField[] entitiesAndFields)
      • setEntitiesAndFields

        protected void setEntitiesAndFields​(com.sforce.ws.parser.XmlInputStream __in,
                                            com.sforce.ws.bind.TypeMapper __typeMapper)
                                     throws java.io.IOException,
                                            com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getMasterLabel

        public java.lang.String getMasterLabel()
      • setMasterLabel

        public void setMasterLabel​(java.lang.String masterLabel)
      • setMasterLabel

        protected void setMasterLabel​(com.sforce.ws.parser.XmlInputStream __in,
                                      com.sforce.ws.bind.TypeMapper __typeMapper)
                               throws java.io.IOException,
                                      com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getNotifyLimit

        public int getNotifyLimit()
      • setNotifyLimit

        public void setNotifyLimit​(int notifyLimit)
      • setNotifyLimit

        protected void setNotifyLimit​(com.sforce.ws.parser.XmlInputStream __in,
                                      com.sforce.ws.bind.TypeMapper __typeMapper)
                               throws java.io.IOException,
                                      com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • setTimePeriod

        protected void setTimePeriod​(com.sforce.ws.parser.XmlInputStream __in,
                                     com.sforce.ws.bind.TypeMapper __typeMapper)
                              throws java.io.IOException,
                                     com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • setType

        protected void setType​(com.sforce.ws.parser.XmlInputStream __in,
                               com.sforce.ws.bind.TypeMapper __typeMapper)
                        throws java.io.IOException,
                               com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getUserCriteria

        public java.lang.String[] getUserCriteria()
      • setUserCriteria

        public void setUserCriteria​(java.lang.String[] userCriteria)
      • setUserCriteria

        protected void setUserCriteria​(com.sforce.ws.parser.XmlInputStream __in,
                                       com.sforce.ws.bind.TypeMapper __typeMapper)
                                throws java.io.IOException,
                                       com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • getUserMessage

        public java.lang.String getUserMessage()
      • setUserMessage

        public void setUserMessage​(java.lang.String userMessage)
      • setUserMessage

        protected void setUserMessage​(com.sforce.ws.parser.XmlInputStream __in,
                                      com.sforce.ws.bind.TypeMapper __typeMapper)
                               throws java.io.IOException,
                                      com.sforce.ws.ConnectionException
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • write

        public void write​(javax.xml.namespace.QName __element,
                          com.sforce.ws.parser.XmlOutputStream __out,
                          com.sforce.ws.bind.TypeMapper __typeMapper)
                   throws java.io.IOException
        Specified by:
        write in interface com.sforce.ws.bind.XMLizable
        Overrides:
        write in class Metadata
        Throws:
        java.io.IOException
      • writeFields

        protected void writeFields​(com.sforce.ws.parser.XmlOutputStream __out,
                                   com.sforce.ws.bind.TypeMapper __typeMapper)
                            throws java.io.IOException
        Overrides:
        writeFields in class Metadata
        Throws:
        java.io.IOException
      • load

        public void load​(com.sforce.ws.parser.XmlInputStream __in,
                         com.sforce.ws.bind.TypeMapper __typeMapper)
                  throws java.io.IOException,
                         com.sforce.ws.ConnectionException
        Specified by:
        load in interface com.sforce.ws.bind.XMLizable
        Overrides:
        load in class Metadata
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • loadFields

        protected void loadFields​(com.sforce.ws.parser.XmlInputStream __in,
                                  com.sforce.ws.bind.TypeMapper __typeMapper)
                           throws java.io.IOException,
                                  com.sforce.ws.ConnectionException
        Overrides:
        loadFields in class Metadata
        Throws:
        java.io.IOException
        com.sforce.ws.ConnectionException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Metadata