Returns all <code>mail-session</code> elements
@return list of <code>mail-session</code>
516592
public List<MailSessionType<WebAppType<T>>> getAllMailSession()
   {
      List<MailSessionType<WebAppType<T>>> list = new ArrayList<MailSessionType<WebAppType<T>>>();
      List<Node> nodeList = childNode.get("mail-session");
      for(Node node: nodeList)
      {
         MailSessionType<WebAppType<T>>  type = new MailSessionTypeImpl<WebAppType<T>>(this, "mail-session", childNode, node);
         list.add(type);
      }
      return list;
   }
254906
public List<String> getHeapsForSession(IoSession session) {
        List<String> ret = new ArrayList<String>();
        try {
            subTermLock.lock();
            Multiset<String> s = heapsByClient.get(session);
            if (s != null) {
                ret.addAll(s.keySet());
            }
        } finally {
            subTermLock.unlock();
        }
        return ret;
    }
1370648
public String getAccountEmail() {
    if (emails != null) {
      for (final Entry<String, String> entry : emails.entrySet()) {
        if (entry.getValue().equals("account")) {
          return entry.getKey();
        }
      }
    }
    return null;
  }
243235
@SuppressWarnings("unchecked")
    public List<Repository> getAll()
    {
        final Criteria criteria = sessionService.getSession().createCriteria(Repository.class);
        List<Repository> list = criteria.list();
		HibernateLazyInitializer.initCollection(list);
		return list;
	}
351287
public List<T> pollAll() {
    List<T> retList = new ArrayList<T>(size);
    pollAllToList(retList);
    return retList;
  }
924809
public List<String> getAll() {
		List<String> values = new ArrayList<String>();
		for (DataColumn column : columns) {
			values.add(content.get(column));
		}
		return values;
	}
622614
public List<T> elementList() {

        if (m_cache != null) {
            return m_cache;
        }
        if (m_relativeOrdered) {
            List<T> objectList = new ArrayList<T>();
            Iterator<CmsIdObjectElement<T>> itObjs = m_orderedObjectList.iterator();
            while (itObjs.hasNext()) {
                CmsIdObjectElement<T> object = itObjs.next();
                objectList.add(object.getObject());
            }
            m_cache = Collections.unmodifiableList(objectList);
        } else {
            m_cache = Collections.unmodifiableList(m_objectList);
        }
        return m_cache;
    }
1129383
private String getEmailAddresses() {

        List<String> emails = new ArrayList<String>();
        Iterator<String> itIds = idsList().iterator();
        while (itIds.hasNext()) {
            String id = itIds.next();
            CmsSessionInfo session = OpenCms.getSessionManager().getSessionInfo(id);
            if (session != null) {
                try {
                    String emailAddress = getCms().readUser(session.getUserId()).getEmail();
                    if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(emailAddress) && !emails.contains(emailAddress)) {
                        emails.add(emailAddress);
                    }
                } catch (Exception e) {
                    LOG.error(e.getLocalizedMessage(), e);
                }
            }
        }
        StringBuffer result = new StringBuffer(256);
        Iterator<String> itEmails = emails.iterator();
        while (itEmails.hasNext()) {
            result.append(itEmails.next());
            if (itEmails.hasNext()) {
                result.append("; ");
            }
        }
        return result.toString();
    }
709254
public lucee.runtime.net.mail.Server[] getMailServers() {
	if (applicationContext != null) {
	    lucee.runtime.net.mail.Server[] appms = ((ApplicationContextSupport) applicationContext).getMailServers();
	    if (ArrayUtil.isEmpty(appms)) return config.getMailServers();

	    lucee.runtime.net.mail.Server[] cms = config.getMailServers();
	    if (ArrayUtil.isEmpty(cms)) return appms;

	    lucee.runtime.net.mail.Server[] arr = ServerImpl.merge(appms, cms);
	    return arr;
	}
	return config.getMailServers();
    }
820663
public List<ConcurrentMethodType<SessionBeanType<T>>> getAllConcurrentMethod()
   {
      List<ConcurrentMethodType<SessionBeanType<T>>> list = new ArrayList<ConcurrentMethodType<SessionBeanType<T>>>();
      List<Node> nodeList = childNode.get("concurrent-method");
      for(Node node: nodeList)
      {
         ConcurrentMethodType<SessionBeanType<T>>  type = new ConcurrentMethodTypeImpl<SessionBeanType<T>>(this, "concurrent-method", childNode, node);
         list.add(type);
      }
      return list;
   }
