Package org.alfresco.repo.admin
Interface SysAdminParams
-
- All Known Implementing Classes:
SysAdminParamsImpl
public interface SysAdminParamsAn interface for retrieving configurable system parameters.- Author:
- dward
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAlfrescoContext()Gets Alfresco context.java.lang.StringgetAlfrescoHost()Gets Alfresco host.intgetAlfrescoPort()Gets Alfresco port.java.lang.StringgetAlfrescoProtocol()Gets Alfresco protocole.java.util.List<java.lang.String>getAllowedUserList()Gets the list of users who are allowed to log in.booleangetAllowWrite()Do we allow write operations by non-system users on the repository?.java.lang.StringgetApiExplorerUrl()Gets Rest Api-Explorer URL.intgetMaxUsers()Gets the maximum number of users who are allowed to log in.java.lang.StringgetShareContext()Gets Share context.java.lang.StringgetShareHost()Gets Share host.intgetSharePort()Gets Share port.java.lang.StringgetShareProtocol()Gets Share protocol.java.lang.StringgetSitePublicGroup()Gets the group name used for public site visibility.java.lang.StringsubsituteHost(java.lang.String hostName)Expands the special ${localname} token within a host name using the resolved DNS name for the local host.
-
-
-
Method Detail
-
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
java.util.List<java.lang.String> 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
java.lang.String getAlfrescoContext()
Gets Alfresco context.- Returns:
- Alfresco context
-
getAlfrescoHost
java.lang.String getAlfrescoHost()
Gets Alfresco host.- Returns:
- Alfresco host
-
getAlfrescoPort
int getAlfrescoPort()
Gets Alfresco port.- Returns:
- Alfresco port
-
getAlfrescoProtocol
java.lang.String getAlfrescoProtocol()
Gets Alfresco protocole.- Returns:
- Alfresco protocole
-
getShareContext
java.lang.String getShareContext()
Gets Share context.- Returns:
- Share context
-
getShareHost
java.lang.String getShareHost()
Gets Share host.- Returns:
- Share host
-
getSharePort
int getSharePort()
Gets Share port.- Returns:
- Share port
-
getShareProtocol
java.lang.String getShareProtocol()
Gets Share protocol.- Returns:
- Share protocol
-
getSitePublicGroup
java.lang.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
java.lang.String subsituteHost(java.lang.String hostName)
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
java.lang.String getApiExplorerUrl()
Gets Rest Api-Explorer URL.- Returns:
- Api-Explorer URL
-
-