|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibi.broker.api.ws.AddressBookManagerClientSF
public class AddressBookManagerClientSF
Constructor Summary | |
---|---|
AddressBookManagerClientSF(java.lang.String base,
java.lang.String userName,
java.lang.String password)
|
Method Summary | |
---|---|
void |
addAddressBook(AddrBook addrBook)
Creates an Address Book in the ReportCaster Repository. |
void |
addDestinationElement(java.lang.String bookName,
DestinationElement destinationElement)
Adds a DestinationElement to the Address Book specified by bookName. |
void |
deleteAddressBook(java.lang.String bookName)
Deletes the Address Book specified by bookName. |
void |
deleteDestinationElement(java.lang.String bookName,
DestinationElement destinationElement)
Deletes a DestinationElement from the Address Book specified by bookName. |
AddrBook |
getAddressBook(java.lang.String bookName)
Returns an AddrBook object specified by bookName. |
AddrBook[] |
getAddressBookPrivateList(java.lang.String method)
|
AddrBook[] |
getAddressBookPrivateListByCaller(java.lang.String method)
Returns an Array of PRIVATE AddrBook objects for both the given
distribution method and the caller who has authenticated. |
AddrBook[] |
getAddressBookPrivateListByOwner(java.lang.String owner,
java.lang.String method)
Returns an Array of PRIVATE AddrBook objects for a given
distribution method and the specified owner of the AddrBooks. |
AddrBook |
getAddressBookProperty(java.lang.String bookName)
Returns an AddrBook object specified by bookName. |
AddrBook[] |
getAddressBookPublicList(java.lang.String method)
Returns an Array of PUBLIC AddrBook objects for a given
distribution method. |
AddrBook[] |
getAddressBookPublicListByCaller(java.lang.String method)
Returns an Array of PUBLIC AddrBook objects for a given
distribution method and the caller who has authenticated. |
AddrBook[] |
getAddressBookPublicListByOwner(java.lang.String owner,
java.lang.String method)
Returns an Array of PUBLIC AddrBook objects for a given
distribution method and the specified owner of the Address Books. |
java.lang.String[] |
getOwnerList()
Retrieves the Address Book owner list as a String Array from the ReportCaster Repository. |
java.lang.String[] |
getOwnerList(java.lang.String method,
java.lang.String access)
|
void |
updateAddressBook(AddrBook addrBook)
Updates an Address Book's properties, deletes all existing distribution lists and inserts the new ones, which are represented by the DestinationElement Array stored in AddrBook . |
void |
updateAddressBookProperty(AddrBook addrBook)
Address Book's properties in the ReportCaster Repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddressBookManagerClientSF(java.lang.String base, java.lang.String userName, java.lang.String password) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public AddrBook[] getAddressBookPublicList(java.lang.String method) throws CasterException
AddressBookManager
AddrBook
objects for a given
distribution method. The distribution method is one of three String
constants: Distribution.EMAIL
, Distribution.PRINT
,
or Distribution.FTP
. For performance reasons,
the AddrBook objects returned by this method do not contain the distribution list.
If there are no PUBLIC Address Books for the specified distribution method,
an empty Array will be returned. If the specified distribution method is NULL,
all Address Books will be returned.
getAddressBookPublicList
in interface AddressBookManager
method
- The method of distribution as a String constant
AddrBook
objects.
CasterException
public AddrBook[] getAddressBookPrivateList(java.lang.String method) throws CasterException
getAddressBookPrivateList
in interface AddressBookManager
CasterException
public AddrBook[] getAddressBookPublicListByCaller(java.lang.String method) throws CasterException
AddressBookManager
AddrBook
objects for a given
distribution method and the caller who has authenticated.
The distribution method is one of three String
constants: Distribution.EMAIL
, Distribution.PRINT
,
or Distribution.FTP
. If there are no PUBLIC Address Books for the specified
distribution method, an empty Array will be returned. If the specified distribution method is NULL,
all Address Books will be returned. For performance reasons,
the AddrBook objects returned by this method do not contain the distribution list.
getAddressBookPublicListByCaller
in interface AddressBookManager
method
- The method of distribution as a String constant.
AddrBook
objects.
CasterException
for all the methods values.
public AddrBook[] getAddressBookPublicListByOwner(java.lang.String owner, java.lang.String method) throws CasterException
AddressBookManager
AddrBook
objects for a given
distribution method and the specified owner of the Address Books.
The distribution method is one of three String
Distribution.EMAIL
, Distribution.PRINT
. If there are no PUBLIC Address Books for the specified
distribution method, an empty Array will be returned. If the specified distribution method is NULL,
all Address Books will be returned. For performance reasons,
the AddrBook objects returned by this method do not contain the distribution list.
getAddressBookPublicListByOwner
in interface AddressBookManager
owner
- The owner of the Address Book as a String.method
- The method of distribution, as a String constant.
AddrBook
objects.
CasterException
public AddrBook[] getAddressBookPrivateListByCaller(java.lang.String method) throws CasterException
AddressBookManager
AddrBook
objects for both the given
distribution method and the caller who has authenticated.
The distribution method is one of three String constants:
Distribution.EMAIL
, Distribution.PRINT
, or Distribution.FTP
. If there are no PUBLIC Address Books for the specified
distribution method, an empty Array will be returned. If the specified distribution method is NULL,
all Address Books will be returned. For performance reasons,
the AddrBook objects returned by this method do not contain the distribution list.
getAddressBookPrivateListByCaller
in interface AddressBookManager
method
- The method of distribution, as a String constant.
This method is available only to the administrator and the Address Book owner.
AddrBook
objects.
CasterException
public AddrBook[] getAddressBookPrivateListByOwner(java.lang.String owner, java.lang.String method) throws CasterException
AddressBookManager
AddrBook
objects for a given
distribution method and the specified owner of the AddrBooks.
The distribution method is one of three String
Distribution.EMAIL
, Distribution.PRINT
.
If there are no PUBLIC Address Books for the specified
distribution method, an empty Array will be returned. If the specified distribution method is NULL
all Address Books will be returned.
If the caller is an administrator, any owner may be specified. If the
caller is an End User, the user may specify his own userID.
Otherwise, an exception is thrown. For performance reasons,
the AddrBook objects returned by this method do not contain the distribution list.
This method is available only to the administrator and the Address Book owner.
getAddressBookPrivateListByOwner
in interface AddressBookManager
owner
- The owner of the Address Book, as a String.method
- The method of distribution, as a String constant.
AddrBook
objects.
CasterException
public AddrBook getAddressBookProperty(java.lang.String bookName) throws CasterException
AddressBookManager
AddrBook
object specified by bookName. For performance reasons,
the AddrBook objects returned by this method do not contain the distribution list.
This method is available only to the administrator and the Address Book owner.
getAddressBookProperty
in interface AddressBookManager
bookName
- The name of the Address Book stored in the database, as a String.
CasterException
public AddrBook getAddressBook(java.lang.String bookName) throws CasterException
AddressBookManager
AddrBook
object specified by bookName. The AddrBook objects
returned by this method contain distribution list information
in the form of a DestinationElement
Array.
This method is available only to the administrator and the Address Book owner.
getAddressBook
in interface AddressBookManager
bookName
- The name of the Address Book stored in the database, as a String.
CasterException
public void addAddressBook(AddrBook addrBook) throws CasterException
AddressBookManager
AddrBook
may or may not
contain a DestinationElement
Array. All distribution lists
represented by the DestinationElement
Array will also be
inserted into the repository.
This method is available only to the administrator and the Address Book owner.
addAddressBook
in interface AddressBookManager
addrBook
- AddrBook object associated with the repository data that is to be added.
CasterException
public void updateAddressBookProperty(AddrBook addrBook) throws CasterException
AddressBookManager
DestinationElement
Array.
This method is available only to the administrator and the Address Book owner.
updateAddressBookProperty
in interface AddressBookManager
addrBook
- AddrBook object containing the data that is to be updated in the repository.
CasterException
public void updateAddressBook(AddrBook addrBook) throws CasterException
AddressBookManager
DestinationElement
Array stored in AddrBook
.
This method is available only to the administrator and the Address Book owner.
updateAddressBook
in interface AddressBookManager
addrBook
- object containing the data that is to be updated in the repository.
CasterException
public void deleteAddressBook(java.lang.String bookName) throws CasterException
AddressBookManager
deleteAddressBook
in interface AddressBookManager
bookName
- The name of the Address Book stored in the database, as a String.
CasterException
public void addDestinationElement(java.lang.String bookName, DestinationElement destinationElement) throws CasterException
AddressBookManager
addDestinationElement
in interface AddressBookManager
bookName
- The name of the Address Book stored in the database, as a String.destinationElement
- DestinationElement object containing the line in the Address Book that is to be
added.
CasterException
public void deleteDestinationElement(java.lang.String bookName, DestinationElement destinationElement) throws CasterException
AddressBookManager
deleteDestinationElement
in interface AddressBookManager
bookName
- The name of the Address Book stored in the database, as a String.destinationElement
- DestinationElement object containing the line in the Address Book that is to be
deleted.
CasterException
public java.lang.String[] getOwnerList() throws CasterException
AddressBookManager
getOwnerList
in interface AddressBookManager
CasterException
public java.lang.String[] getOwnerList(java.lang.String method, java.lang.String access) throws CasterException
getOwnerList
in interface AddressBookManager
CasterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |