org.opennms.netmgt.provision.persist
Interface ForeignSourceService

All Known Implementing Classes:
DefaultForeignSourceService

public interface ForeignSourceService

ForeignSourceService interface.

Version:
$Id: $
Author:
ranger

Method Summary
 ForeignSource addDetectorToForeignSource(String foreignSource, String name)
          addDetectorToForeignSource
 ForeignSource addParameter(String foreignSourceName, String dataPath)
          addParameter
 ForeignSource addPolicyToForeignSource(String foreignSource, String name)
          addPolicyToForeignSource
 ForeignSource cloneForeignSource(String name, String target)
          cloneForeignSource
 ForeignSource deleteDetector(String foreignSource, String name)
          deleteDetector
 void deleteForeignSource(String name)
          deleteForeignSource
 ForeignSource deletePath(String foreignSourceName, String dataPath)
          deletePath
 ForeignSource deletePolicy(String foreignSource, String name)
          deletePolicy
 Set<ForeignSource> getAllForeignSources()
          getAllForeignSources
 Map<String,String> getDetectorTypes()
          getDetectorTypes
 ForeignSource getForeignSource(String name)
          getForeignSource
 Map<String,String> getPolicyTypes()
          getPolicyTypes
 Map<String,PluginWrapper> getWrappers()
          getWrappers
 ForeignSource saveForeignSource(String name, ForeignSource fs)
          saveForeignSource
 void setDeployedForeignSourceRepository(ForeignSourceRepository repo)
          setDeployedForeignSourceRepository
 void setPendingForeignSourceRepository(ForeignSourceRepository repo)
          setPendingForeignSourceRepository
 

Method Detail

setDeployedForeignSourceRepository

void setDeployedForeignSourceRepository(ForeignSourceRepository repo)

setDeployedForeignSourceRepository

Parameters:
repo - a ForeignSourceRepository object.

setPendingForeignSourceRepository

void setPendingForeignSourceRepository(ForeignSourceRepository repo)

setPendingForeignSourceRepository

Parameters:
repo - a ForeignSourceRepository object.

getAllForeignSources

Set<ForeignSource> getAllForeignSources()

getAllForeignSources

Returns:
a Set object.

getForeignSource

ForeignSource getForeignSource(String name)

getForeignSource

Parameters:
name - a String object.
Returns:
a ForeignSource object.

saveForeignSource

ForeignSource saveForeignSource(String name,
                                ForeignSource fs)

saveForeignSource

Parameters:
name - a String object.
fs - a ForeignSource object.
Returns:
a ForeignSource object.

cloneForeignSource

ForeignSource cloneForeignSource(String name,
                                 String target)

cloneForeignSource

Parameters:
name - a String object.
target - a String object.
Returns:
a ForeignSource object.

deleteForeignSource

void deleteForeignSource(String name)

deleteForeignSource

Parameters:
name - a String object.

deletePath

ForeignSource deletePath(String foreignSourceName,
                         String dataPath)

deletePath

Parameters:
foreignSourceName - a String object.
dataPath - a String object.
Returns:
a ForeignSource object.

addParameter

ForeignSource addParameter(String foreignSourceName,
                           String dataPath)

addParameter

Parameters:
foreignSourceName - a String object.
dataPath - a String object.
Returns:
a ForeignSource object.

addDetectorToForeignSource

ForeignSource addDetectorToForeignSource(String foreignSource,
                                         String name)

addDetectorToForeignSource

Parameters:
foreignSource - a String object.
name - a String object.
Returns:
a ForeignSource object.

deleteDetector

ForeignSource deleteDetector(String foreignSource,
                             String name)

deleteDetector

Parameters:
foreignSource - a String object.
name - a String object.
Returns:
a ForeignSource object.

addPolicyToForeignSource

ForeignSource addPolicyToForeignSource(String foreignSource,
                                       String name)

addPolicyToForeignSource

Parameters:
foreignSource - a String object.
name - a String object.
Returns:
a ForeignSource object.

deletePolicy

ForeignSource deletePolicy(String foreignSource,
                           String name)

deletePolicy

Parameters:
foreignSource - a String object.
name - a String object.
Returns:
a ForeignSource object.

getDetectorTypes

Map<String,String> getDetectorTypes()

getDetectorTypes

Returns:
a Map object.

getPolicyTypes

Map<String,String> getPolicyTypes()

getPolicyTypes

Returns:
a Map object.

getWrappers

Map<String,PluginWrapper> getWrappers()

getWrappers

Returns:
a Map object.


Copyright © 2011. All Rights Reserved.