mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3987 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4133 . Removed LicenseComponent reference from projects\repository\source\java\org\alfresco\repo\descriptor\DescriptorServiceImpl.java git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -36,6 +36,7 @@ public class ClientElementReader implements ConfigElementReader
|
||||
public static final String ELEMENT_SEARCHMINIMUM = "search-minimum";
|
||||
public static final String ELEMENT_SEARCHANDTERMS = "search-and-terms";
|
||||
public static final String ELEMENT_SEARCHMAXRESULTS = "search-max-results";
|
||||
public static final String ELEMENT_SELECTORSSEARCHMAXRESULTS = "selectors-search-max-results";
|
||||
public static final String ELEMENT_HOMESPACEPERMISSION = "home-space-permission";
|
||||
public static final String ELEMENT_FROMEMAILADDRESS = "from-email-address";
|
||||
public static final String ELEMENT_SHELFVISIBLE = "shelf-visible";
|
||||
@@ -111,6 +112,14 @@ public class ClientElementReader implements ConfigElementReader
|
||||
configElement.setSearchMaxResults(Integer.parseInt(searchMaxResults.getTextTrim()));
|
||||
}
|
||||
|
||||
// get the selectors search max results size
|
||||
Element selectorsSearchMaxResults = element.element(ELEMENT_SELECTORSSEARCHMAXRESULTS);
|
||||
if (selectorsSearchMaxResults != null)
|
||||
{
|
||||
configElement.setSelectorsSearchMaxResults(
|
||||
Integer.parseInt(selectorsSearchMaxResults.getTextTrim()));
|
||||
}
|
||||
|
||||
// get the default permission for newly created users Home Spaces
|
||||
Element permission = element.element(ELEMENT_HOMESPACEPERMISSION);
|
||||
if (permission != null)
|
||||
|
Reference in New Issue
Block a user