Class ProyectoMavenPrime

    • Field Detail

      • PRIMEFACES_THEME

        protected static final java.lang.String PRIMEFACES_THEME
        See Also:
        Constant Field Values
      • PRIMEFACES_THEME_GROUP_ID

        protected static final java.lang.String PRIMEFACES_THEME_GROUP_ID
        See Also:
        Constant Field Values
      • PRIMEFACES_THEME_ARTIFACT_ID

        protected static final java.lang.String PRIMEFACES_THEME_ARTIFACT_ID
        See Also:
        Constant Field Values
      • PRIMEFACES_THEME_VERSION

        protected static final java.lang.String PRIMEFACES_THEME_VERSION
        See Also:
        Constant Field Values
      • PRIMEFACES_THEME_SWITCHING_ENABLED

        protected static final java.lang.String PRIMEFACES_THEME_SWITCHING_ENABLED
        See Also:
        Constant Field Values
      • PRIMEFACES_VERSION

        protected static final java.lang.String PRIMEFACES_VERSION
        See Also:
        Constant Field Values
      • PRIMEFACES_EXTENSIONS_VERSION

        protected static final java.lang.String PRIMEFACES_EXTENSIONS_VERSION
        See Also:
        Constant Field Values
      • GOOGLE_GSON_VERSION

        protected static final java.lang.String GOOGLE_GSON_VERSION
        See Also:
        Constant Field Values
      • VERSION_PRIMEFACES

        protected static final java.lang.String VERSION_PRIMEFACES
        See Also:
        Constant Field Values
      • VERSION_PRIMEFACES_EXTENSIONS

        protected static final java.lang.String VERSION_PRIMEFACES_EXTENSIONS
        See Also:
        Constant Field Values
      • VERSION_GOOGLE_GSON

        protected static final java.lang.String VERSION_GOOGLE_GSON
        See Also:
        Constant Field Values
      • DEFAULT_THEME_GROUP_ID

        protected static final java.lang.String DEFAULT_THEME_GROUP_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProyectoMavenPrime

        public ProyectoMavenPrime()
    • Method Detail

      • loadPrivateProperties

        protected void loadPrivateProperties​(org.apache.log4j.Level level,
                                             org.apache.commons.collections.ExtendedProperties properties)
        Overrides:
        loadPrivateProperties in class Project
      • allThemesContains

        public boolean allThemesContains​(java.lang.String theme)
        Returns true if PrimeFaces all-themes jar contains the specified theme.
        Parameters:
        theme - theme whose presence is to be tested
        Returns:
        true if PrimeFaces all-themes jar contains the specified theme
      • primefacesJarContains

        public boolean primefacesJarContains​(java.lang.String version,
                                             java.lang.String theme)
        Returns true if PrimeFaces jar of the specified major version (from 11 onwards) contains the specified theme.
        Parameters:
        version - PrimeFaces major version, from 11 onwards
        theme - theme whose presence is to be tested
        Returns:
        true if PrimeFaces jar of the specified major version (from 11 onwards) contains the specified theme
      • getTheme

        public java.lang.String getTheme()
        Returns:
        the theme
      • setTheme

        public void setTheme​(java.lang.String theme)
        El método setTheme se utiliza para especificar el nombre del tema de interfaz gráfica del proyecto generado. El valor predeterminado de esta propiedad es saga (campo SAGA de la clase PrimeFacesThemes).
        Parameters:
        theme - nombre del tema de interfaz gráfica del proyecto generado; si el proyecto generado permite cambiar el tema, este será el nombre del tema inicial. Puede utilizar como argumento los campos definidos en la clase PrimeFacesThemes.
      • getDefaultTheme

        protected java.lang.String getDefaultTheme()
      • getThemeDialogWidthSubtrahend

        public int getThemeDialogWidthSubtrahend()
      • setThemeDialogWidthSubtrahend

        public void setThemeDialogWidthSubtrahend​(int subtrahend)
        El método setThemeDialogWidthSubtrahend se utiliza para especificar la cantidad de pixeles para ajustar el ancho de diálogos dinámicos.
        Parameters:
        subtrahend - cantidad de pixeles; debe ser un numero entre 0 y 320. El valor prdeterminado es 64.
      • getThemeDialogHeightSubtrahend

        public int getThemeDialogHeightSubtrahend()
      • setThemeDialogHeightSubtrahend

        public void setThemeDialogHeightSubtrahend​(int subtrahend)
        El método setThemeDialogHeightSubtrahend se utiliza para especificar la cantidad de pixeles para ajustar el alto de diálogos dinámicos.
        Parameters:
        subtrahend - cantidad de pixeles; debe ser un numero entre 0 y 240. El valor prdeterminado es 80.
      • setThemeDialogPosition

        public void setThemeDialogPosition​(ProyectoMavenPrime.DialogPosition position)
        El método setThemeDialogPosition se utiliza para especificar la posición inicial de diálogos dinámicos.
        Parameters:
        position - elemento de la enumeración ProyectoMavenPrime.DialogPosition. El valor prdeterminado es DialogPosition.CENTER.
      • getThemeGroupId

        public java.lang.String getThemeGroupId()
        Returns:
        the theme group id
      • setThemeGroupId

        public void setThemeGroupId​(java.lang.String groupId)
        El método setThemeGroupId se utiliza para especificar el grupo del artefacto Maven del tema de interfaz gráfica del proyecto generado. El valor predeterminado de esta propiedad es org.primefaces.themes.
        Parameters:
        groupId - grupo del artefacto Maven del tema de la interfaz gráfica del proyecto generado.
      • getDefaultThemeGroupId

        protected java.lang.String getDefaultThemeGroupId()
      • getThemeArtifactId

        public java.lang.String getThemeArtifactId()
        Returns:
        the theme artifact id
      • setThemeArtifactId

        public void setThemeArtifactId​(java.lang.String artifactId)
        El método setThemeArtifactId se utiliza para especificar el nombre del artefacto Maven del tema de interfaz gráfica del proyecto generado.
        Parameters:
        artifactId - nombre del artefacto Maven del tema de la interfaz gráfica del proyecto generado.
      • getDefaultThemeArtifactId

        protected java.lang.String getDefaultThemeArtifactId()
      • getThemeVersion

        public java.lang.String getThemeVersion()
        Returns:
        the theme version
      • setThemeVersion

        public void setThemeVersion​(java.lang.String version)
        El método setThemeVersion se utiliza para especificar la versión del artefacto Maven del tema de interfaz gráfica del proyecto generado.
        Parameters:
        version - versión del artefacto Maven del tema de la interfaz gráfica del proyecto generado.
      • getDefaultThemeVersion

        protected java.lang.String getDefaultThemeVersion()
      • isThemeSwitchingEnabled

        public boolean isThemeSwitchingEnabled()
        Returns:
        true if the theme switching is enabled; false otherwise
      • setThemeSwitchingEnabled

        public void setThemeSwitchingEnabled​(boolean enabled)
        El método setThemeSwitchingEnabled se utiliza para especificar si el proyecto generado permite, o no, cambiar el tema de la interfaz gráfica. El valor predeterminado de esta propiedad es true (permite cambiar el tema).
        Parameters:
        enabled - true, si el proyecto generado permite cambiar el tema de la interfaz gráfica; de lo contrario false.