MUM.profileService.client
Class PlatformDescriptorsAgent

java.lang.Object
  extended byMUM.profileService.client.PlatformDescriptorsAgent
All Implemented Interfaces:
IPlatformDescriptorsDB

public class PlatformDescriptorsAgent
extends java.lang.Object
implements IPlatformDescriptorsDB

the implementation of the IPlatformDescriptorsDB client side


Constructor Summary
PlatformDescriptorsAgent(ComponentInfo info)
          constructor
 
Method Summary
 boolean addPlatformDescriptor(IPlatformDescriptor pd)
          This method adds a platform descriptor to the platform descriptors DB
 boolean addPlatformDescriptorForPath(Path path, java.lang.String uniqueId)
          This method gets the platform descriptor for a certain location, identified by a Path
 IPlatformDescriptor getPlatformDescriptor(java.lang.String uniqueId)
          This method gets a Platform descriptor from the PlatformDescriptor DB, null if there was no entry corresponding to the required id
 IPlatformDescriptor getPlatformDescriptorForPath(Path path)
          This method gets the platform descriptor for a certain location, identified by a Path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformDescriptorsAgent

public PlatformDescriptorsAgent(ComponentInfo info)
constructor

Method Detail

addPlatformDescriptor

public boolean addPlatformDescriptor(IPlatformDescriptor pd)
                              throws java.io.IOException
This method adds a platform descriptor to the platform descriptors DB

Specified by:
addPlatformDescriptor in interface IPlatformDescriptorsDB
Throws:
java.io.IOException

getPlatformDescriptor

public IPlatformDescriptor getPlatformDescriptor(java.lang.String uniqueId)
                                          throws java.io.IOException
This method gets a Platform descriptor from the PlatformDescriptor DB, null if there was no entry corresponding to the required id

Specified by:
getPlatformDescriptor in interface IPlatformDescriptorsDB
Throws:
java.io.IOException

addPlatformDescriptorForPath

public boolean addPlatformDescriptorForPath(Path path,
                                            java.lang.String uniqueId)
                                     throws java.io.IOException
This method gets the platform descriptor for a certain location, identified by a Path

Specified by:
addPlatformDescriptorForPath in interface IPlatformDescriptorsDB
Throws:
java.io.IOException

getPlatformDescriptorForPath

public IPlatformDescriptor getPlatformDescriptorForPath(Path path)
                                                 throws java.io.IOException
This method gets the platform descriptor for a certain location, identified by a Path

Specified by:
getPlatformDescriptorForPath in interface IPlatformDescriptorsDB
Throws:
java.io.IOException


Copyright © 2004 Luca Foschini