1   package com.atlassian.user.properties;
2   
3   import com.atlassian.user.Entity;
4   import com.atlassian.user.EntityException;
5   import com.opensymphony.module.propertyset.PropertySet;
6   
7   public interface PropertySetFactory
8   {
9       /**
10       * @param entity the instance of {@link Entity} for which a {@link PropertySet} should be retrieved.
11       * @return an instance of {@link PropertySet} for the {@link Entity}, otherwise null.
12       */
13      PropertySet getPropertySet(Entity entity) throws EntityException;
14  }