Examples of PsmlEntry


Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

            printOk();

            Iterator pItr = childPortlets.getEntriesIterator();
            while (pItr.hasNext())
            {
                PsmlEntry entry = (PsmlEntry) pItr.next();

                if (idsWithSkins == null || !idsWithSkins.contains(entry.getId()))
                {
                    print("Verify skin *IS NOT* set for portlet " + getNameTag(entry) + "...");
                    assertNull(entry.getSkin());
                }
                else
                {
                    print("Verify skin *IS* set for portlet " + getNameTag(entry) + "...");
                    assertNotNull(entry.getSkin());
                }
                printOk();
            }
        }
    }
View Full Code Here

Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

        }
    }
   
    private PsmlEntry createEntry(java.lang.String parent, java.lang.String id)
    {
        PsmlEntry entry = new PsmlEntry();
        entry.setParent( parent);
        if (id != null)
            entry.setId( id);
        return entry;
    }
View Full Code Here

Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

        //        System.out.println("text length = " + theResponse.getText());
    }

    private PsmlEntry createEntry(java.lang.String parent, java.lang.String id)
    {
        PsmlEntry entry = new PsmlEntry();
        entry.setParent( parent);
        if (id != null)
            entry.setId( id);
        return entry;
    }
View Full Code Here

Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

        for (int i = 0; i < columns.length; i++)
        {
            List portletList = (List) columns[i];
            for (int j = 0; j < portletList.size(); j++)
            {
                PsmlEntry entry = (PsmlEntry) portletList.get(j);
                String portletTitle = (String) portletTitleMap.get(entry.getId());
                String portletSkinName = entry.getSkin() == null ? "-- Default --" : entry.getSkin().getName();
                String portletSecurityId =
                    entry.getSecurityRef() == null ?
                    "-- Default --" :
                    entry.getSecurityRef().getParent();
                String controlListBox =
                (entry.getControl() != null && entry.getControl().getName() != null) ?
                    JetspeedTool.getPortletParameter(rundata,
                                                     (Portlet) rundata.getUser().getTemp("customizer"),
                                                      "control", entry.getControl().getName()) :
                    JetspeedTool.getPortletParameter(rundata, (Portlet) rundata.getUser().getTemp("customizer"), "control");
                controlListBox = controlListBox.substring(12);
                controlListBox = controlListBox.replace('\n', ' ');
                controlListBox = controlListBox.replace('\r', ' ');
                int z = 0;
View Full Code Here

Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

                                        
                                       }
                    */
                    if (addIt)
                    {
                        Entry p = new PsmlEntry();
                        // add the ClearPortletControl to wml entries     
                        //if (isWML)
                        //  p.setControl (ctrl);

                        p.setParent(pnames[i]);
                        p.setId(JetspeedIdGenerator.getNextPeid());
                        //                      SecurityReference defaultRef = PortalToolkit.getDefaultSecurityRef(
                        //                          ((JetspeedRunData) rundata).getCustomizedProfile());
                        //                      if (defaultRef != null)
                        //                      {
                        //                          if (Log.getLogger().isDebugEnabled())
View Full Code Here

Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

        }
    }
   
    private PsmlEntry createEntry(String parent, String entryId, SecurityReference security)
    {
        PsmlEntry entry = new PsmlEntry();
        entry.setParent( parent);
        if (entryId != null)
            entry.setId( entryId);
        if (security != null)
            entry.setSecurityRef( security);
        return entry;
    }
View Full Code Here

Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

        }
    }
   
    private PsmlEntry createEntry(java.lang.String parent, java.lang.String id)
    {
        PsmlEntry entry = new PsmlEntry();
        entry.setParent( parent);
        if (id != null)
            entry.setId( id);
        return entry;
    }
View Full Code Here

Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

                     
                    }
*/
                    if (addIt)
                    {
                      Entry p = new PsmlEntry();
                      // add the ClearPortletControl to wml entries     
                      //if (isWML)
                      //  p.setControl (ctrl);
                   
                      p.setParent(pnames[i]);
                      p.setId(JetspeedIdGenerator.getNextPeid());
//                      SecurityReference defaultRef = PortalToolkit.getDefaultSecurityRef(
//                          ((JetspeedRunData) rundata).getCustomizedProfile());
//                      if (defaultRef != null)
//                      {
//                          if (Log.getLogger().isDebugEnabled())
View Full Code Here

Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

            printOk();

            Iterator pItr = childPortlets.getEntriesIterator();
            while (pItr.hasNext())
            {
                PsmlEntry entry = (PsmlEntry) pItr.next();

                if (idsWithSkins == null || !idsWithSkins.contains(entry.getId()))
                {
                    print("Verify skin *IS NOT* set for portlet " + getNameTag(entry) + "...");
                    assertNull(entry.getSkin());
                }
                else
                {
                    print("Verify skin *IS* set for portlet " + getNameTag(entry) + "...");
                    assertNotNull(entry.getSkin());
                }
                printOk();
            }
        }
    }
View Full Code Here

Examples of org.apache.jetspeed.om.profile.psml.PsmlEntry

        //        System.out.println("text length = " + theResponse.getText());
    }

    private PsmlEntry createEntry(java.lang.String parent, java.lang.String id)
    {
        PsmlEntry entry = new PsmlEntry();
        entry.setParent( parent);
        if (id != null)
            entry.setId( id);
        return entry;
    }
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.