Package org.alfresco.repo.admin
Interface SysAdminParams
- All Known Implementing Classes:
SysAdminParamsImpl
public interface SysAdminParams
An interface for retrieving configurable system parameters.
- Author:
- dward
-
Method Summary
Modifier and TypeMethodDescriptionGets Alfresco context.Gets Alfresco host.intGets Alfresco port.Gets Alfresco protocole.Gets the list of users who are allowed to log in.booleanDo we allow write operations by non-system users on the repository?.Gets Rest Api-Explorer URL.intGets the maximum number of users who are allowed to log in.Gets Share context.Gets Share host.intGets Share port.Gets Share protocol.Gets the group name used for public site visibility.subsituteHost(String hostName) Expands the special ${localname} token within a host name using the resolved DNS name for the local host.
-
Method Details
-
getAllowWrite
boolean getAllowWrite()Do we allow write operations by non-system users on the repository?.- Returns:
trueif we allow write operations by non-system users on the repository
-
getAllowedUserList
Gets the list of users who are allowed to log in.- Returns:
- the allowed user list or
nullif all users are allowed to log in
-
getMaxUsers
int getMaxUsers()Gets the maximum number of users who are allowed to log in.- Returns:
- the the maximum number of users who are allowed to log in
-
getAlfrescoContext
String getAlfrescoContext()Gets Alfresco context.- Returns:
- Alfresco context
-
getAlfrescoHost
String getAlfrescoHost()Gets Alfresco host.- Returns:
- Alfresco host
-
getAlfrescoPort
int getAlfrescoPort()Gets Alfresco port.- Returns:
- Alfresco port
-
getAlfrescoProtocol
String getAlfrescoProtocol()Gets Alfresco protocole.- Returns:
- Alfresco protocole
-
getSitePublicGroup
String getSitePublicGroup()Gets the group name used for public site visibility. Only members of this group will have SiteConsumer access to 'public' share sites.- Returns:
- the name of the public site group.
- Since:
- 3.4
-
subsituteHost
Expands the special ${localname} token within a host name using the resolved DNS name for the local host.- Parameters:
hostName- the host name- Returns:
- the string
-
getApiExplorerUrl
String getApiExplorerUrl()Gets Rest Api-Explorer URL.- Returns:
- Api-Explorer URL
-