Package org.apache.jetspeed.portlets.prm.model

Examples of org.apache.jetspeed.portlets.prm.model.UserAttributeModel


    @Override
    public void buildItems(Fragment fragment, final UserAttribute userAttr)
    {
        JetspeedServiceLocator locator = ((AbstractAdminWebApplication) getApplication()).getServiceLocator();
       
        fragment.add(new TextField<String>("name", new PropertyModel<String>(new UserAttributeModel(locator, paNodeBean, userAttr), "name")));
       
        fragment.add(new LocalizedDescriptionEditor("localizationEditor", locator, paNodeBean, UserAttribute.class, userAttr.getName())
        {

            @Override
View Full Code Here


        PortletApplication app = locator.getPortletRegistry().getPortletApplication(paNodeBean.getApplicationName());
        List<IModel<UserAttribute>> userAttributeBeans = new LinkedList<IModel<UserAttribute>>();
       
        for (UserAttribute userAttribute : app.getUserAttributes())
        {
            userAttributeBeans.add(new UserAttributeModel(locator, paNodeBean, userAttribute));
        }
       
        return userAttributeBeans.iterator();
    }
View Full Code Here

    @Override
    public IModel<UserAttribute> getNewRowModel(UserAttribute userAttribute)
    {
        JetspeedServiceLocator locator = ((AbstractAdminWebApplication) getApplication()).getServiceLocator();
        return new UserAttributeModel(locator, paNodeBean, userAttribute);
    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.portlets.prm.model.UserAttributeModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.