851903
public List<MessageDestinationType<WebFragmentDescriptor>> getAllMessageDestination()
   {
      List<MessageDestinationType<WebFragmentDescriptor>> list = new ArrayList<MessageDestinationType<WebFragmentDescriptor>>();
      List<Node> nodeList = model.get("message-destination");
      for(Node node: nodeList)
      {
         MessageDestinationType<WebFragmentDescriptor>  type = new MessageDestinationTypeImpl<WebFragmentDescriptor>(this, "message-destination", model, node);
         list.add(type);
      }
      return list;
   }
82083
protected Collection<Field> getSessionFields(Class<?> clazz) {
        Collection<Field> fields = fieldMap.get(clazz);
        if (fields == null) {
            fields = ReflectUtil.getFields(clazz);
            Iterator<Field> iterator = fields.iterator();
            while (iterator.hasNext()) {
                Field field = iterator.next();
                if (!field.isAnnotationPresent(Session.class)) {
                    iterator.remove();
                }
            }
            fieldMap.put(clazz, fields);
        }
        return fields;
    }
913589
public List<CmsSolrIndex> getAllSolrIndexes() {

        List<CmsSolrIndex> result = new ArrayList<CmsSolrIndex>();
        for (String indexName : getIndexNames()) {
            CmsSolrIndex index = getIndexSolr(indexName);
            if (index != null) {
                result.add(index);
            }
        }
        return result;
    }
305178
public Collection<EmailAlias> getEmailAliases() {
        URL url = EMAIL_ALIASES_URL_TEMPLATE.build(this.getAPI().getBaseURL(), this.getID());
        BoxAPIRequest request = new BoxAPIRequest(this.getAPI(), url, "GET");
        BoxJSONResponse response = (BoxJSONResponse) request.send();
        JsonObject responseJSON = JsonObject.readFrom(response.getJSON());

        int totalCount = responseJSON.get("total_count").asInt();
        Collection<EmailAlias> emailAliases = new ArrayList<EmailAlias>(totalCount);
        JsonArray entries = responseJSON.get("entries").asArray();
        for (JsonValue value : entries) {
            JsonObject emailAliasJSON = value.asObject();
            emailAliases.add(new EmailAlias(emailAliasJSON));
        }

        return emailAliases;
    }
152581
private Result listSessions() {
        StringBuilder sb = new StringBuilder("<!DOCTYPE html>\n" +
                "<html lang=\"en\">\n" +
                "<head>\n" +
                "        <meta charset=\"utf-8\">\n" +
                "        <title>Training sessions - DL4J Training UI</title>\n" +
                "    </head>\n" +
                "\n" +
                "    <body>\n" +
                "        <h1>DL4J Training UI</h1>\n" +
                "        <p>UI server is in multi-session mode." +
                " To visualize a training session, please select one from the following list.</p>\n" +
                "        <h2>List of attached training sessions</h2>\n");
        if (!knownSessionIDs.isEmpty()) {
            sb.append("        <ul>");
            for (String sessionId : knownSessionIDs.keySet()) {
                sb.append("            <li><a href=\"train/" + sessionId + "\">" + sessionId + "</a></li>\n");
            }
            sb.append("        </ul>");
        } else {
            sb.append("No training session attached.");
        }

        sb.append("    </body>\n" +
                "</html>\n");
        return ok(sb.toString()).as("text/html; charset=utf-8");
    }
966269
protected List<CmsUser> getNotificationMailRecipients() {

        String group = getWorkflowProjectManagerGroup();
        CmsObject cms = m_adminCms;
        try {
            List<CmsUser> users = cms.getUsersOfGroup(group);
            return users;
        } catch (CmsException e) {
            LOG.error(e.getLocalizedMessage(), e);
            return new ArrayList<CmsUser>();
        }
    }
228465
public function getEmails()
    {
        $entities = [];
        if ($this->entity->getEmails()) {
            foreach ($this->entity->getEmails() as $email) {
                $entities[] = $email;
            }
        }

        return $entities;
    }