org.alfresco.repo.admin
Interface SysAdminParams

All Known Implementing Classes:
SysAdminParamsImpl

public interface SysAdminParams

An interface for retrieving configurable system parameters.


Method Summary
 java.lang.String getAlfrescoContext()
          Gets Alfresco context.
 java.lang.String getAlfrescoHost()
          Gets Alfresco host.
 int getAlfrescoPort()
          Gets Alfresco port.
 java.lang.String getAlfrescoProtocol()
          Gets Alfresco protocole.
 java.util.List 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.
 java.lang.String getShareContext()
          Gets Share context.
 java.lang.String getShareHost()
          Gets Share host.
 int getSharePort()
          Gets Share port.
 java.lang.String getShareProtocol()
          Gets Share protocol.
 java.lang.String getSitePublicGroup()
          Gets the group name used for public site visibility.
 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.
 

Method Detail

getAllowWrite

boolean getAllowWrite()
Do we allow write operations by non-system users on the repository?.

Returns:
true if we allow write operations by non-system users on the repository

getAllowedUserList

java.util.List getAllowedUserList()
Gets the list of users who are allowed to log in.

Returns:
the allowed user list or null if 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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.