Package adalid.core

Class Display

All Implemented Interfaces:
Wrappable, Artifact, Comparable<Display>
Direct Known Subclasses:
Form, Page

public abstract class Display extends AbstractArtifact implements Comparable<Display>
Author:
Jorge Campins
  • Constructor Details

    • Display

      public Display(String name)
  • Method Details

    • isMenuOptionEnabled

      public boolean isMenuOptionEnabled()
    • getMasterDetailViewSequence

      public int getMasterDetailViewSequence()
      Returns:
      the master/detail view sequence
    • setMasterDetailViewSequence

      public void setMasterDetailViewSequence(int sequence)
    • getHelpDocument

      public String getHelpDocument()
      Returns:
      the help file name
    • setHelpDocument

      public void setHelpDocument(String document)
    • getHelpFileName

      public String getHelpFileName()
      Returns:
      the help file name
    • setHelpFileName

      public void setHelpFileName(String fileName)
    • getModule

      public Project getModule()
      Returns:
      the module
    • setModule

      public void setModule(Project module)
      Parameters:
      module - the module to set
    • getDisplaySet

      public DisplaySet getDisplaySet()
      Returns:
      the display set
    • setDisplaySet

      public void setDisplaySet(DisplaySet set)
      Parameters:
      set - the display set to set
    • getEntity

      public Entity getEntity()
      Returns:
      the entity
    • setEntity

      public void setEntity(Entity entity)
      Parameters:
      entity - the entity to set
    • getReference

      public EntityReference getReference()
      Returns:
      the entity reference
    • setReference

      public void setReference(EntityReference reference)
      Parameters:
      reference - the reference to set
    • getMaster

      public Entity getMaster()
      Returns:
      the master
    • setMaster

      public void setMaster(Entity master)
      Parameters:
      master - the master to set
    • getQueryTable

      public QueryTable getQueryTable()
      Returns:
      the query table
    • setQueryTable

      public void setQueryTable(QueryTable queryTable)
      Parameters:
      queryTable - the query table to set
    • getMasterQueryTable

      public QueryTable getMasterQueryTable()
      Returns:
      the master query table
    • setMasterQueryTable

      public void setMasterQueryTable(QueryTable queryTable)
      Parameters:
      queryTable - the master query table to set
    • getDisplayType

      public DisplayType getDisplayType()
      Returns:
      the display type
    • setDisplayType

      protected void setDisplayType(DisplayType displayType)
      Parameters:
      displayType - the display type to set
    • getDisplayMode

      public DisplayMode getDisplayMode()
      Returns:
      the display mode
    • setDisplayMode

      public void setDisplayMode(DisplayMode displayMode)
      Parameters:
      displayMode - the display mode to set
    • getDisplayFormat

      public DisplayFormat getDisplayFormat()
      Returns:
      the display format
    • setDisplayFormat

      public void setDisplayFormat(DisplayFormat displayFormat)
      Parameters:
      displayFormat - the display format to set
    • getRenderingFilter

      public BooleanExpression getRenderingFilter()
      Returns:
      the rendering filter
    • setRenderingFilter

      public void setRenderingFilter(BooleanExpression renderingFilter)
      El método setRenderingFilter se utiliza para establecer el filtro de presentación de vistas (páginas) de registro y consulta. Solo si se cumplen los criterios del filtro, la vista (página) será presentada.
      Parameters:
      renderingFilter - expresión booleana que se utiliza como filtro
    • getSiblings

      public List<Display> getSiblings()
      Returns:
      the siblings list
    • isSibling

      public boolean isSibling(Display display)
    • getChildren

      public List<Display> getChildren()
      Returns:
      the children list
    • getCollaterals

      public List<Display> getCollaterals()
      Returns:
      the collaterals list
    • getFields

      public abstract List<? extends DisplayField> getFields()
      Returns:
      the fields list
    • getFields

      public abstract List<? extends DisplayField> getFields(boolean hidden)
      Parameters:
      hidden - whether hidden fields should be included in the list or not
      Returns:
      the fields list
    • getMasterHeadingFields

      public abstract List<? extends DisplayField> getMasterHeadingFields()
      Returns:
      the master heading fields list
    • getMasterHeadingFields

      public abstract List<? extends DisplayField> getMasterHeadingFields(boolean hidden)
      Parameters:
      hidden - whether hidden fields should be included in the list or not
      Returns:
      the master heading fields list
    • getEntitiesReferencedByFields

      public Set<Entity> getEntitiesReferencedByFields()
      Returns:
      the list of entities referenced by fields
    • getEntitiesReferencedByFields

      public Set<Entity> getEntitiesReferencedByFields(boolean hidden)
      Parameters:
      hidden - whether hidden fields should be included in the set or not
      Returns:
      the list of entities referenced by fields
    • getFieldNames

      public List<String> getFieldNames()
    • getRootFields

      public List<? extends DisplayField> getRootFields()
    • getRootFields

      public List<? extends DisplayField> getRootFields(Step step)
    • getRootFields

      public List<? extends DisplayField> getRootFields(Tab tab)
    • getRootMasterHeadingFields

      public List<? extends DisplayField> getRootMasterHeadingFields()
    • getRootFieldNames

      public List<String> getRootFieldNames()
    • getJoinFields

      public List<? extends DisplayField> getJoinFields()
    • getJoinFieldNames

      public List<String> getJoinFieldNames()
    • getOverlayEntitiesList

      public List<Entity> getOverlayEntitiesList()
    • isApplicationDefaultLocation

      public boolean isApplicationDefaultLocation()
    • isChildViewDisplay

      public boolean isChildViewDisplay()
    • isCollateralViewDisplay

      public boolean isCollateralViewDisplay()
    • compareTo

      public int compareTo(Display o)
      Specified by:
      compareTo in interface Comparable<Display>
    • fieldsToString

      protected String fieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)
      Overrides:
      fieldsToString in class AbstractArtifact