public class SysAdminParamsImpl extends Object implements SysAdminParams, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
SysAdminParamsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
getAlfrescoContext()
Gets Alfresco context.
|
String |
getAlfrescoHost()
Gets Alfresco host.
|
int |
getAlfrescoPort()
Gets Alfresco port.
|
String |
getAlfrescoProtocol()
Gets Alfresco protocole.
|
List<String> |
getAllowedUserList()
Gets the list of users who are allowed to log in.
|
boolean |
getAllowWrite()
Do we allow write operations by non-system users on the repository?.
|
int |
getMaxUsers()
Gets the maximum number of users who are allowed to log in.
|
String |
getShareContext()
Gets Share context.
|
String |
getShareHost()
Gets Share host.
|
int |
getSharePort()
Gets Share port.
|
String |
getShareProtocol()
Gets Share protocol.
|
String |
getSitePublicGroup()
Gets the group name used for public site visibility.
|
void |
setAlfrescoContext(String alfrescoContext) |
void |
setAlfrescoHost(String alfrescoHost) |
void |
setAlfrescoPort(int alfrescoPort) |
void |
setAlfrescoProtocol(String alfrescoProtocol) |
void |
setAllowedUsers(String allowedUsers)
Sets the list of users who are allowed to log in.
|
void |
setAllowWrite(boolean allowWrite)
Controls where we allow write operations by non-system users on the repository.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx) |
void |
setMaxUsers(int maxUsers)
Sets the maximum number of users who are allowed to log in.
|
void |
setShareContext(String shareContext) |
void |
setShareHost(String shareHost) |
void |
setSharePort(int sharePort) |
void |
setShareProtocol(String shareProtocol) |
void |
setSitePublicGroup(String sitePublicGroup) |
String |
subsituteHost(String hostName)
Expands the special ${localname} token within a host name using the resolved DNS name for the local host.
|
public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void setAllowedUsers(String allowedUsers)
allowedUsers
- a comma-separated list of users who are allowed to log in or null
if all users are
allowed to log inpublic List<String> getAllowedUserList()
SysAdminParams
getAllowedUserList
in interface SysAdminParams
null
if all users are allowed to log inpublic void setMaxUsers(int maxUsers)
maxUsers
- the maximum number of users who are allowed to log inpublic int getMaxUsers()
SysAdminParams
getMaxUsers
in interface SysAdminParams
public void setAllowWrite(boolean allowWrite)
allowWrite
- true
if we allow write operations by non-system users on the repositorypublic boolean getAllowWrite()
SysAdminParams
getAllowWrite
in interface SysAdminParams
true
if we allow write operations by non-system users on the repositorypublic String getAlfrescoContext()
SysAdminParams
getAlfrescoContext
in interface SysAdminParams
public void setAlfrescoContext(String alfrescoContext)
public String getAlfrescoHost()
SysAdminParams
getAlfrescoHost
in interface SysAdminParams
public void setAlfrescoHost(String alfrescoHost)
public int getAlfrescoPort()
SysAdminParams
getAlfrescoPort
in interface SysAdminParams
public void setAlfrescoPort(int alfrescoPort)
public String getAlfrescoProtocol()
SysAdminParams
getAlfrescoProtocol
in interface SysAdminParams
public void setAlfrescoProtocol(String alfrescoProtocol)
public String getShareContext()
SysAdminParams
getShareContext
in interface SysAdminParams
public void setShareContext(String shareContext)
public String getShareHost()
SysAdminParams
getShareHost
in interface SysAdminParams
public void setShareHost(String shareHost)
public int getSharePort()
SysAdminParams
getSharePort
in interface SysAdminParams
public void setSharePort(int sharePort)
public String getShareProtocol()
SysAdminParams
getShareProtocol
in interface SysAdminParams
public void setShareProtocol(String shareProtocol)
public String subsituteHost(String hostName)
subsituteHost
in interface SysAdminParams
hostName
- the host namepublic String getSitePublicGroup()
SysAdminParams
getSitePublicGroup
in interface SysAdminParams
public void setSitePublicGroup(String sitePublicGroup)
Copyright © 2005–2017 Alfresco Software. All rights reserved.