Fixed some javadoc errors. REPO-466

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@128510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Martin Muller
2016-07-01 08:34:26 +00:00
parent 62f23286dc
commit e39e468fff
19 changed files with 7 additions and 38 deletions

View File

@@ -174,7 +174,6 @@ public abstract class AbstractArchivedNodeWebScript extends DeclarativeWebScript
* @param storeRef mandatory store ref * @param storeRef mandatory store ref
* @param paging mandatory paging * @param paging mandatory paging
* @param filter optional filter * @param filter optional filter
* @return PagingResults<NodeRef>
*/ */
protected PagingResults<NodeRef> getArchivedNodesFrom(StoreRef storeRef, ScriptPagingDetails paging, String filter) protected PagingResults<NodeRef> getArchivedNodesFrom(StoreRef storeRef, ScriptPagingDetails paging, String filter)
{ {

View File

@@ -57,7 +57,6 @@ public class ArchivedNodesGet extends AbstractArchivedNodeWebScript
/** /**
* This method is used to inject {@link org.alfresco.repo.web.scripts.archive.ArchivedNodesFilter node filters} on this GET call. * This method is used to inject {@link org.alfresco.repo.web.scripts.archive.ArchivedNodesFilter node filters} on this GET call.
* *
* @param nodeFilters List<ArchivedNodesFilter>
*/ */
public void setArchivedNodeFilters(List<ArchivedNodesFilter> nodeFilters) public void setArchivedNodeFilters(List<ArchivedNodesFilter> nodeFilters)
{ {

View File

@@ -507,7 +507,6 @@ public class ContentStreamer implements ResourceLoaderAware
* @param res WebScriptResponse * @param res WebScriptResponse
* @param modified Date * @param modified Date
* @param eTag String * @param eTag String
* @param model Map<String, Object>
*/ */
protected void setResponseCache(WebScriptResponse res, Date modified, String eTag, Map<String, Object> model) protected void setResponseCache(WebScriptResponse res, Date modified, String eTag, Map<String, Object> model)
{ {

View File

@@ -145,7 +145,6 @@ public class MimetypesGet extends DeclarativeWebScript implements ApplicationCon
* Sets the map of content transformer worker bean names to * Sets the map of content transformer worker bean names to
* message formatting labels * message formatting labels
* *
* @param knownWorkerBeanLabels Map<String, String>
*/ */
public void setKnownWorkerBeanLabels(Map<String, String> knownWorkerBeanLabels) public void setKnownWorkerBeanLabels(Map<String, String> knownWorkerBeanLabels)
{ {

View File

@@ -198,7 +198,6 @@ public class ForumTopicsFilteredGet extends AbstractDiscussionWebScript
* @param searchQuery Pair with query string in first and query language in second * @param searchQuery Pair with query string in first and query language in second
* @param sortAscending boolean * @param sortAscending boolean
* @param paging PagingRequest * @param paging PagingRequest
* @return PagingResults<TopicInfo>
*/ */
protected PagingResults<TopicInfo> doSearch(Pair<String, String> searchQuery, boolean sortAscending, PagingRequest paging) protected PagingResults<TopicInfo> doSearch(Pair<String, String> searchQuery, boolean sortAscending, PagingRequest paging)
{ {
@@ -317,7 +316,6 @@ public class ForumTopicsFilteredGet extends AbstractDiscussionWebScript
* *
* @param finalResults ResultSet * @param finalResults ResultSet
* @param paging PagingRequest * @param paging PagingRequest
* @return PagingResults<TopicInfo>
*/ */
protected PagingResults<TopicInfo> wrap(final ResultSet finalResults, PagingRequest paging) protected PagingResults<TopicInfo> wrap(final ResultSet finalResults, PagingRequest paging)
{ {

View File

@@ -174,7 +174,6 @@ public class StatsGet extends DeclarativeWebScript
* Parses ISO8601 formatted Date Strings. * Parses ISO8601 formatted Date Strings.
* @param start If start is null then defaults to 1 month * @param start If start is null then defaults to 1 month
* @param end If end is null then it defaults to now(); * @param end If end is null then it defaults to now();
* @return Pair <Start,End>
*/ */
public static Pair<LocalDate, LocalDate> getStartAndEndDates(String start, String end) public static Pair<LocalDate, LocalDate> getStartAndEndDates(String start, String end)
{ {

View File

@@ -176,7 +176,6 @@ public class LockInfoImpl implements Serializable, LockInfo
/** /**
* Getter for sharedLockTokens list. * Getter for sharedLockTokens list.
* *
* @return LinkedList<String>
*/ */
@Override @Override
public Set<String> getSharedLockTokens() public Set<String> getSharedLockTokens()
@@ -187,7 +186,6 @@ public class LockInfoImpl implements Serializable, LockInfo
/** /**
* Setter for sharedLockTokens list. * Setter for sharedLockTokens list.
* *
* @param sharedLockTokens Set<String>
*/ */
@Override @Override
public void setSharedLockTokens(Set<String> sharedLockTokens) public void setSharedLockTokens(Set<String> sharedLockTokens)

View File

@@ -329,7 +329,6 @@ public class WebDAV
/** /**
* Return the Alfresco property value for the specified WebDAV property * Return the Alfresco property value for the specified WebDAV property
* *
* @param props Map<QName, Serializable>
* @param davPropName String * @param davPropName String
* @return Object * @return Object
*/ */

View File

@@ -160,7 +160,7 @@ public class WebDAVHelper
* to detect whether clients are performing a renaming shuffle - common during * to detect whether clients are performing a renaming shuffle - common during
* file saving on various clients. * file saving on various clients.
* <p/> * <p/>
* <bALF-3856, ALF-7079, MNT-181</b> * <b>ALF-3856, ALF-7079, MNT-181</b>
* *
* @param renameShufflePattern a regular expression filename match * @param renameShufflePattern a regular expression filename match
*/ */

View File

@@ -76,7 +76,6 @@ public class PublicApiAuthenticatorFactory extends RemoteUserAuthenticatorFactor
/** /**
* Set the headers passed to the gateway for authentication. * Set the headers passed to the gateway for authentication.
* *
* @param outboundHeaders Set<String>
*/ */
public void setOutboundHeaders(Set<String> outboundHeaders) public void setOutboundHeaders(Set<String> outboundHeaders)
{ {

View File

@@ -183,9 +183,7 @@ public class ResourceInspector
/** /**
* Inspects the entity resource and returns meta data about any addresssed/binary properties * Inspects the entity resource and returns meta data about any addresssed/binary properties
* @param api Api * @param api Api
* @param resource Class<?>
* @param entityPath String * @param entityPath String
* @param metainfo List<ResourceMetadata>
*/ */
public static void inspectAddressedProperties(Api api, Class<?> resource, final String entityPath, List<ResourceMetadata> metainfo) public static void inspectAddressedProperties(Api api, Class<?> resource, final String entityPath, List<ResourceMetadata> metainfo)
{ {
@@ -320,7 +318,6 @@ public class ResourceInspector
/** /**
* Inspects the method and returns meta data about its operations * Inspects the method and returns meta data about its operations
* @param resource Class<?>
* @param aMethod Method * @param aMethod Method
* @param httpMethod HttpMethod * @param httpMethod HttpMethod
* @return ResourceOperation * @return ResourceOperation
@@ -548,8 +545,6 @@ public class ResourceInspector
/** /**
* Returns the method for the interface * Returns the method for the interface
* @param resourceInterfaceWithOneMethod Class<? extends ResourceAction>
* @param resource Class<?>
* @return null or a Method * @return null or a Method
*/ */
public static Method findMethod(Class<? extends ResourceAction> resourceInterfaceWithOneMethod, Class<?> resource) public static Method findMethod(Class<? extends ResourceAction> resourceInterfaceWithOneMethod, Class<?> resource)
@@ -566,7 +561,6 @@ public class ResourceInspector
/** /**
* Finds the name of the entity using its annotation. * Finds the name of the entity using its annotation.
* @param annotAttribs Map<String, Object>
* @return the entity name/path * @return the entity name/path
*/ */
protected static String findEntityNameByAnnotationAttributes(Map<String, Object> annotAttribs) protected static String findEntityNameByAnnotationAttributes(Map<String, Object> annotAttribs)
@@ -616,7 +610,6 @@ public class ResourceInspector
/** /**
* For a given class, looks for @EmbeddedEntityResource annotations, using the annotation produce * For a given class, looks for @EmbeddedEntityResource annotations, using the annotation produce
* a Map of the property name key and the entity key * a Map of the property name key and the entity key
* @param anyClass Class<?>
* @return A map of property key name and a value of the entity path name * @return A map of property key name and a value of the entity path name
*/ */
public static Map<String,Pair<String,Method>> findEmbeddedResources(Class<?> anyClass) public static Map<String,Pair<String,Method>> findEmbeddedResources(Class<?> anyClass)
@@ -644,9 +637,7 @@ public class ResourceInspector
/** /**
* Inspect a resource to find operations on it. * Inspect a resource to find operations on it.
* @param api Api * @param api Api
* @param resource Class<?>
* @param entityPath String * @param entityPath String
* @param metainfo List<ResourceMetadata>
*/ */
public static void inspectOperations(Api api, Class<?> resource, final String entityPath, List<ResourceMetadata> metainfo) public static void inspectOperations(Api api, Class<?> resource, final String entityPath, List<ResourceMetadata> metainfo)
{ {
@@ -698,7 +689,6 @@ public class ResourceInspector
* Inspects the resource to determine what api it belongs to. * Inspects the resource to determine what api it belongs to.
* It does this by looking for the WebApi package annotation. * It does this by looking for the WebApi package annotation.
* *
* @param resource Class<?>
* @return Api * @return Api
*/ */
public static Api inspectApi(Class<?> resource) public static Api inspectApi(Class<?> resource)

View File

@@ -104,7 +104,6 @@ public class ResourceMetadata
/** /**
* Indicates if this resource action is no longer supported. * Indicates if this resource action is no longer supported.
* @param resourceAction Class<? extends ResourceAction>
* @return true if it is no longer supported * @return true if it is no longer supported
*/ */
public boolean isDeleted(Class<? extends ResourceAction> resourceAction) public boolean isDeleted(Class<? extends ResourceAction> resourceAction)

View File

@@ -47,7 +47,6 @@ public class ResourceOperation
* @param httpMethod HttpMethod * @param httpMethod HttpMethod
* @param title String * @param title String
* @param description String * @param description String
* @param parameters List<ResourceParameter>
* @param successStatus HTTP status * @param successStatus HTTP status
*/ */
public ResourceOperation(HttpMethod httpMethod, String title, String description, List<ResourceParameter> parameters, int successStatus) public ResourceOperation(HttpMethod httpMethod, String title, String description, List<ResourceParameter> parameters, int successStatus)

View File

@@ -123,7 +123,6 @@ public class JacksonHelper implements InitializingBean
/** /**
* Constructs the object based on the content. * Constructs the object based on the content.
* @param content Reader * @param content Reader
* @param requiredType Class<T>
* @return T * @return T
* @throws IOException * @throws IOException
*/ */
@@ -143,7 +142,6 @@ public class JacksonHelper implements InitializingBean
/** /**
* Constructs the object based on the content as a List, the JSON can be an array or just a single value without the [] symbols * Constructs the object based on the content as a List, the JSON can be an array or just a single value without the [] symbols
* @param content Reader * @param content Reader
* @param requiredType Class<T>
* @return A collection of the specified type * @return A collection of the specified type
* @throws IOException * @throws IOException
*/ */

View File

@@ -71,7 +71,6 @@ public interface EntityResourceAction
* *
* Paging information is provided. * Paging information is provided.
* @param params - will never be null and will have the PAGING default values * @param params - will never be null and will have the PAGING default values
* @return CollectionWithPagingInfo<E>
*/ */
public CollectionWithPagingInfo<E> readAll (Parameters params); public CollectionWithPagingInfo<E> readAll (Parameters params);
} }
@@ -87,7 +86,6 @@ public interface EntityResourceAction
* *
* Paging information is provided. * Paging information is provided.
* @param params - will never be null and will have the PAGING default values * @param params - will never be null and will have the PAGING default values
* @return CollectionWithPagingInfo<E>
*/ */
public CollectionWithPagingInfo<E> readAll (Parameters params, WithResponse withResponse); public CollectionWithPagingInfo<E> readAll (Parameters params, WithResponse withResponse);
} }

View File

@@ -52,7 +52,6 @@ public interface RelationshipResourceAction
* Paging information is provided. * Paging information is provided.
* @param entityResourceId Entity resource context for this relationship * @param entityResourceId Entity resource context for this relationship
* @param params - will never be null and will have the PAGING default values * @param params - will never be null and will have the PAGING default values
* @return CollectionWithPagingInfo<E>
*/ */
public CollectionWithPagingInfo<E> readAll (String entityResourceId, Parameters params); public CollectionWithPagingInfo<E> readAll (String entityResourceId, Parameters params);
} }
@@ -68,7 +67,6 @@ public interface RelationshipResourceAction
* Paging information is provided. * Paging information is provided.
* @param entityResourceId Entity resource context for this relationship * @param entityResourceId Entity resource context for this relationship
* @param params - will never be null and will have the PAGING default values * @param params - will never be null and will have the PAGING default values
* @return CollectionWithPagingInfo<E>
*/ */
public CollectionWithPagingInfo<E> readAll (String entityResourceId, Parameters params, WithResponse withResponse); public CollectionWithPagingInfo<E> readAll (String entityResourceId, Parameters params, WithResponse withResponse);
} }

View File

@@ -116,7 +116,6 @@ public interface Parameters
/** /**
* A list of property names passed in the request using the json pointer syntax * A list of property names passed in the request using the json pointer syntax
* Specified by the "SELECT" request parameter. * Specified by the "SELECT" request parameter.
* @return List<String> the propertyNames
*/ */
@Deprecated @Deprecated
List<String> getSelectedProperties(); List<String> getSelectedProperties();
@@ -124,7 +123,7 @@ public interface Parameters
/** /**
* A list of property names passed in the request using the json pointer syntax * A list of property names passed in the request using the json pointer syntax
* Specified by the "INCLUDE" request parameter. * Specified by the "INCLUDE" request parameter.
* @return List<String> the propertyNames * @return the propertyNames
*/ */
List<String> getInclude(); List<String> getInclude();

View File

@@ -239,7 +239,7 @@ public class ResourceWebScriptHelper
/** /**
* Takes the "select" parameter and turns it into a List<String> property names * Takes the "select" parameter and turns it into a List<String> property names
* @param selectParam String * @param selectParam String
* @return List<String> bean property names potentially using JSON Pointer syntax * @return bean property names potentially using JSON Pointer syntax
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@Deprecated @Deprecated
@@ -251,7 +251,7 @@ public class ResourceWebScriptHelper
/** /**
* Takes the "include" parameter and turns it into a List<String> property names * Takes the "include" parameter and turns it into a List<String> property names
* @param includeParam String * @param includeParam String
* @return List<String> bean property names potentially using JSON Pointer syntax * @return bean property names potentially using JSON Pointer syntax
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public static List<String> getIncludeClause(String includeParam) throws InvalidArgumentException public static List<String> getIncludeClause(String includeParam) throws InvalidArgumentException
@@ -334,7 +334,7 @@ public class ResourceWebScriptHelper
* e.g. "name DESC, age ASC". It is not case sensitive and the sort direction is optional * e.g. "name DESC, age ASC". It is not case sensitive and the sort direction is optional
* It default to sort ASCENDING. * It default to sort ASCENDING.
* @param sortParams - String passed in on the request * @param sortParams - String passed in on the request
* @return List<SortColumn> - the sort columns or an empty list if the params were invalid. * @return - the sort columns or an empty list if the params were invalid.
*/ */
public static List<SortColumn> getSort(String sortParams) public static List<SortColumn> getSort(String sortParams)
{ {

View File

@@ -122,7 +122,6 @@ public class WebScriptOptionsMetaData extends ApiWebScript implements ResourceMe
/** /**
* Processes the resulting resource and returns the data to be displayed * Processes the resulting resource and returns the data to be displayed
* @param resource ResourceWithMetadata * @param resource ResourceWithMetadata
* @param apiResources Map<String, ResourceWithMetadata>
* @return Either a ExecutionResult or a CollectionWithPagingInfo * @return Either a ExecutionResult or a CollectionWithPagingInfo
*/ */
public static Object processResult(ResourceWithMetadata resource, Map<String, ResourceWithMetadata> apiResources) public static Object processResult(ResourceWithMetadata resource, Map<String, ResourceWithMetadata> apiResources)