public class ItemShape
extends java.lang.Object
| Constructor and Description |
|---|
ItemShape()
Initializes a new instance of the ItemShape class.
|
ItemShape(java.util.List<PropertyPath> propertyPaths)
Initializes a new instance of the ItemShape class.
|
ItemShape(java.util.List<PropertyPath> propertyPaths,
BodyType bodyType)
Instantiates a new item shape.
|
ItemShape(java.util.List<PropertyPath> propertyPaths,
boolean includeMimeContent)
Initializes a new instance of the ItemShape class.
|
ItemShape(java.util.List<PropertyPath> propertyPaths,
boolean includeMimeContent,
BodyType bodyType)
Initializes a new instance of the ItemShape class.
|
ItemShape(ShapeType type)
Initializes a new instance of the ItemShape class.
|
ItemShape(ShapeType type,
BodyType bodyType)
Initializes a new instance of the ItemShape class.
|
ItemShape(ShapeType type,
boolean includeMimeContent)
Initializes a new instance of the ItemShape class.
|
ItemShape(ShapeType type,
boolean includeMimeContent,
BodyType bodyType)
Initializes a new instance of the ItemShape class.
|
ItemShape(ShapeType type,
java.util.List<PropertyPath> propertyPaths)
Initializes a new instance of the ItemShape class.
|
ItemShape(ShapeType type,
java.util.List<PropertyPath> propertyPaths,
BodyType bodyType)
Initializes a new instance of the ItemShape class.
|
ItemShape(ShapeType type,
java.util.List<PropertyPath> propertyPaths,
boolean includeMimeContent)
Initializes a new instance of the ItemShape class.
|
ItemShape(ShapeType type,
java.util.List<PropertyPath> propertyPaths,
boolean includeMimeContent,
BodyType bodyType)
Initializes a new instance of the ItemShape class.
|
| Modifier and Type | Method and Description |
|---|---|
BodyType |
getBodyType()
Gets how the body text is formatted in the response.
|
boolean |
getIncludeMimeContent()
Gets whether the Multipurpose Internet Mail Extensions (MIME) content of an item is returned in the response.
|
java.lang.String |
getInlineImageUrlTemplate()
Gets the inline image url template.
|
int |
getMaximumBodySize()
Gets the maximum body size.
|
java.util.List<PropertyPath> |
getPropertyPaths()
Gets additional properties to return in a response.
|
ShapeType |
getType()
Gets the basic configuration of properties to return in an item or folder response.
|
boolean |
isAddBlankTargetToLinks()
Checks if is adds the blank target to links.
|
boolean |
isBlockExternalImages()
Checks if is block external images.
|
boolean |
isConvertHtmlCodePageToUTF8()
Checks if is convert html code page to ut f8.
|
boolean |
isFilterHtmlContent()
Checks if is filter html content.
|
void |
setAddBlankTargetToLinks(boolean addBlankTargetToLinks)
Sets the adds the blank target to links.
|
void |
setBlockExternalImages(boolean blockExternalImages)
Sets the block external images.
|
void |
setBodyType(BodyType bodyType)
Sets how the body text is formatted in the response.
|
void |
setConvertHtmlCodePageToUTF8(boolean convertHtmlCodePageToUTF8)
Sets the convert html code page to ut f8.
|
void |
setFilterHtmlContent(boolean filterHtmlContent)
Sets the filter html content.
|
void |
setIncludeMimeContent(boolean includeMimeContent)
Sets whether the Multipurpose Internet Mail Extensions (MIME) content of an item is returned in the response.
|
void |
setInlineImageUrlTemplate(java.lang.String inlineImageUrlTemplate)
Sets the inline image url template.
|
void |
setMaximumBodySize(int maximumBodySize)
Sets the maximum body size.
|
void |
setType(ShapeType type)
Sets the basic configuration of properties to return in an item or folder response.
|
java.lang.String |
toString()
Converts the value of the current ItemShape object to its equivalent string representation.
|
public ItemShape()
public ItemShape(ShapeType type)
type - the typepublic ItemShape(ShapeType type, boolean includeMimeContent)
type - the typeincludeMimeContent - the include mime contentpublic ItemShape(ShapeType type, BodyType bodyType)
type - the typebodyType - the body typepublic ItemShape(ShapeType type, boolean includeMimeContent, BodyType bodyType)
type - the typeincludeMimeContent - the include mime contentbodyType - the body typepublic ItemShape(java.util.List<PropertyPath> propertyPaths)
propertyPaths - the property pathspublic ItemShape(java.util.List<PropertyPath> propertyPaths, boolean includeMimeContent)
propertyPaths - the property pathsincludeMimeContent - the include mime contentpublic ItemShape(java.util.List<PropertyPath> propertyPaths, BodyType bodyType)
propertyPaths - the property pathsbodyType - the body typepublic ItemShape(java.util.List<PropertyPath> propertyPaths, boolean includeMimeContent, BodyType bodyType)
propertyPaths - the property pathsincludeMimeContent - the include mime contentbodyType - the body typepublic ItemShape(ShapeType type, java.util.List<PropertyPath> propertyPaths)
type - the typepropertyPaths - the property pathspublic ItemShape(ShapeType type, java.util.List<PropertyPath> propertyPaths, boolean includeMimeContent)
type - the typepropertyPaths - the property pathsincludeMimeContent - the include mime contentpublic ItemShape(ShapeType type, java.util.List<PropertyPath> propertyPaths, BodyType bodyType)
type - the typepropertyPaths - the property pathsbodyType - the body typepublic ItemShape(ShapeType type, java.util.List<PropertyPath> propertyPaths, boolean includeMimeContent, BodyType bodyType)
type - the typepropertyPaths - the property pathsincludeMimeContent - the include mime contentbodyType - the body typepublic java.lang.String toString()
toString in class java.lang.Objectpublic ShapeType getType()
public void setType(ShapeType type)
type - the new typepublic java.util.List<PropertyPath> getPropertyPaths()
public boolean getIncludeMimeContent()
public void setIncludeMimeContent(boolean includeMimeContent)
includeMimeContent - the new include mime contentpublic BodyType getBodyType()
public void setBodyType(BodyType bodyType)
bodyType - the new body typepublic boolean isFilterHtmlContent()
public void setFilterHtmlContent(boolean filterHtmlContent)
filterHtmlContent - the new filter html contentpublic boolean isConvertHtmlCodePageToUTF8()
public void setConvertHtmlCodePageToUTF8(boolean convertHtmlCodePageToUTF8)
convertHtmlCodePageToUTF8 - the new convert html code page to ut f8public java.lang.String getInlineImageUrlTemplate()
public void setInlineImageUrlTemplate(java.lang.String inlineImageUrlTemplate)
inlineImageUrlTemplate - the new inline image url templatepublic boolean isBlockExternalImages()
public void setBlockExternalImages(boolean blockExternalImages)
blockExternalImages - the new block external imagespublic boolean isAddBlankTargetToLinks()
public void setAddBlankTargetToLinks(boolean addBlankTargetToLinks)
addBlankTargetToLinks - the new adds the blank target to linkspublic int getMaximumBodySize()
public void setMaximumBodySize(int maximumBodySize)
maximumBodySize - the new maximum body size