Package com.portal.app.ccare.comp
Interface PServiceTableBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PServiceTableBeanImpl
The interface for the service table bean
- Version:
- %version: 4 % %date_modified: Mon Jun 17 12:04:05 2002 %
- Author:
- kapono
-
Method Summary
Modifier and TypeMethodDescriptionint
countServiceOfThisType
(PModelHandle accountModel, String type) To count the total no of Services of particular kind ( Like clause is used ) in an AccountReturns the cached subscription invalid input: '&' stand alone service objects.Retrieves the number of deferred actions for each service.int
getPermittedDevicesForService
(String serviceType) Retrieves the list of permitted devices for the specified service type.Retrives the list of service aliases from the model handlegetServiceLifeCycleState
(Poid serv) int
getServiceType
(Poid svcPoid) Checks whether the Service Poid belongs to a Subscription service or Member service or Stand alone serviceRetrieves all the standalone Services of the selected AccountGiven an /account object, retrieve the associated Subscription invalid input: '&' stand alone service objects The returned array does not have the details of Member services.Retrieves all the Subscription Services invalid input: '&' its associated Member services of the selected AccountRetrieves all the subscription Services of the selected Accountboolean
isRequired
(PModelHandle serviceHandle) returns true if the service represented by givem serviceHandle is requiredvoid
Forces a refresh of any internal cache - data is retrieved from Portal again.void
refreshmServices
(PModelHandle model) Refreshes the model handle with the selected services.Retrieves the list of all the services and devices of the account using search opcode and caching to HashMapretrieveServiceDeviceData
(PModelHandle pm, ArrayList selectedServicePoids) Retrieves the list of all the services and devices of the account using search opcode and caching to HashMap
-
Method Details
-
getDeferredActions
Retrieves the number of deferred actions for each service. The order of the items in the returned Vector will match the order of services in the array (of the PModelHandle).- Returns:
- A Vector containing the number of deferred actions for each service.
- Throws:
RemoteException
-
getDeferredActionsPerService
- Throws:
RemoteException
-
getServicesFromAccount
- Throws:
RemoteException
-
getDevicesFromAccount
- Throws:
RemoteException
-
getServicesFromDevice
- Throws:
RemoteException
-
getDevicesFromService
- Throws:
RemoteException
-
retrieveServiceDeviceData
Retrieves the list of all the services and devices of the account using search opcode and caching to HashMap- Parameters:
pm
- PModelHandle- Returns:
- FList
- Throws:
RemoteException
-
retrieveServiceDeviceData
FList retrieveServiceDeviceData(PModelHandle pm, ArrayList selectedServicePoids) throws RemoteException Retrieves the list of all the services and devices of the account using search opcode and caching to HashMap- Parameters:
pm
- PModelHandle- Returns:
- FList
- Throws:
RemoteException
-
getPermittedDevicesForService
Retrieves the list of permitted devices for the specified service type.- Parameters:
serviceType
- The service type for which the permitted device types are retrieved.- Returns:
- The list of device types.
- Throws:
RemoteException
-
refreshCache
Forces a refresh of any internal cache - data is retrieved from Portal again.- Throws:
RemoteException
-
getServices
- Throws:
RemoteException
-
countServiceOfThisType
To count the total no of Services of particular kind ( Like clause is used ) in an Account- Parameters:
accountModel
- The PModelHandle of the Accounttype
- Type of the Service search for viz. /service/telco- Returns:
- An integer
- Throws:
RemoteException
-
isRequired
returns true if the service represented by givem serviceHandle is required- Throws:
RemoteException
-
getServiceType
Checks whether the Service Poid belongs to a Subscription service or Member service or Stand alone service- Parameters:
svcPoid
- The Poid os Service- Returns:
- An integer Values; 0=>stand alone service; 1=> Subscription group service ; 2=> member service
- Throws:
RemoteException
-
getStandaloneServices
ArrayList getStandaloneServices()Retrieves all the standalone Services of the selected Account- Returns:
- An ArrayList which contains the Poids of all Stand Alone Services
- Throws:
RemoteException
-
getSubscriptionServices
ArrayList getSubscriptionServices()Retrieves all the subscription Services of the selected Account- Returns:
- An ArrayList which contains the Poids of all Subscription Services
- Throws:
RemoteException
-
getSubscriptionGroups
HashMap getSubscriptionGroups()Retrieves all the Subscription Services invalid input: '&' its associated Member services of the selected Account- Returns:
- A HashMap which contains the Poids of all Subscription Services as Keys invalid input: '&' an ArrayList which contains Poids of all Member Services as Value.
-
getSubscrAndStandaloneSvcsFrmAccount
Given an /account object, retrieve the associated Subscription invalid input: '&' stand alone service objects The returned array does not have the details of Member services. This method is called to populate the parent Service Nodes of JTreeTable in Servie tab.- Parameters:
pm
- PModelHandle of Account Poid- Returns:
- PModelHandle[]
- Throws:
RemoteException
-
getCachedSubscrAndStandaloneSvcsFrmAccount
PModelHandle[] getCachedSubscrAndStandaloneSvcsFrmAccount()Returns the cached subscription invalid input: '&' stand alone service objects. The returned array does not have the details of Member services. This method is called to populate the parent Service Nodes of JTreeTable in Service tab.- Returns:
- PModelHandle[]
-
getServiceAliases
Retrives the list of service aliases from the model handle- Parameters:
pm
- PModelhandle of selected service- Returns:
- vector containing list of aliases
- Throws:
RemoteException
-
refreshmServices
Refreshes the model handle with the selected services.- Parameters:
model
-
-
getServiceLifeCycleState
- Throws:
RemoteException
-