public final class MapiNamedPropertyMappingStorage extends MapiPropertyContainer
Represents the named property mapping
Constructor and Description |
---|
MapiNamedPropertyMappingStorage()
Initializes a new instance of the
MapiNamedPropertyMappingStorage class. |
Modifier and Type | Method and Description |
---|---|
void |
addNamedPropertyMapping(MapiProperty property,
long nameId,
UUID guid)
Adds the named property mapping for numeric named property.
|
void |
addNamedPropertyMapping(MapiProperty property,
String nameId,
UUID guid)
Adds the named property mapping for string named property.
|
Object |
getContent()
Gets the content
|
String |
getName()
Gets the name
|
long |
getNextAvailablePropertyId(int dataType)
Gets the next available property id in entries stream based on property datatype.
|
void |
setProperty(MapiProperty property)
Sets the property.
|
createMapiNode, getCodePage, getMyProperties, getProperties, getPropertyBoolean, getPropertyBytes, getPropertyDateTime, getPropertyInt32, getPropertyLong, getPropertyShort, getPropertyString, getPropertyString, isStoreUnicodeOk, setNamedPropertyMapping, setProperty, setProperty, setProperty, setProperty, setProperty, setPropertySet, tryGetPropertyData, tryGetPropertyDateTime, tryGetPropertyInt32, tryGetPropertyLong, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString
public MapiNamedPropertyMappingStorage()
Initializes a new instance of the MapiNamedPropertyMappingStorage
class.
public void setProperty(MapiProperty property)
Sets the property.
setProperty
in class MapiPropertyContainer
property
- The MapiProperty
.com.aspose.ms.System.NotImplementedException
public long getNextAvailablePropertyId(int dataType)
Gets the next available property id in entries stream based on property datatype.
dataType
- Type of the data for the property.public void addNamedPropertyMapping(MapiProperty property, long nameId, UUID guid)
Adds the named property mapping for numeric named property.
property
- The property to add mapping for.nameId
- The name id.guid
- The GUID identifying property set.
property
should have a valid id for named property, GetNextAvailablePropertyId
can be used to generate one.
Otherwise an exception will be thrown.
<exceptions>
{@code ArgumentNullException} if {@code property} is null.
{@code ArgumentException} if {@code MapiProperty.Tag} can'be used for named property mapping.
The range for named property identifiers is between 0x8000 and 0xFFFE.
</exceptions>
public void addNamedPropertyMapping(MapiProperty property, String nameId, UUID guid)
Adds the named property mapping for string named property.
property
- The property to add mapping for.nameId
- The name id.guid
- The GUID identifying property set.
property
should have a valid id for named property, GetNextAvailablePropertyId
can be used to generate one.
Otherwise an exception will be thrown.
<exceptions>
{@code ArgumentNullException} if nameId is null.
{@code ArgumentNullException} if {@code property} is null.
{@code ArgumentException} if {@code MapiProperty.Tag} can'be used for named property mapping.
The range for named property identifiers is between 0x8000 and 0xFFFE.
</exceptions>
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.