@Override public PortletLifecycleState getLifecycleState() { return this.portletDefinition.getLifecycleState(); }
@Override public PortletLifecycleState getLifecycleState() { return this.portletDefinition.getLifecycleState(); }
attributes.add( xmlEventFactory.createAttribute( PORTLET_LIFECYCLE_ATTRIBUTE, def.getLifecycleState().toString())); if (descriptorKey.isFrameworkPortlet()) { attributes.add(
attributes.add( xmlEventFactory.createAttribute( PORTLET_LIFECYCLE_ATTRIBUTE, def.getLifecycleState().toString())); if (descriptorKey.isFrameworkPortlet()) { attributes.add(
if (channelDef != null && channelDef .getLifecycleState() .isEqualToOrAfter(PortletLifecycleState.APPROVED)) { structure =
public PortletTuple(IPortletDefinition pdef) { this.id = pdef.getPortletDefinitionId().getStringId(); this.name = pdef.getName(); this.fname = pdef.getFName(); this.description = pdef.getDescription(); this.type = pdef.getType().getName(); this.lifecycleState = pdef.getLifecycleState().toString(); this.categories = getPortletCategories(pdef); }
portletWindowRegistry.getPortletWindow(request, portletWindowId); IPortletDefinition portletDef = portletWindow.getPortletEntity().getPortletDefinition(); if (portletDef.getLifecycleState().equals(PortletLifecycleState.MAINTENANCE)) {
private ChannelBean getChannel( IPortletDefinition definition, WebRequest request, Locale locale) { ChannelBean channel = new ChannelBean(); channel.setId(definition.getPortletDefinitionId().getStringId()); channel.setDescription(definition.getDescription(locale.toString())); channel.setFname(definition.getFName()); channel.setName(definition.getName(locale.toString())); channel.setState(definition.getLifecycleState().toString()); channel.setTitle(definition.getTitle(locale.toString())); channel.setTypeId(definition.getType().getId()); // See api docs for postProcessIconUrlParameter() below IPortletDefinitionParameter iconParameter = definition.getParameter(ICON_URL_PARAMETER_NAME); if (iconParameter != null) { IPortletDefinitionParameter evaluated = postProcessIconUrlParameter(iconParameter, request); channel.setIconUrl(evaluated.getValue()); } return channel; }
categoryBeans.add(new JsonEntityBean(cat)); if (!hasLifecyclePermission(publisher, def.getLifecycleState(), categoryBeans)) { logger.warn( "User '"
final PortletLifecycleState lifecycleState = def.getLifecycleState(); this.setLifecycleState(lifecycleState); final IPortletLifecycleEntry lastLifecycleEntry =