Class FeatureGroupHome


  • public final class FeatureGroupHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for feature groups objects
    • Method Detail

      • create

        public static FeatureGroup create​(FeatureGroup featureGroup)
        Creation of an instance of an feature group
        Parameters:
        featureGroup - An instance of an feature group which contains the informations to store
        Returns:
        The instance of an feature group which has been created with its primary key.
      • update

        public static FeatureGroup update​(FeatureGroup featureGroup)
        Update of the feature group which is specified
        Parameters:
        featureGroup - The instance of the feature group which contains the data to store
        Returns:
        The instance of the feature group which has been updated
      • remove

        public static void remove​(java.lang.String strId)
        Remove the feature group whose identifier is specified in parameter
        Parameters:
        strId - The identifier of the feature group to remove
      • deleteEntryFromList

        public static void deleteEntryFromList​(int nOrderId)
        Delete entry (specify by nOrderId)
        Parameters:
        nOrderId - The order to delete
      • findByPrimaryKey

        public static FeatureGroup findByPrimaryKey​(java.lang.String strKey)
        Returns an instance of an feature group whose identifier is specified in parameter
        Parameters:
        strKey - The feature group primary key
        Returns:
        an instance of an feature group
      • getFeatureGroupsList

        public static java.util.List<FeatureGroup> getFeatureGroupsList()
        Loads the data of all the feature groups and returns them in form of a collection
        Returns:
        the collection which contains the data of all the feature groups
      • getFeatureGroupsReferenceList

        public static ReferenceList getFeatureGroupsReferenceList()
        Loads the data of all the feature groups and returns them in form of a reference list
        Returns:
        the reference list of all the feature groups
      • getFeatureGroupsCount

        public static int getFeatureGroupsCount()
        Gets the count of groups
        Returns:
        the count of groups
      • changeRightOrder

        public static int changeRightOrder​(FeatureGroup featureGroup,
                                           int nNewOrder)
        Change the order in a Right
        Parameters:
        featureGroup - The FeatureGroup
        nNewOrder - The new place in the list or END_OF_LIST to place Right at the end
        Returns:
        The new order