|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAttributeSwapperHelper
Defines helper methods for the attribute-swapper flow.
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_SWAPPER_ATTRIBUTES_FORM_SWAPPABLE_ATTRIBUTES
Portlet preference name to use to specify a List of attributes that will be displayed for the user to work with. |
static String |
ATTRIBUTE_SWAPPER_ATTRIBUTES_FORM_SWAPPABLE_ATTRIBUTES_EXCLUDES
Portlet preference name to use to specify a List of attributes that will be displayed for the user to work with. |
| Method Summary | |
|---|---|
org.jasig.services.persondir.IPersonAttributes |
getOriginalUserAttributes(String uid)
Get the base attributes for a person, this bypasses the overwriting dao. |
Set<String> |
getSwappableAttributes(org.springframework.webflow.context.ExternalContext externalContext)
Gets the Set of attribtues to allow the user to swap values for. |
void |
populateSwapRequest(org.springframework.webflow.context.ExternalContext externalContext,
AttributeSwapRequest attributeSwapRequest)
Initialize the command object used for the swapper form. |
void |
resetAttributes(org.springframework.webflow.context.ExternalContext externalContext)
Removes the swapped attributes for the specified user |
void |
swapAttributes(org.springframework.webflow.context.ExternalContext externalContext,
AttributeSwapRequest attributeSwapRequest)
Perform the attribute swap request. |
| Field Detail |
|---|
static final String ATTRIBUTE_SWAPPER_ATTRIBUTES_FORM_SWAPPABLE_ATTRIBUTES
static final String ATTRIBUTE_SWAPPER_ATTRIBUTES_FORM_SWAPPABLE_ATTRIBUTES_EXCLUDES
| Method Detail |
|---|
Set<String> getSwappableAttributes(org.springframework.webflow.context.ExternalContext externalContext)
externalContext - The ExternalContext to get the flows's configuration from
org.jasig.services.persondir.IPersonAttributes getOriginalUserAttributes(String uid)
uid - The user name of the user to get the attributes for.
void populateSwapRequest(org.springframework.webflow.context.ExternalContext externalContext,
AttributeSwapRequest attributeSwapRequest)
externalContext - The ExternalContext to get the flows's configuration fromattributeSwapRequest - The command object to initialize
void swapAttributes(org.springframework.webflow.context.ExternalContext externalContext,
AttributeSwapRequest attributeSwapRequest)
externalContext - The ExternalContext to get the current user fromattributeSwapRequest - The swap request with the new attributesvoid resetAttributes(org.springframework.webflow.context.ExternalContext externalContext)
externalContext - The ExternalContext to get the current user from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||