Returns the list of properties to sort the results according to.<p>

@param includeType <code>true</code> to include sort according to type

@return the sort list
354256
private LinkedHashMap<String, String> getSortList(boolean includeType) {

        LinkedHashMap<String, String> list = new LinkedHashMap<String, String>();
        list.put(SortParams.title_asc.name(), Messages.get().key(Messages.GUI_SORT_LABEL_TITLE_ASC_0));
        list.put(SortParams.title_desc.name(), Messages.get().key(Messages.GUI_SORT_LABEL_TITLE_DECS_0));
        list.put(
            SortParams.dateLastModified_asc.name(),
            Messages.get().key(Messages.GUI_SORT_LABEL_DATELASTMODIFIED_ASC_0));
        list.put(
            SortParams.dateLastModified_desc.name(),
            Messages.get().key(Messages.GUI_SORT_LABEL_DATELASTMODIFIED_DESC_0));
        list.put(SortParams.path_asc.name(), Messages.get().key(Messages.GUI_SORT_LABEL_PATH_ASC_0));
        list.put(SortParams.path_desc.name(), Messages.get().key(Messages.GUI_SORT_LABEL_PATH_DESC_0));
        if (includeType) {
            list.put(SortParams.type_asc.name(), Messages.get().key(Messages.GUI_SORT_LABEL_TYPE_ASC_0));
            list.put(SortParams.type_desc.name(), Messages.get().key(Messages.GUI_SORT_LABEL_TYPE_DESC_0));
        }
        return list;
    }
1275755
protected List<String> getIgnoredProperties() {

        if (m_ignoredProperties == null) {
            // get list of ignored properties
            m_ignoredProperties = OpenCms.getImportExportManager().getIgnoredProperties();
            if (m_ignoredProperties == null) {
                m_ignoredProperties = Collections.emptyList();
            }
        }
        return m_ignoredProperties;
    }
369973
public List<JspPropertyGroupType<JspConfigType<T>>> getAllJspPropertyGroup()
   {
      List<JspPropertyGroupType<JspConfigType<T>>> list = new ArrayList<JspPropertyGroupType<JspConfigType<T>>>();
      List<Node> nodeList = childNode.get("jsp-property-group");
      for(Node node: nodeList)
      {
         JspPropertyGroupType<JspConfigType<T>>  type = new JspPropertyGroupTypeImpl<JspConfigType<T>>(this, "jsp-property-group", childNode, node);
         list.add(type);
      }
      return list;
   }
858798
public SupertypeQueryResults getSupertypeQueryResults(ClassDescriptor classDescriptor) {
        SupertypeQueryResults supertypeQueryResults = supertypeSetMap.get(classDescriptor);
        if (supertypeQueryResults == null) {
            supertypeQueryResults = computeSupertypes(classDescriptor);
            supertypeSetMap.put(classDescriptor, supertypeQueryResults);
        }
        return supertypeQueryResults;
    }
924311
public List<String> getDetailPages(CmsObject cms, String type) {

        CmsConfigurationCache cache = isOnline(cms) ? m_onlineCache : m_offlineCache;
        return cache.getState().getDetailPages(type);
    }
1263796
@SuppressWarnings("unchecked")
    public final <C extends T> PropertyList<C> getProperties(final String name) {
        final PropertyList<C> list = new PropertyList<C>();
        for (final T p : this) {
            if (p.getName().equalsIgnoreCase(name)) {
                list.add((C) p);
            }
        }
        return list;
    }
935272
public static <T> List<T> sortByProperty(List<T> list, String property) {
		return sort(list, new PropertyComparator<>(property));
	}
91838
public static List<I_CmsResourceType> getResourceTypes() {

        List<I_CmsResourceType> res = new ArrayList<I_CmsResourceType>();
        for (I_CmsResourceType type : OpenCms.getResourceManager().getResourceTypes()) {
            CmsExplorerTypeSettings typeSetting = OpenCms.getWorkplaceManager().getExplorerTypeSetting(
                type.getTypeName());
            if (typeSetting != null) {
                res.add(type);
            }
        }
        return res;
    }
