pt.digitalis.dif.dem.interfaces
Interface IRegistrable

All Known Subinterfaces:
IApplication, IProvider, IService, IStage, IStageInstance
All Known Implementing Classes:
ApplicationCGTemplate, ProviderCGTemplate, ServiceCGTemplate, StageCGTemplate, StageInstanceCGTemplate

public interface IRegistrable

This interface exposes behavior related to Entity registry.

Author:
Rodrigo Gonçalves rgoncalves@digitalis.pt
Created on:
2007/05/03

Method Summary
 LicenseEditionType getLicenseEdition()
          Get the License Edition.
 boolean isRegistered()
          Returns information about if the Entity is registered.
 boolean isRegistrable()
          Returns information about if the Entity can be registered.
 boolean register(String name, String key)
          Registers the Entity with a given key.
 void unregister()
          Unregisters the Entity.
 

Method Detail

getLicenseEdition

LicenseEditionType getLicenseEdition()
Get the License Edition.

Returns:
LicenseEditionType

isRegistered

boolean isRegistered()
Returns information about if the Entity is registered.

Returns:
T if the Entity is registered, F otherwise

isRegistrable

boolean isRegistrable()
Returns information about if the Entity can be registered.

Returns:
T if the Entity is registrable, F otherwise

register

boolean register(String name,
                 String key)
Registers the Entity with a given key.

Parameters:
name - the name to register to
key - the encripted registration key
Returns:
T if the Entity was successfully registered, F otherwise

unregister

void unregister()
Unregisters the Entity.



Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.