Package org.springframework.roo.project

Examples of org.springframework.roo.project.LogicalPath


        copyArtifacts("form/fields/search-facet.tagx",
                "WEB-INF/tags/form/fields/search-facet.tagx");
        copyArtifacts("form/fields/search-field.tagx",
                "WEB-INF/tags/form/fields/search-field.tagx");

        final LogicalPath path = WebScaffoldMetadata
                .getPath(webScaffoldMetadata.getId());
        xmlRoundTripFileManager.writeToDiskIfNecessary(pathResolver
                .getIdentifier(
                        Path.SRC_MAIN_WEBAPP.getModulePathId(path.getModule()),
                        "WEB-INF/views/"
                                + webScaffoldMetadata.getAnnotationValues()
                                        .getPath() + "/search.jspx"),
                getSearchDocument(webScaffoldMetadata));
View Full Code Here


            // A physical Java type has changed, and determine what the
            // corresponding local metadata identification string would have
            // been
            final JavaType javaType = SolrWebSearchMetadata
                    .getJavaType(upstreamDependency);
            final LogicalPath path = SolrWebSearchMetadata
                    .getPath(upstreamDependency);
            downstreamDependency = SolrJspMetadata.createIdentifier(javaType,
                    path);

            // We only need to proceed if the downstream dependency relationship
View Full Code Here

    private ClassOrInterfaceTypeDetails getGovernor(
            final String metadataIdentificationString) {
        final JavaType governorTypeName = GwtProxyMetadata
                .getJavaType(metadataIdentificationString);
        final LogicalPath governorTypePath = GwtProxyMetadata
                .getPath(metadataIdentificationString);

        final String physicalTypeId = PhysicalTypeIdentifier.createIdentifier(
                governorTypeName, governorTypePath);
        return typeLocationService.getTypeDetails(physicalTypeId);
View Full Code Here

                                            .equals(attributeValue.getValue())) {
                                found = true;
                                final JavaType typeName = PhysicalTypeIdentifier
                                        .getJavaType(proxyCid
                                                .getDeclaredByMetadataId());
                                final LogicalPath typePath = PhysicalTypeIdentifier
                                        .getPath(proxyCid
                                                .getDeclaredByMetadataId());
                                downstreamDependency = GwtProxyMetadata
                                        .createIdentifier(typeName, typePath);
                                break;
                            }
                        }
                    }
                }
                if (!found) {
                    return;
                }
            }
            else {
                // A physical Java type has changed, and determine what the
                // corresponding local metadata identification string would have
                // been
                final JavaType typeName = PhysicalTypeIdentifier
                        .getJavaType(upstreamDependency);
                final LogicalPath typePath = PhysicalTypeIdentifier
                        .getPath(upstreamDependency);
                downstreamDependency = GwtProxyMetadata.createIdentifier(
                        typeName, typePath);
            }
View Full Code Here

    private ClassOrInterfaceTypeDetails getGovernor(
            final String metadataIdentificationString) {
        final JavaType governorTypeName = GwtScaffoldMetadata
                .getJavaType(metadataIdentificationString);
        final LogicalPath governorTypePath = GwtScaffoldMetadata
                .getPath(metadataIdentificationString);

        final String physicalTypeId = PhysicalTypeIdentifier.createIdentifier(
                governorTypeName, governorTypePath);
        return typeLocationService.getTypeDetails(physicalTypeId);
View Full Code Here

            // A physical Java type has changed, and determine what the
            // corresponding local metadata identification string would have
            // been
            final JavaType typeName = PhysicalTypeIdentifier
                    .getJavaType(upstreamDependency);
            final LogicalPath typePath = PhysicalTypeIdentifier
                    .getPath(upstreamDependency);
            downstreamDependency = createLocalIdentifier(typeName, typePath);
        }

        // We only need to proceed if the downstream dependency relationship is
View Full Code Here

                JavaType newClass = new JavaType(newClassName);

                final String focusedModule = projectOperations
                        .getFocusedModuleName();
                final LogicalPath logicalPath = LogicalPath.getInstance(
                        SRC_MAIN_JAVA, focusedModule);

                ClassOrInterfaceTypeDetailsBuilder builder = new ClassOrInterfaceTypeDetailsBuilder(
                        PhysicalTypeIdentifier.createIdentifier(newClass,
                                logicalPath), legacyView);
View Full Code Here

    @Override
    protected String getGovernorPhysicalTypeIdentifier(
            final String metadataIdentificationString) {
        final JavaType javaType = SolrMetadata
                .getJavaType(metadataIdentificationString);
        final LogicalPath path = SolrMetadata
                .getPath(metadataIdentificationString);
        return PhysicalTypeIdentifier.createIdentifier(javaType, path);
    }
View Full Code Here

                // stored within
                final JavaType governorType = itdTypeDetails.getName();
                final String providesType = MetadataIdentificationUtils
                        .getMetadataClass(itdTypeDetails
                                .getDeclaredByMetadataId());
                final LogicalPath itdPath = PhysicalTypeIdentifierNamingUtils
                        .getPath(providesType,
                                itdTypeDetails.getDeclaredByMetadataId());

                // Produce the local MID we're going to use and make the request
                return createLocalIdentifier(governorType, itdPath);
View Full Code Here

        }

        // Acquire bean info (we need getters details, specifically)
        final JavaType javaType = SolrMetadata
                .getJavaType(metadataIdentificationString);
        final LogicalPath path = SolrMetadata
                .getPath(metadataIdentificationString);
        final String jpaActiveRecordMetadataKey = JpaActiveRecordMetadata
                .createIdentifier(javaType, path);

        // We want to be notified if the getter info changes in any way
View Full Code Here

TOP

Related Classes of org.springframework.roo.project.LogicalPath

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.