com.sybase.uep.bobclient.data
Class RIMMBOMobileApplicationList

java.lang.Object
  extended by com.sybase.uep.bobclient.data.RIMPersistableObject
      extended by com.sybase.uep.bobclient.data.RIMMBOMobileApplicationList
All Implemented Interfaces:
MBOMobileApplicationList, net.rim.device.api.util.Persistable

public class RIMMBOMobileApplicationList
extends RIMPersistableObject
implements MBOMobileApplicationList, net.rim.device.api.util.Persistable

Class MBO Mobile Application List Holds the list of MBO Mobile Applications

Author:
tdang

Constructor Summary
RIMMBOMobileApplicationList()
          Constructor to create MBO Mobile Application List
 
Method Summary
 void addMBOMobileApplication(MBOMobileApplication mboMobileApplication)
          Add MBO Mobile Application
 java.lang.String[] getMBOIDsByProfileRefID(java.lang.String profileRefID)
          Get MBO IDs by profile reference ID
 MBOMobileApplication getMBOMobileApplication(java.lang.String mobileAppID)
          Get MBO Mobile Application by ID
 MBOMobileApplication getMBOMobileApplicationByMBONameAndProfileID(java.lang.String mboName, java.lang.String profileRefID)
          Get MBO Mobile Application by MBO name
 MBOMobileApplication[] getMBOMobileApplicationByProfileRefID(java.lang.String profileRefID)
          Get MBO Mobile Applications by profile reference ID
 java.util.Vector getMBOMobileApplicationList()
          Get MBO Mobile Applicatino List except for PK application
 java.util.Vector getMBOMobileApplicationListByPackageAndPublication(java.lang.String packageName, java.lang.String publication)
          Retrieve all application under the given publication set
 java.util.Vector getMBOMobileApplicationListByPackageName(java.lang.String packageName)
          Retrieve all application under the given package name set
 java.util.Vector getPKMobileApplicationList()
          Get PK Mobile Application List
 void setMBOMobileApplication(java.lang.String mobileAppID, MBOMobileApplication mboMobileOjb)
          Set MBO Mobile Application by ID
 void setMBOMobileApplicationList(java.util.Vector mboMobileApplicationList)
          Set the list of MBO Mobile Applications
 int size()
          Get the size of the list of MBO Mobile Applications.
 
Methods inherited from class com.sybase.uep.bobclient.data.RIMPersistableObject
getBooleanProperty, getProperties, getProperty, getStringProperty, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RIMMBOMobileApplicationList

public RIMMBOMobileApplicationList()
Constructor to create MBO Mobile Application List

Method Detail

addMBOMobileApplication

public void addMBOMobileApplication(MBOMobileApplication mboMobileApplication)
                             throws RepositoryException
Add MBO Mobile Application

Specified by:
addMBOMobileApplication in interface MBOMobileApplicationList
Parameters:
mboMobileApplication - - MBOMobileApplication object
Throws:
RepositoryException

getMBOMobileApplication

public MBOMobileApplication getMBOMobileApplication(java.lang.String mobileAppID)
Get MBO Mobile Application by ID

Specified by:
getMBOMobileApplication in interface MBOMobileApplicationList
Parameters:
mobileAppID - - Mobile application ID
Returns:
MBOMobileApplication object

setMBOMobileApplication

public void setMBOMobileApplication(java.lang.String mobileAppID,
                                    MBOMobileApplication mboMobileOjb)
Set MBO Mobile Application by ID

Specified by:
setMBOMobileApplication in interface MBOMobileApplicationList
Parameters:
mobileAppID - - Mobile application ID
mboMobileApplication - - MBOMobileApplication object

getMBOMobileApplicationByMBONameAndProfileID

public MBOMobileApplication getMBOMobileApplicationByMBONameAndProfileID(java.lang.String mboName,
                                                                         java.lang.String profileRefID)
Get MBO Mobile Application by MBO name

Specified by:
getMBOMobileApplicationByMBONameAndProfileID in interface MBOMobileApplicationList
Parameters:
mboName - String value for the mobile application names
profileRefID - String value for the profile ID
Returns:
MBOMobileApplication object

getMBOMobileApplicationByProfileRefID

public MBOMobileApplication[] getMBOMobileApplicationByProfileRefID(java.lang.String profileRefID)
Get MBO Mobile Applications by profile reference ID

Specified by:
getMBOMobileApplicationByProfileRefID in interface MBOMobileApplicationList
Parameters:
profileRefID - - profile reference ID to search by
Returns:
array list of MBOMobileApplication objects

getMBOIDsByProfileRefID

public java.lang.String[] getMBOIDsByProfileRefID(java.lang.String profileRefID)
Get MBO IDs by profile reference ID

Specified by:
getMBOIDsByProfileRefID in interface MBOMobileApplicationList
Parameters:
profileRefID - - profile reference ID to search by
Returns:
string array of MBO IDs

setMBOMobileApplicationList

public void setMBOMobileApplicationList(java.util.Vector mboMobileApplicationList)
Set the list of MBO Mobile Applications

Specified by:
setMBOMobileApplicationList in interface MBOMobileApplicationList
Parameters:
mboMobileApplicationList - - Hashtable of MBOMobileApplication objects

getMBOMobileApplicationList

public java.util.Vector getMBOMobileApplicationList()
Get MBO Mobile Applicatino List except for PK application

Specified by:
getMBOMobileApplicationList in interface MBOMobileApplicationList
Returns:
Vector of MBO Mobile Applications

getPKMobileApplicationList

public java.util.Vector getPKMobileApplicationList()
Get PK Mobile Application List

Specified by:
getPKMobileApplicationList in interface MBOMobileApplicationList
Returns:
Vector of PK mobile application

size

public int size()
Get the size of the list of MBO Mobile Applications.

Specified by:
size in interface MBOMobileApplicationList
Returns:
int value of the size

getMBOMobileApplicationListByPackageAndPublication

public java.util.Vector getMBOMobileApplicationListByPackageAndPublication(java.lang.String packageName,
                                                                           java.lang.String publication)
Description copied from interface: MBOMobileApplicationList
Retrieve all application under the given publication set

Specified by:
getMBOMobileApplicationListByPackageAndPublication in interface MBOMobileApplicationList
Parameters:
packageName - String value for the package name
publication - String value for the publication name
Returns:

getMBOMobileApplicationListByPackageName

public java.util.Vector getMBOMobileApplicationListByPackageName(java.lang.String packageName)
Description copied from interface: MBOMobileApplicationList
Retrieve all application under the given package name set

Specified by:
getMBOMobileApplicationListByPackageName in interface MBOMobileApplicationList
Parameters:
packageName - String value for the package name
Returns:
Vector list of MBOMobileApplication objects by package name