Package ch.tocco.nice2.userbase.impl
Class ArgumentFactories.PrincipalNameFactory
java.lang.Object
ch.tocco.nice2.userbase.impl.ArgumentFactories.PrincipalNameFactory
- All Implemented Interfaces:
- ArgumentFactory<String>
- Enclosing class:
- ArgumentFactories
public static class ArgumentFactories.PrincipalNameFactory
extends Object
implements ArgumentFactory<String>
Returns the username of the current principal.
- 
Nested Class SummaryNested classes/interfaces inherited from interface ch.tocco.nice2.persist.core.spi.query.ArgumentFactoryArgumentFactory.ParameternameAware
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@Nullable StringgetArgument(String parameterName) Return the final argument.
- 
Constructor Details- 
PrincipalNameFactorypublic PrincipalNameFactory()
 
- 
- 
Method Details- 
getArgumentDescription copied from interface:ArgumentFactoryReturn the final argument.- Specified by:
- getArgumentin interface- ArgumentFactory<String>
- Parameters:
- parameterName- the parameter name used triggering this- ArgumentFactory
- Returns:
- the value to be set for the requested parameter
 
 
-