Package com.sforce.soap.metadata
Class ModerationRule
- java.lang.Object
-
- com.sforce.soap.metadata.Metadata
-
- com.sforce.soap.metadata.ModerationRule
-
-
Constructor Summary
Constructors Constructor Description ModerationRule()Constructor
-
Method Summary
-
Methods inherited from class com.sforce.soap.metadata.Metadata
getFullName, setFullName, setFullName
-
-
-
-
Method Detail
-
getAction
public ModerationRuleAction getAction()
-
setAction
public void setAction(ModerationRuleAction action)
-
setAction
protected void setAction(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getActionLimit
public int getActionLimit()
-
setActionLimit
public void setActionLimit(int actionLimit)
-
setActionLimit
protected void setActionLimit(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getActive
public boolean getActive()
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
setActive
protected void setActive(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
setDescription
protected void setDescription(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getEntitiesAndFields
public ModeratedEntityField[] getEntitiesAndFields()
-
setEntitiesAndFields
public void setEntitiesAndFields(ModeratedEntityField[] entitiesAndFields)
-
setEntitiesAndFields
protected void setEntitiesAndFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getMasterLabel
public String getMasterLabel()
-
setMasterLabel
public void setMasterLabel(String masterLabel)
-
setMasterLabel
protected void setMasterLabel(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getNotifyLimit
public int getNotifyLimit()
-
setNotifyLimit
public void setNotifyLimit(int notifyLimit)
-
setNotifyLimit
protected void setNotifyLimit(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getTimePeriod
public RateLimitTimePeriod getTimePeriod()
-
setTimePeriod
public void setTimePeriod(RateLimitTimePeriod timePeriod)
-
setTimePeriod
protected void setTimePeriod(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getType
public ModerationRuleType getType()
-
setType
public void setType(ModerationRuleType type)
-
setType
protected void setType(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getUserCriteria
public String[] getUserCriteria()
-
setUserCriteria
public void setUserCriteria(String[] userCriteria)
-
setUserCriteria
protected void setUserCriteria(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getUserMessage
public String getUserMessage()
-
setUserMessage
public void setUserMessage(String userMessage)
-
setUserMessage
protected void setUserMessage(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Specified by:
writein interfaceXMLizable- Overrides:
writein classMetadata- Throws:
IOException
-
writeFields
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Overrides:
writeFieldsin classMetadata- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Specified by:
loadin interfaceXMLizable- Overrides:
loadin classMetadata- Throws:
IOExceptionConnectionException
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Overrides:
loadFieldsin classMetadata- Throws:
IOExceptionConnectionException
-
-