This project has retired. For details please refer to its Attic page.
DefinitionDAO (Tiles 2 2.2.2 API)

org.apache.tiles.definition.dao
Interface DefinitionDAO<K>

Package class diagram package DefinitionDAO
Type Parameters:
K - The customization key class.
All Known Implementing Classes:
BaseLocaleUrlDefinitionDAO, CachingLocaleUrlDefinitionDAO, LocaleUrlDefinitionDAO, ResolvingLocaleUrlDefinitionDAO

public interface DefinitionDAO<K>

It represents an object that provides definitions, depending on a customization key.

Since:
2.1.0
Version:
$Rev: 666834 $ $Date: 2008-06-11 22:49:05 +0200 (mer, 11 giu 2008) $

Method Summary
 Definition getDefinition(String name, K customizationKey)
          Returns a definition, given its name and the customization key.
 Map<String,Definition> getDefinitions(K customizationKey)
          Returns all the definitions used of a customization key.
 

Method Detail

getDefinition

Definition getDefinition(String name,
                         K customizationKey)
Returns a definition, given its name and the customization key.

Parameters:
name - The name of the definition.
customizationKey - The customization key.
Returns:
The requested definition, if found, otherwise null. The inheritance of the definition must not be resolved.
Since:
2.1.0

getDefinitions

Map<String,Definition> getDefinitions(K customizationKey)
Returns all the definitions used of a customization key.

Parameters:
customizationKey - The customization key.
Returns:
All the definitions that are connected to the customization key. The inheritance of the definitions must not be resolved.
Since:
2.1.0


Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.