Class DatabaseViewGroupConfig


  • public class DatabaseViewGroupConfig
    extends java.lang.Object
    Contains the membership configuration for a group that uses DatabaseViewGroupMembershipProvider.
    Since:
    4.2.1
    Version:
    $Revision: 10458 $ $Date: 2009-06-02 15:49:09 -0300 (Tue, 02 Jun 2009) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGroupId()
      Returns the identifier of the group this configuration refers to.
      java.lang.String getId()
      Returns the identifier for this configuration.
      IFormulaStatement getMembersFormula()
      Returns the membership formula statement, according to this configuration.
      void setGroupId​(java.lang.String groupId)
      Sets the identifier of the group this configuration refers to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NAMED_QUERY_FIND_BY_GROUP_ID

        public static final java.lang.String NAMED_QUERY_FIND_BY_GROUP_ID
        Name of named query that returns DatabaseViewGroupConfig filtering by parameter groupId.
        Since:
        4.2.1
        See Also:
        Constant Field Values
    • Constructor Detail

      • DatabaseViewGroupConfig

        public DatabaseViewGroupConfig()
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the identifier for this configuration.
        Returns:
        the identifier.
        Since:
        4.2.1
      • getGroupId

        public java.lang.String getGroupId()
        Returns the identifier of the group this configuration refers to.
        Returns:
        the group identifier.
        Since:
        4.2.1
      • setGroupId

        public void setGroupId​(java.lang.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:
        java.lang.IllegalStateException - if current formula definition for this group configuration is invalid.
        PortalException
        Since:
        4.2.1