MessageStore

Inheritance: java.lang.Object

public class MessageStore

Message store is the root of the PST, which is the rough equivalent of the top of a Mailbox.

Methods

MethodDescription
changeDisplayName(String newName)Changes the pst display name.
changePassword(String password)Sets the password.
equals(Object arg0)
getClass()
getDisplayName()Gets the display Name of PST.
getProperties()Gets the MAPI properties of message store object.
getTotalItemsCount()Gets the total items count.
hashCode()
isPasswordProtected()Gets a value indicating whether the storage is password protected.
isPasswordValid(String password)Determines whether the specified string is a valid password for the storage.
notify()
notifyAll()
setProperty(MapiProperty property)Sets the property.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

changeDisplayName(String newName)

public final void changeDisplayName(String newName)

Changes the pst display name.

Parameters:

ParameterTypeDescription
newNamejava.lang.StringThe new display name of message store.

changePassword(String password)

public final void changePassword(String password)

Sets the password.

Parameters:

ParameterTypeDescription
passwordjava.lang.StringThe string that represents the password.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDisplayName()

public final String getDisplayName()

Gets the display Name of PST.

Value: The string that represents display name.

Returns: java.lang.String

getProperties()

public final MapiPropertyCollection getProperties()

Gets the MAPI properties of message store object. The message store contains the top-level PST settings and metadata that are required to access and manage the PST contents.

Value: The MapiProperty collection.

Returns: MapiPropertyCollection

getTotalItemsCount()

public final int getTotalItemsCount()

Gets the total items count. Returns the total number of message items contained in the PST.

Returns: int - Total message items count.

hashCode()

public native int hashCode()

Returns: int

isPasswordProtected()

public final boolean isPasswordProtected()

Gets a value indicating whether the storage is password protected.

Value: true if the storage is password protected; otherwise, false .

Returns: boolean

isPasswordValid(String password)

public final boolean isPasswordValid(String password)

Determines whether the specified string is a valid password for the storage.

Parameters:

ParameterTypeDescription
passwordjava.lang.StringThe password string.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setProperty(MapiProperty property)

public final void setProperty(MapiProperty property)

Sets the property.

Parameters:

ParameterTypeDescription
propertyMapiPropertyThe property.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int