@Test public void getIdPrefixIsP() { Assert.assertEquals("P", this.manager.getIdPrefix()); }
@Override public String getIdPrefix() { String name = getEntityXClassReference().getName(); name = StringUtils.removeEnd(name, "Class"); return name.replaceAll("\\p{Lower}++", ""); }
AbstractPrimaryEntityManager implements PrimaryEntityManager<E> { @Override public String getIdPrefix() { String name = getEntityXClassReference().getName(); name = StringUtils.removeEnd(name, "Class"); return name.replaceAll("\\p{Lower}++", ""); } }
AbstractPrimaryEntityManager implements PrimaryEntityManager<E> { @Override public String getIdPrefix() { String name = getEntityXClassReference().getName(); name = StringUtils.removeEnd(name, "Class"); return name.replaceAll("\\p{Lower}++", ""); }  }
AbstractPrimaryEntityManager implements PrimaryEntityManager<E> { @Override public String getIdPrefix() { String name = getEntityXClassReference().getName(); name = StringUtils.removeEnd(name, "Class"); return name.replaceAll("\\p{Lower}++", ""); }  @Override E create(); @Override synchronized E create(DocumentReference creator); @Override E get(String id); @Override E get(DocumentReference reference); @Override E getByName(String name); @Override Iterator<E> getAll(); @Override boolean delete(E entity); @Override E load(DocumentModelBridge document); @Override String getIdPrefix(); @Override EntityReference getEntityType(); }
AbstractPrimaryEntityManager implements PrimaryEntityManager<E> { @Override public String getIdPrefix() { String name = getEntityXClassReference().getName(); name = StringUtils.removeEnd(name, "Class"); return name.replaceAll("\\p{Lower}++", ""); }  @Override E create(); @Override synchronized E create(DocumentReference creator); @Override E get(String id); @Override E get(DocumentReference reference); @Override E getByName(String name); @Override Iterator<E> getAll(); @Override boolean delete(E entity); @Override E load(DocumentModelBridge document); @Override String getIdPrefix(); @Override EntityReference getEntityType();  }