Class DatabaseViewGroupConfig
- java.lang.Object
-
- lumis.portal.group.databaseviewmembership.DatabaseViewGroupConfig
-
public class DatabaseViewGroupConfig extends Object
Contains the membership configuration for a group that usesDatabaseViewGroupMembershipProvider
.- Since:
- 4.2.1
- Version:
- $Revision: 10458 $ $Date: 2009-06-02 15:49:09 -0300 (Tue, 02 Jun 2009) $
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAMED_QUERY_FIND_BY_GROUP_ID
Name of named query that returnsDatabaseViewGroupConfig
filtering by parameter groupId.
-
Constructor Summary
Constructors Constructor Description DatabaseViewGroupConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroupId()
Returns the identifier of the group this configuration refers to.String
getId()
Returns the identifier for this configuration.IFormulaStatement
getMembersFormula()
Returns the membership formula statement, according to this configuration.void
setGroupId(String groupId)
Sets the identifier of the group this configuration refers to.
-
-
-
Field Detail
-
NAMED_QUERY_FIND_BY_GROUP_ID
public static final String NAMED_QUERY_FIND_BY_GROUP_ID
Name of named query that returnsDatabaseViewGroupConfig
filtering by parameter groupId.- Since:
- 4.2.1
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
Returns the identifier for this configuration.- Returns:
- the identifier.
- Since:
- 4.2.1
-
getGroupId
public String getGroupId()
Returns the identifier of the group this configuration refers to.- Returns:
- the group identifier.
- Since:
- 4.2.1
-
setGroupId
public void setGroupId(String groupId)
Sets the identifier of the group this configuration refers to.- Parameters:
groupId
- the group identifier.- Since:
- 4.2.1
-
getMembersFormula
public IFormulaStatement getMembersFormula() throws PortalException
Returns the membership formula statement, according to this configuration.- Returns:
- the formula statement.
- Throws:
IllegalStateException
- if current formula definition for this group configuration is invalid.PortalException
- Since:
- 4.2.1
-
-