Package org.apache.pluto.om.common

Examples of org.apache.pluto.om.common.ObjectID


        }
    }

    public MutablePortletEntity getPortletEntity( String id )
    {
        ObjectID oid = JetspeedObjectID.createFromString(id);
        return getPortletEntity(oid);
    }
View Full Code Here


     */
    public MutablePortletEntity generateEntityFromFragment( Fragment fragment, String principal )
            throws PortletEntityNotGeneratedException
    {
        PortletDefinition pd = registry.getPortletDefinitionByUniqueName(fragment.getName());
        ObjectID entityKey = generateEntityKey(fragment, principal);

        if (pd == null)
        {
            throw new PortletEntityNotGeneratedException("Failed to retrieve Portlet Definition for "
                    + fragment.getName());
        }
        MutablePortletEntity portletEntity = newPortletEntityInstance(pd);
        if (portletEntity == null)
        {
            throw new PortletEntityNotGeneratedException("Failed to create Portlet Entity for " + fragment.getName());
        }
        portletEntity.setId(entityKey.toString());

        return portletEntity;
    }
View Full Code Here

        return JetspeedObjectID.createFromString(key.toString());
    }

    public MutablePortletEntity getPortletEntity( String entityId )
    {
        ObjectID oid = JetspeedObjectID.createFromString(entityId);
        return getPortletEntity(oid);
    }
View Full Code Here

TOP

Related Classes of org.apache.pluto.om.common.ObjectID

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.