mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALFCOM-2981 Cannot find moderated site if I am a 'non-owner' using search field
- Moderated sites now have CONSUMER role for everyone. - Note that I havn't fixed the permissions of existing Moderates Sites, This will only work for new and updated sites. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2005-2007 Alfresco Software Limited.
|
||||
* Copyright (C) 2005-2009 Alfresco Software Limited.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@@ -58,6 +58,14 @@ public class QueryParameterDefImpl implements QueryParameterDefinition
|
||||
|
||||
private String defaultValue;
|
||||
|
||||
/**
|
||||
* QueryParameterDefImpl
|
||||
*
|
||||
* @param qName
|
||||
* @param propertyDefinition
|
||||
* @param hasDefaultValue
|
||||
* @param defaultValue
|
||||
*/
|
||||
public QueryParameterDefImpl(QName qName, PropertyDefinition propertyDefinition, boolean hasDefaultValue, String defaultValue)
|
||||
{
|
||||
this(qName, hasDefaultValue, defaultValue);
|
||||
@@ -65,6 +73,12 @@ public class QueryParameterDefImpl implements QueryParameterDefinition
|
||||
this.dataTypeDefintion = propertyDefinition.getDataType();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param qName
|
||||
* @param hasDefaultValue
|
||||
* @param defaultValue
|
||||
*/
|
||||
private QueryParameterDefImpl(QName qName, boolean hasDefaultValue, String defaultValue)
|
||||
{
|
||||
super();
|
||||
@@ -73,6 +87,13 @@ public class QueryParameterDefImpl implements QueryParameterDefinition
|
||||
this.defaultValue = defaultValue;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param qName
|
||||
* @param dataTypeDefintion
|
||||
* @param hasDefaultValue
|
||||
* @param defaultValue
|
||||
*/
|
||||
public QueryParameterDefImpl(QName qName, DataTypeDefinition dataTypeDefintion, boolean hasDefaultValue, String defaultValue)
|
||||
{
|
||||
this(qName, hasDefaultValue, defaultValue);
|
||||
|
Reference in New Issue
Block a user