Package org.ametys.web.repository.site
Class GetAdminSitesAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.web.repository.site.GetSitesAction
-
- org.ametys.web.repository.site.GetAdminSitesAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class GetAdminSitesAction extends GetSitesAction
Action for getting the list of existingSite
for administrative operations.
-
-
Field Summary
-
Fields inherited from class org.ametys.web.repository.site.GetSitesAction
_ametysResolver, _groupDirectoryContextHelper, _groupDirectoryDAO, _populationContextHelper, _rightManager, _siteConfigurationManager, _siteManager, _siteTypeExtensionPoint, _userPopulationDAO, _userProvider
-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description GetAdminSitesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Map<String,Object>>
_rootSite2json(Request request, Site site, String currentSiteName, boolean recursive, boolean readAccessOnly, boolean sharedSitesOnly, UserIdentity user)
Retrieves the JSON for a root site-
Methods inherited from class org.ametys.web.repository.site.GetSitesAction
_childSites2json, _getRootSites, _site2json, _site2json, act, canRead, service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
GetAdminSitesAction
public GetAdminSitesAction()
-
-
Method Detail
-
_rootSite2json
protected List<Map<String,Object>> _rootSite2json(Request request, Site site, String currentSiteName, boolean recursive, boolean readAccessOnly, boolean sharedSitesOnly, UserIdentity user)
Description copied from class:GetSitesAction
Retrieves the JSON for a root site- Overrides:
_rootSite2json
in classGetSitesAction
- Parameters:
request
- The requestsite
- The root sitecurrentSiteName
- The name of the current siterecursive
- True to handle child sitesreadAccessOnly
- Only read access sitesharedSitesOnly
- Only shared sitesuser
- The current user- Returns:
- The root site info
-
-