mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-1058 / REPO-1242: REST API - list sites - add option to orderBy (id, title or description)
- initial implementation (note: default remains "id asc") - TODO add tests (see REPO-1244) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* #%L
|
||||
* Alfresco Remote API
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* If the software was purchased under a paid Alfresco license, the terms of
|
||||
* the paid license agreement will prevail. Otherwise, the software is
|
||||
* provided under the following open source license terms:
|
||||
*
|
||||
* #%L
|
||||
* Alfresco Remote API
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* If the software was purchased under a paid Alfresco license, the terms of
|
||||
* the paid license agreement will prevail. Otherwise, the software is
|
||||
* provided under the following open source license terms:
|
||||
*
|
||||
* Alfresco is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
@@ -44,7 +44,7 @@ public interface Sites
|
||||
CollectionWithPagingInfo<SiteMember> getSiteMembers(String siteShortName, Parameters parameters);
|
||||
Site getSite(String siteId);
|
||||
void deleteSite(String siteId, Parameters parameters);
|
||||
Site createSite(Site site, Parameters parameters);
|
||||
Site createSite(Site site, Parameters parameters);
|
||||
|
||||
/**
|
||||
* people/<personId>/sites/<siteId>
|
||||
@@ -71,6 +71,10 @@ public interface Sites
|
||||
String getSiteRole(String siteId, String personId);
|
||||
|
||||
String PARAM_PERMANENT = "permanent";
|
||||
String PARAM_SKIP_ADDTOFAVORITES = "skipAddToFavorites";
|
||||
String PARAM_SKIP_SURF_CONFIGURATION = "skipConfiguration";
|
||||
String PARAM_SKIP_ADDTOFAVORITES = "skipAddToFavorites";
|
||||
String PARAM_SKIP_SURF_CONFIGURATION = "skipConfiguration";
|
||||
|
||||
String PARAM_SITE_ID = "id";
|
||||
String PARAM_SITE_TITLE = "title";
|
||||
String PARAM_SITE_DESCRIPTION = "description";
|
||||
}
|
||||
|
Reference in New Issue
Block a user