@Override public TypeId unmarshal(final String v) throws Exception { return new TypeId(v); }
public TypeId getId() { return new TypeId("dummy"); } };
@Override public TypeId unmarshal(final String v) throws Exception { return new TypeId(v); }
@Nonnull public TypeId getId() { return new TypeId("dummy"); } }
@Nonnull public TypeId getId() { return new TypeId(typeId); }
public TypeId getType() { final String id = (String) applinksAdminPropertySet.getProperty(Property.TYPE.key()); return id != null ? new TypeId(id) : null; }
private ApplicationType getApplicationType(URI baseUrl, CreateRequestEntity entity) { if (entity.typeId != null) { return typeAccessor.loadApplicationType(new TypeId(entity.typeId)); } try { final Manifest manifest = manifestRetriever.getManifest(baseUrl); return typeAccessor.loadApplicationType(manifest.getTypeId()); } catch (Exception e) { // it might be a generic so don't worry yet log.info("Could not load manifest from remoteUri, creating a generic type link", e); return typeAccessor.loadApplicationType(new TypeId(GenericApplicationType.class.getCanonicalName())); } }
final TypeId typeId = new TypeId(getRequiredJSONString(obj, TYPE)); final EntityType type = typeAccessor.loadEntityType(typeId);
linkService.addApplicationLink( aid, typeAccessor.loadApplicationType(new TypeId(RefAppApplicationType.class.getCanonicalName())), ApplicationLinkDetails.builder() .displayUrl(new URI("http://unvoodoo.com"))