org.apache.cocoon.portal.profile
Interface ProfileLS

All Known Implementing Classes:
MapProfileLS

public interface ProfileLS

This component is used for loading/saving of a profile.

Version:
CVS $Id: ProfileLS.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler, Volker Schmitt, Björn Lütkemeier

Field Summary
static String PARAMETER_OBJECTMAP
          This parameter is used during loading to resolve references
static String PARAMETER_PROFILETYPE
          This parameter is used to define the profiletype
static String PROFILETYPE_COPLETBASEDATA
           
static String PROFILETYPE_COPLETDATA
           
static String PROFILETYPE_COPLETINSTANCEDATA
           
static String PROFILETYPE_LAYOUT
           
static String ROLE
          Component role
 
Method Summary
 SourceValidity getValidity(Object key, Map parameters)
           
 Object loadProfile(Object key, Map parameters)
          Load a profile
 void saveProfile(Object key, Map parameters, Object profile)
          Save a profile
 

Field Detail

ROLE

static final String ROLE
Component role


PARAMETER_OBJECTMAP

static final String PARAMETER_OBJECTMAP
This parameter is used during loading to resolve references

See Also:
Constant Field Values

PARAMETER_PROFILETYPE

static final String PARAMETER_PROFILETYPE
This parameter is used to define the profiletype

See Also:
Constant Field Values

PROFILETYPE_LAYOUT

static final String PROFILETYPE_LAYOUT
See Also:
Constant Field Values

PROFILETYPE_COPLETBASEDATA

static final String PROFILETYPE_COPLETBASEDATA
See Also:
Constant Field Values

PROFILETYPE_COPLETDATA

static final String PROFILETYPE_COPLETDATA
See Also:
Constant Field Values

PROFILETYPE_COPLETINSTANCEDATA

static final String PROFILETYPE_COPLETINSTANCEDATA
See Also:
Constant Field Values
Method Detail

loadProfile

Object loadProfile(Object key,
                   Map parameters)
                   throws Exception
Load a profile

Throws:
Exception

saveProfile

void saveProfile(Object key,
                 Map parameters,
                 Object profile)
                 throws Exception
Save a profile

Throws:
Exception

getValidity

SourceValidity getValidity(Object key,
                           Map parameters)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.