Interface ProfileStore

  • All Known Implementing Classes:
    DefaultProfileStore

    public interface ProfileStore
    ProfileStore interface.

    The ProfileStore stores and provides access to all the ProfileSet instances. A ProfileSet is the set of profiles associated with a given "profile member". A "profile member" can be a member of multiple profiles. This is what "profiling" is all about - dicing and slicing entity sets into different groups by assigning them to profiles.

    Author:
    tfennelly
    • Method Detail

      • addProfileSet

        void addProfileSet​(ProfileSet profileSet)
        Add a ProfileSet to the store.
        Parameters:
        profileSet - The ProfileSet.
      • getProfileSet

        ProfileSet getProfileSet​(String baseProfile)
                          throws UnknownProfileMemberException
        Get the ProfileSet associated with the specified profile member.

        A profile "member" can be a member of multiple profiles. This method should return that list of profiles.

        Implementations must be case insensitive.

        Parameters:
        baseProfile - The base profile name.
        Returns:
        The ProfileSet for the specified base profile.
        Throws:
        UnknownProfileMemberException - There's no ProfileSet for the specified base profile.