Class DomainProperties
- java.lang.Object
-
- org.silverpeas.core.admin.domain.model.DomainProperties
-
public class DomainProperties extends Object
Properties about the management of the domains in Silverpeas.- Author:
- miguel
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areDomainsNonVisibleToOthers()
Are the domains in Silverpeas no visible to users from others domains?static boolean
areDomainsVisibleOnlyToDefaultOne()
Are the domains in Silverpeas visible only to the users of the default domain (Silverpeas domain) ?static boolean
areDomainsVisibleToAll()
Are the domains in Silverpeas visible to all users, whatever their own domain?static boolean
isDefaultDomain(String domainId)
-
-
-
Field Detail
-
DVIS_ALL
public static final int DVIS_ALL
- See Also:
- Constant Field Values
-
DVIS_ONE
public static final int DVIS_ONE
- See Also:
- Constant Field Values
-
DVIS_EACH
public static final int DVIS_EACH
- See Also:
- Constant Field Values
-
-
Method Detail
-
isDefaultDomain
public static boolean isDefaultDomain(String domainId)
-
areDomainsVisibleToAll
public static boolean areDomainsVisibleToAll()
Are the domains in Silverpeas visible to all users, whatever their own domain?- Returns:
- true if the domains aren't compartmentalized and hence the users can see the users from others domains. False otherwise.
-
areDomainsNonVisibleToOthers
public static boolean areDomainsNonVisibleToOthers()
Are the domains in Silverpeas no visible to users from others domains?- Returns:
- true if the users of a domain can be seen only by users from the same domain. False otherwise.
-
areDomainsVisibleOnlyToDefaultOne
public static boolean areDomainsVisibleOnlyToDefaultOne()
Are the domains in Silverpeas visible only to the users of the default domain (Silverpeas domain) ?- Returns:
- true if the users in all the domains can be seen only by the users of the default domain. False otherwise.
-
-