Examples of SkinEntry


Examples of org.apache.jetspeed.om.registry.SkinEntry

     */
    public PortletSkin getSkin(String name)
    {
        BasePortletSkin result = new BasePortletSkin();

        SkinEntry entry = null;

        if (name != null)
        {
            entry = (SkinEntry) Registry.getEntry(Registry.SKIN, name);
        }

        // either we don't have any skin defined, the skin reference is null
        // or the skin reference is invalid, in all case, retrieve the default
        // skin entry
        if (entry == null)
        {
            entry = (SkinEntry) Registry.getEntry(Registry.SKIN, this.defaultSkin);
        }

        if (entry != null)
        {
            // build the PortletSkin object
            result.setName(entry.getName());
            result.putAll(entry.getParameterMap());
        }

        // Make the skin aware of what the user agent is capable of.
        JetspeedRunDataService jrds =
            (JetspeedRunDataService) ServiceUtil.getServiceByName(RunDataService.SERVICE_NAME);
View Full Code Here

Examples of org.apache.jetspeed.om.registry.SkinEntry

        if (mode != null
            && (mode.equals(SecurityConstants.PARAM_MODE_DELETE)
                || mode.equals(SecurityConstants.PARAM_MODE_UPDATE)))
        {
            String skinName = rundata.getParameters().getString("skinname");
            SkinEntry skinEntry =
                (SkinEntry) Registry.getEntry(Registry.SKIN, skinName);
            context.put("entry", skinEntry);
        }
    }
View Full Code Here

Examples of org.apache.jetspeed.om.registry.SkinEntry

     */
    public PortletSkin getSkin(String name)
    {
        BasePortletSkin result = new BasePortletSkin();

        SkinEntry entry = null;

        if (name != null)
        {
            entry = (SkinEntry) Registry.getEntry(Registry.SKIN, name);
        }

        // either we don't have any skin defined, the skin reference is null
        // or the skin reference is invalid, in all case, retrieve the default
        // skin entry
        if (entry == null)
        {
            entry = (SkinEntry) Registry.getEntry(Registry.SKIN, this.defaultSkin);
        }

        if (entry != null)
        {
            // build the PortletSkin object
            result.setName(entry.getName());
            result.putAll(entry.getParameterMap());
        }

        // Make the skin aware of what the user agent is capable of.
        JetspeedRunDataService jrds =
            (JetspeedRunDataService) ServiceUtil.getServiceByName(RunDataService.SERVICE_NAME);
View Full Code Here

Examples of org.apache.jetspeed.om.registry.SkinEntry

     */
    public PortletSkin getSkin(String name)
    {
        BasePortletSkin result = new BasePortletSkin();

        SkinEntry entry = null;

        if (name != null)
        {
            entry = (SkinEntry) Registry.getEntry(Registry.SKIN, name);
        }

        // either we don't have any skin defined, the skin reference is null
        // or the skin reference is invalid, in all case, retrieve the default
        // skin entry
        if (entry == null)
        {
            entry = (SkinEntry) Registry.getEntry(Registry.SKIN, this.defaultSkin);
        }

        if (entry != null)
        {
            // build the PortletSkin object
            result.setName(entry.getName());
            result.putAll(entry.getParameterMap());
        }

        // Make the skin aware of what the user agent is capable of.
        JetspeedRunDataService jrds =
            (JetspeedRunDataService) ServiceUtil.getServiceByName(RunDataService.SERVICE_NAME);
View Full Code Here

Examples of org.apache.jetspeed.om.registry.SkinEntry

        if (mode != null
            && (mode.equals(SecurityConstants.PARAM_MODE_DELETE)
                || mode.equals(SecurityConstants.PARAM_MODE_UPDATE)))
        {
            String skinName = rundata.getParameters().getString("skinname");
            SkinEntry skinEntry =
                (SkinEntry) Registry.getEntry(Registry.SKIN, skinName);
            context.put("entry", skinEntry);
        }
    }
View Full Code Here

Examples of org.apache.jetspeed.om.registry.SkinEntry

                resetForm(rundata);
            }
            else
            {
                //check if profile to be created already exists
                SkinEntry existingSkinEntry =
                    (SkinEntry) Registry.getEntry(Registry.SKIN, skinName);
                if (existingSkinEntry != null)
                {
                    throw new EntityExistsException(
                        "SkinEntry: " + skinName + " Already Exists!");
View Full Code Here

Examples of org.apache.jetspeed.om.registry.SkinEntry

                resetForm(rundata);
            }
            else
            {
                SkinEntry skinEntry =
                    (SkinEntry) Registry.getEntry(Registry.SKIN, skinName);

                skinEntry.getParameterMap().clear();

                addParameters(rundata, skinEntry);
               
                clearUserData(rundata);
            }
View Full Code Here

Examples of org.apache.jetspeed.om.registry.SkinEntry

        if (mode != null
            && (mode.equals(SecurityConstants.PARAM_MODE_DELETE)
                || mode.equals(SecurityConstants.PARAM_MODE_UPDATE)))
        {
            String skinName = rundata.getParameters().getString("skinname");
            SkinEntry skinEntry =
                (SkinEntry) Registry.getEntry(Registry.SKIN, skinName);
            context.put("entry", skinEntry);
        }
    }
View Full Code Here

Examples of org.apache.jetspeed.om.registry.SkinEntry

     */
    public PortletSkin getSkin(String name)
    {
        BasePortletSkin result = new BasePortletSkin();

        SkinEntry entry = null;

        if (name != null)
        {
            entry = (SkinEntry) Registry.getEntry(Registry.SKIN, name);
        }

        // either we don't have any skin defined, the skin reference is null
        // or the skin reference is invalid, in all case, retrieve the default
        // skin entry
        if (entry == null)
        {
            entry = (SkinEntry) Registry.getEntry(Registry.SKIN, this.defaultSkin);
        }

        if (entry != null)
        {
            // build the PortletSkin object
            result.setName(entry.getName());
            result.putAll(entry.getParameterMap());
        }

        // Make the skin aware of what the user agent is capable of.
        JetspeedRunDataService jrds =
            (JetspeedRunDataService) ServiceUtil.getServiceByName(RunDataService.SERVICE_NAME);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.