public interface UADHierarchyDeclaration
Modifier and Type | Method and Description |
---|---|
UADDisplay<?>[] |
getContainerUADDisplays()
Returns an array of UAD displays that correspond to a container type.
|
java.lang.String |
getEntitiesTypeLabel(java.util.Locale locale)
Returns the translated label describing the entity types of the
hierarchy.
|
default java.lang.String[] |
getExtraColumnNames()
Returns an array of field names to be rendered as columns in the UAD
portlet's hierarchy view.
|
UADDisplay<?>[] |
getNoncontainerUADDisplays()
Returns an array of UAD displays that correspond to a non-container type.
|
UADDisplay<?>[] getContainerUADDisplays()
getNoncontainerUADDisplays()
. Often, an array of just one item is
sufficient (in the case of folders and files, only a UAD display
correlating to the folder type is returned).java.lang.String getEntitiesTypeLabel(java.util.Locale locale)
locale
- the current localedefault java.lang.String[] getExtraColumnNames()
UADDisplay#getFieldValues(Object,
String[])
method of each UAD display returned from getContainerUADDisplays()
and getNoncontainerUADDisplays()
.UADDisplay<?>[] getNoncontainerUADDisplays()
getContainerUADDisplays()
. For example, in a folder and file structure,
this returns the UAD display related to files.