Class ApprovalProcess

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

    public class ApprovalProcess
    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

      • ApprovalProcess

        public ApprovalProcess()
        Constructor
    • Method Detail

      • 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
      • getAllowRecall

        public boolean getAllowRecall()
      • isAllowRecall

        public boolean isAllowRecall()
      • setAllowRecall

        public void setAllowRecall​(boolean allowRecall)
      • setAllowRecall

        protected void setAllowRecall​(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
      • setAllowedSubmitters

        public void setAllowedSubmitters​(ApprovalSubmitter[] allowedSubmitters)
      • setAllowedSubmitters

        protected void setAllowedSubmitters​(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
      • setApprovalPageFields

        public void setApprovalPageFields​(ApprovalPageField approvalPageFields)
      • setApprovalPageFields

        protected void setApprovalPageFields​(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
      • setApprovalStep

        public void setApprovalStep​(ApprovalStep[] approvalStep)
      • setApprovalStep

        protected void setApprovalStep​(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
      • getEmailTemplate

        public java.lang.String getEmailTemplate()
      • setEmailTemplate

        public void setEmailTemplate​(java.lang.String emailTemplate)
      • setEmailTemplate

        protected void setEmailTemplate​(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
      • getEnableMobileDeviceAccess

        public boolean getEnableMobileDeviceAccess()
      • isEnableMobileDeviceAccess

        public boolean isEnableMobileDeviceAccess()
      • setEnableMobileDeviceAccess

        public void setEnableMobileDeviceAccess​(boolean enableMobileDeviceAccess)
      • setEnableMobileDeviceAccess

        protected void setEnableMobileDeviceAccess​(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
      • setEntryCriteria

        protected void setEntryCriteria​(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
      • getFinalApprovalActions

        public ApprovalAction getFinalApprovalActions()
      • setFinalApprovalActions

        public void setFinalApprovalActions​(ApprovalAction finalApprovalActions)
      • setFinalApprovalActions

        protected void setFinalApprovalActions​(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
      • getFinalApprovalRecordLock

        public boolean getFinalApprovalRecordLock()
      • isFinalApprovalRecordLock

        public boolean isFinalApprovalRecordLock()
      • setFinalApprovalRecordLock

        public void setFinalApprovalRecordLock​(boolean finalApprovalRecordLock)
      • setFinalApprovalRecordLock

        protected void setFinalApprovalRecordLock​(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
      • getFinalRejectionActions

        public ApprovalAction getFinalRejectionActions()
      • setFinalRejectionActions

        public void setFinalRejectionActions​(ApprovalAction finalRejectionActions)
      • setFinalRejectionActions

        protected void setFinalRejectionActions​(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
      • getFinalRejectionRecordLock

        public boolean getFinalRejectionRecordLock()
      • isFinalRejectionRecordLock

        public boolean isFinalRejectionRecordLock()
      • setFinalRejectionRecordLock

        public void setFinalRejectionRecordLock​(boolean finalRejectionRecordLock)
      • setFinalRejectionRecordLock

        protected void setFinalRejectionRecordLock​(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
      • getInitialSubmissionActions

        public ApprovalAction getInitialSubmissionActions()
      • setInitialSubmissionActions

        public void setInitialSubmissionActions​(ApprovalAction initialSubmissionActions)
      • setInitialSubmissionActions

        protected void setInitialSubmissionActions​(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
      • getLabel

        public java.lang.String getLabel()
      • setLabel

        public void setLabel​(java.lang.String label)
      • setLabel

        protected void setLabel​(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
      • setNextAutomatedApprover

        public void setNextAutomatedApprover​(NextAutomatedApprover nextAutomatedApprover)
      • setNextAutomatedApprover

        protected void setNextAutomatedApprover​(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
      • getPostTemplate

        public java.lang.String getPostTemplate()
      • setPostTemplate

        public void setPostTemplate​(java.lang.String postTemplate)
      • setPostTemplate

        protected void setPostTemplate​(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
      • setRecallActions

        public void setRecallActions​(ApprovalAction recallActions)
      • setRecallActions

        protected void setRecallActions​(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
      • setRecordEditability

        protected void setRecordEditability​(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
      • getShowApprovalHistory

        public boolean getShowApprovalHistory()
      • isShowApprovalHistory

        public boolean isShowApprovalHistory()
      • setShowApprovalHistory

        public void setShowApprovalHistory​(boolean showApprovalHistory)
      • setShowApprovalHistory

        protected void setShowApprovalHistory​(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