Project

General

Profile

« Previous | Next » 

Revision 71b9b632

Added by Andreas Müller almost 3 years ago

ref #4311 first implementation for TeamOrPersonBase.collectorTitle

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/strategy/cache/agent/TeamDefaultCacheStrategy.java
122 122
                return member.getFullTitle();
123 123
            }else if (this == FAMILY){
124 124
                return member.getCacheStrategy().getFamilyTitle(member);
125
//          }else if (this == COLLECTOR){
126
//              return member.getCollectroCache();
125
            }else if (this == COLLECTOR){
126
              return member.getCollectorTitleCache();
127 127
            }
128 128
            throw new IllegalStateException("CacheType not supported: " + this);
129 129
        }
......
162 162
        return getCache(team, CacheType.FAMILY, etAlPositionFamilyTitle);
163 163
    }
164 164

  
165
    @Override
166
    public String getCollectorTitleCache(Team team) {
167
        return getCache(team, CacheType.COLLECTOR, etAlPositionCollectorTitle);
168
    }
169

  
165 170
    private String getCache(Team team, CacheType cacheType, int etAlPosition) {
166 171

  
167 172
        String result = "";

Also available in: Unified diff