|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IpMailboxFolderConnection
This class represents the Parlay < IpMailboxFolderConnection > interface
| Method Summary | |
|---|---|
void |
close()
This method closes a specified folder. |
int |
getInfoAmount()
This method returns the number of folder information properties of the specified folder. |
TpFolderInfoProperty[] |
getInfoProperties(int firstProperty,
int numberOfProperties)
This method returns the properties of a folder. |
IpMessage |
getMessage(java.lang.String messageID)
This method gets a message from an open mailbox folder. |
void |
putMessage(java.lang.String message,
TpMessageInfoProperty[] messageInfoProperties)
This method puts a message into an open mailbox folder. |
void |
remove(java.lang.String folderID)
This method removes a folder from the mailbox. |
void |
setInfoProperties(int firstProperty,
TpFolderInfoProperty[] folderInfoProperties)
Sets the properties of a folder. |
| Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection |
|---|
closeConnection |
| Method Detail |
|---|
int getInfoAmount()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
TpFolderInfoProperty[] getInfoProperties(int firstProperty,
int numberOfProperties)
throws TpCommonExceptions,
P_GMS_NUMBER_NOT_POSITIVE,
javax.slee.resource.ResourceException
firstProperty - This is the first property of interest. This number represents the starting point where the first property of the list to be retrieved from the folder is located. Properties are numbered from zero.numberOfProperties - The number of properties to return. If the value of this parameter is zero, then all properties will be returned. Otherwise, the value must be a positive number. If the number is not positive, the error code P_GMS_NUMBER_NOT_POSITIVE is returned.
TpCommonExceptions
P_GMS_NUMBER_NOT_POSITIVE
javax.slee.resource.ResourceException
void setInfoProperties(int firstProperty,
TpFolderInfoProperty[] folderInfoProperties)
throws TpCommonExceptions,
P_GMS_PROPERTY_NOT_SET,
javax.slee.resource.ResourceException
firstProperty - This is the first property of interest. This number represents the starting point where the first property of the list to be updated in the folder is located. Properties are numbered from zero.folderInfoProperties - This specifies the folder information properties (names and values) to be set in the folder. Folder properties that may be changed include parent folder, sub folders and read/write access. If the properties cannot be changed, then the error code P_GMS_PROPERTY_NOT_SET is returned.
TpCommonExceptions
P_GMS_PROPERTY_NOT_SET
javax.slee.resource.ResourceException
void putMessage(java.lang.String message,
TpMessageInfoProperty[] messageInfoProperties)
throws TpCommonExceptions,
javax.slee.resource.ResourceException
message - The message to put into the mailbox.messageInfoProperties - This specifies the message information properties (names and values).
TpCommonExceptions
javax.slee.resource.ResourceException
IpMessage getMessage(java.lang.String messageID)
throws TpCommonExceptions,
P_GMS_INVALID_MESSAGE_ID,
javax.slee.resource.ResourceException
messageID - Specifies the identity of the message. If the message ID given is not present, the error code P_GMS_INVALID_MESSAGE_ID is returned.
TpCommonExceptions
P_GMS_INVALID_MESSAGE_ID
javax.slee.resource.ResourceException
void close()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
void remove(java.lang.String folderID)
throws TpCommonExceptions,
P_GMS_INSUFFICIENT_PRIVILEGE,
P_GMS_INVALID_FOLDER_ID,
P_GMS_FOLDER_IS_OPEN,
javax.slee.resource.ResourceException
folderID - Specifies the identity of the folder. If the folder ID given is not present, the error code P_GMS_INVALID_FOLDER_ID is returned.
TpCommonExceptions
P_GMS_INSUFFICIENT_PRIVILEGE
P_GMS_INVALID_FOLDER_ID
P_GMS_FOLDER_IS_OPEN
javax.slee.resource.ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||