FME Server C++ API 3.0
|
IFMEServerRepositoryManager interface. More...
#include <ifmeserverrepositorymanager.h>
IFMEServerRepositoryManager interface.
Package Overview:
This file defines the interface that subclasses of this class MUST follow.
Developers MUST NOT implement their own subclasses of this, instead, the FME will ALWAYS provide them with the subclass instance they should be using.
IFMEServerRepositoryManager::IFMEServerRepositoryManager | ( | ) | [inline, protected] |
virtual IFMEServerRepositoryManager::~IFMEServerRepositoryManager | ( | ) | [inline, protected, virtual] |
IFMEServerRepositoryManager::IFMEServerRepositoryManager | ( | const IFMEServerRepositoryManager & | other | ) | [private] |
virtual IFMEServerStatus* IFMEServerRepositoryManager::addRepository | ( | const IFMEServerString & | repositoryName, |
const IFMEServerString & | description | ||
) | [pure virtual] |
Adds an FME repository. The repository name must not contain the following characters: \/:*?"<>|&='+%
name | the unique name that identifies the FME repository |
description | the description of the FME repository |
virtual IFMEServerStatus* IFMEServerRepositoryManager::addService | ( | const IFMEServerService & | service | ) | [pure virtual] |
Adds an FME service to the FME Repository.
Note: An error will also occur if an FME service with the same name already exists.
service | The FME service to add. The name of the FME service must be unique. |
virtual IFMEServerStatus* IFMEServerRepositoryManager::getPropertyAccessor | ( | const IFMEServerStringArray * | directives, |
IFMEServerPropertyAccessor & | propertyAccessor | ||
) | [pure virtual] |
Gets a property manager to manage repository manager properties.
directives | keyword and value pairs specifying property accessor to return |
propertyAccessor | returns a property accessor |
virtual IFMEServerStatus* IFMEServerRepositoryManager::getRepositories | ( | const IFMEServerStringArray * | directives, |
IFMEServerRepositoryVector & | repositories | ||
) | const [pure virtual] |
Gets a list of FME repositories.
directives | a Map of keyword and values specifying FME repositories to return |
If null then ALL repositories are returned.
If ENABLE_FILTER keyword used, then possible value is ALL. If ALL value used, then all repositories returned.
repositories | returns a list of FME repositories. An empty list is returned if there are no repositories. |
virtual IFMEServerStatus* IFMEServerRepositoryManager::getRepository | ( | const IFMEServerString & | repositoryName, |
IFMEServerRepository & | repository, | ||
FME_Boolean & | exists | ||
) | const [pure virtual] |
Gets the specified FME repository.
name | the unique name that identifies the FME repository |
repository | returns an FME repository. |
exists | returns true if the requested repository exists, otherwise false if the named repository does not exists. |
virtual IFMEServerStatus* IFMEServerRepositoryManager::getService | ( | const IFMEServerString & | serviceName, |
IFMEServerService & | service, | ||
FME_Boolean & | exists | ||
) | const [pure virtual] |
Gets the specified FME service.
serviceName | The unique name that identifies the FME service. |
service | Return an FME service. |
exists | Returns true if the service exists, otherwise false if there are no service named serviceName. |
virtual IFMEServerStatus* IFMEServerRepositoryManager::getServices | ( | const IFMEServerStringArray * | directives, |
IFMEServerServiceVector & | services | ||
) | const [pure virtual] |
Gets a list of FME services.
directives | Keyword and values specifying FME services to request. |
If NULL then all services are requested.
The following are the supported values for keyword: "ENABLE_FILTER" (C++ Constant: ???)
services | A list of FME services. An empty list is returned if there are no services. |
IFMEServerRepositoryManager& IFMEServerRepositoryManager::operator= | ( | const IFMEServerRepositoryManager & | other | ) | [private] |
virtual IFMEServerStatus* IFMEServerRepositoryManager::removeRepository | ( | const IFMEServerString & | repositoryName, |
FME_Boolean & | existed | ||
) | [pure virtual] |
Removes an FME repository.
name | the unique name that identifies the FME repository |
existed | returns true if repository existed and was removed, otherwise false if service did not exist |
virtual IFMEServerStatus* IFMEServerRepositoryManager::removeService | ( | const IFMEServerString & | serviceName, |
FME_Boolean & | existed | ||
) | [pure virtual] |
Removes the specified FME service. When an FME service is removed all corresponding workspace registrations are also removed.
serviceName | The unique name that identifies the FME service. |
existed | Return true if service existed and was removed, otherwise false if service did not exist. |
virtual IFMEServerStatus* IFMEServerRepositoryManager::repositoryExists | ( | const IFMEServerString & | repositoryName, |
FME_Boolean & | exists | ||
) | const [pure virtual] |
Checks if specified FME repository exists.
repositoryName | the unique name that identifies the FME repository |
exists | returns true if repository exists, otherwise false if repository does not exist |
virtual IFMEServerStatus* IFMEServerRepositoryManager::serviceExists | ( | const IFMEServerString & | serviceName, |
FME_Boolean & | exists | ||
) | const [pure virtual] |
Checks if the specified service exists.
serviceName | The unique name of the FME service. |
exists | Returns true if the service exists, otherwise false is returned. |
virtual IFMEServerStatus* IFMEServerRepositoryManager::updateService | ( | const IFMEServerService & | service | ) | [pure virtual] |
Updates an existing FME service in the FME Repository.
service | The FME service to update. |