209210211212213214215216217218219
Validate.notNull(clazz); this.internalId = -1; this.channelType = channelType; this.portletDefinitions = new LinkedHashSet<IPortletDefinition>(); this.portletDefinitions.add(new PortletDefinitionImpl(this)); this.name = name; this.fname = fname; this.title = title; this.clazz = clazz;