| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| MetadataFilter | 
 | 
 | 1.0;1 | 
| 1 |  package org.kuali.student.common.assembly.transform; | |
| 2 | ||
| 3 |  import java.util.Map; | |
| 4 | ||
| 5 |  import org.kuali.student.common.assembly.data.Metadata; | |
| 6 | ||
| 7 |  /** | |
| 8 |   * Implementations of the MetadataFilter can apply changes to the metadata structure  | |
| 9 |   * before it is sent to the UI client for consumption. | |
| 10 |   *  | |
| 11 |   * @author Will | |
| 12 |   * | |
| 13 |   */ | |
| 14 | public interface MetadataFilter { | |
| 15 | public static final String METADATA_ID_TYPE = "MetadataIdType"; | |
| 16 | public static final String METADATA_ID_VALUE = "MetadataIdValue"; | |
| 17 | ||
| 18 |          /** | |
| 19 |           * NOTE: The metadata filter is only applied in order as defined in the outbound filter path chain. | |
| 20 |           *  | |
| 21 |           * @param dtoName | |
| 22 |           * @param metadata | |
| 23 |           * @param filterProperties | |
| 24 |           */ | |
| 25 | public void applyMetadataFilter(String dtoName, Metadata metadata, Map<String, Object> filterProperties); | |
| 26 | } |