1117334
public List<FacesConfigPropertyType<FacesConfigConverterType<T>>> getAllProperty()
   {
      List<FacesConfigPropertyType<FacesConfigConverterType<T>>> list = new ArrayList<FacesConfigPropertyType<FacesConfigConverterType<T>>>();
      List<Node> nodeList = childNode.get("property");
      for(Node node: nodeList)
      {
         FacesConfigPropertyType<FacesConfigConverterType<T>>  type = new FacesConfigPropertyTypeImpl<FacesConfigConverterType<T>>(this, "property", childNode, node);
         list.add(type);
      }
      return list;
   }
839240
public static Sort by(final String... properties) {

    Assert.notNull(properties, "Properties must not be null!");

    return properties.length == 0 ? Sort.unsorted() : new Sort(properties);
  }
8183
public boolean matchType(CmsLogEntryType type) {

        if (m_excludeTypes.contains(type)) {
            return false;
        }
        if (m_includeTypes.isEmpty()) {
            return true;
        }
        return m_includeTypes.contains(type);
    }
406211
public List<ChoiceBase> getChoiceList()
    {
        if (hasExcludes())
        {
            if (m_cachedList != null)
            {
                return m_cachedList;
            }
            final List<ChoiceBase> retList = new ArrayList<ChoiceBase>();
            for (ChoiceBase choiceBase:m_propertyMetadata.getChoiceList())
            {
                final String key = choiceBase.getKey().toString();
                if (!m_excludes.contains(key))
                {
                    retList.add(choiceBase);
                }
            }
            m_cachedList = retList;
            return retList;
        }
        return m_propertyMetadata.getChoiceList();
    }
660246
protected List<CmsProperty> getOpenCmsProperties(Map<String, PropertyData<?>> properties) {

        List<CmsProperty> cmsProperties = new ArrayList<CmsProperty>();
        for (Map.Entry<String, PropertyData<?>> entry : properties.entrySet()) {
            String propId = entry.getKey();
            if (propId.startsWith(CmsCmisTypeManager.PROPERTY_PREFIX)) {
                String propName = propId.substring(CmsCmisTypeManager.PROPERTY_PREFIX.length());
                String value = (String)entry.getValue().getFirstValue();
                if (value == null) {
                    value = "";
                }
                cmsProperties.add(new CmsProperty(propName, value, null));
            }
        }
        return cmsProperties;
    }
182682
@Override
	public Map<String, Object> getChildren(Boolean includeInheritedFields)
	{
		Map<String, Object> fields = new HashMap<String, Object>();
		if (includeInheritedFields)
		{
			fields.putAll(super.getChildren(includeInheritedFields));
		}
		fields.put("location", this.location);
		fields.put("type", this.type);
		return fields;
	}
1058940
public static <T> List<T> sortByProperty(Collection<T> collection, String property) {
		return sort(collection, new PropertyComparator<>(property));
	}
211430
public static List<AbstractType<?>> split(AbstractType<?> type) {
        if (type instanceof CompositeType) {
            return type.getComponents();
        } else {
            List<AbstractType<?>> result = new ArrayList<>(1);
            result.add(type);
            return result;
        }
    }
1131262
public function listContainers($include_properties = false)
    {
        $this->checkConnection();

        if (!empty($this->container)) {
            return $this->listResource($include_properties);
        }

        /** @var \MicrosoftAzure\Storage\Blob\Models\ListContainersResult $result */
        $result = $this->blobConn->listContainers();

        /** @var \MicrosoftAzure\Storage\Blob\Models\Container[] $items */
        $items = $result->getContainers();
        $result = [];
        foreach ($items as $item) {
            $name = $item->getName();
            $out = ['name' => $name, 'path' => $name];
            if ($include_properties) {
                $props = $item->getProperties();
                $out['last_modified'] = gmdate(static::TIMESTAMP_FORMAT, $props->getLastModified()->getTimestamp());
            }
            $result[] = $out;
        }

        return $result;
    }