nl.gx.webmanager.cms.core
Interface PersonalizationExpression

All Superinterfaces:
PersonalizationItem, Wrapper

public interface PersonalizationExpression
extends PersonalizationItem

Expression which can be applied to the session XML on the frontend.

Author:
arjans

Nested Class Summary
static class PersonalizationExpression.Type
          Type of the PersonalizationExpression which results in a certain kind of behaviour.
 
Method Summary
 java.lang.String getTagName()
          Returns the tag name of the personalization for frontend use.
 PersonalizationExpression.Type getType()
          Returns the type of the PersonalizationExpression.
 java.lang.String getValue()
          Returns the actual expression.
 void setTagName(java.lang.String tagName)
          Sets the tag name for the personalization expression.
 void setType(PersonalizationExpression.Type type)
          Sets the type of the personalization expression.
 void setValue(java.lang.String value)
          Sets the actual expression.
 
Methods inherited from interface nl.gx.webmanager.cms.core.PersonalizationItem
getName, getPersonalizationCategory, isAvailable, isShownByLinks, isValid, setAvailable, setName, setPersonalizationCategory, setShownByLinks
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

getTagName

java.lang.String getTagName()
Returns the tag name of the personalization for frontend use.

Returns:
The tag name of the personalization for frontend use.

getType

PersonalizationExpression.Type getType()
Returns the type of the PersonalizationExpression. This can either be PersonalizationExpression.Type.CHOOSE, PersonalizationExpression.Type.CONDITION, PersonalizationExpression.Type.SELECT or PersonalizationExpression.Type.XSL.

Returns:
The type of the PersonalizationExpression.

getValue

java.lang.String getValue()
Returns the actual expression.

Returns:
The actual expression.

setTagName

void setTagName(java.lang.String tagName)
Sets the tag name for the personalization expression. Only has effect if the current type is PersonalizationExpression.Type.SELECT or PersonalizationExpression.Type.XSL.

Parameters:
tagName - The new tag name for the personalization expression.

setType

void setType(PersonalizationExpression.Type type)
Sets the type of the personalization expression.

Parameters:
type - New type for the personalization expression.

setValue

void setValue(java.lang.String value)
Sets the actual expression.

Parameters:
value - The new XPATH or XSLT expression.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.