@Test public void testSetSubmitter() throws SQLException, AuthorizeException { context.turnOffAuthorisationSystem(); EPerson sub = ePersonService.create(context); context.restoreAuthSystemState(); it.setSubmitter(sub); assertThat("testSetSubmitter 0", it.getSubmitter(), notNullValue()); assertThat("testSetSubmitter 1", it.getSubmitter().getID(), equalTo(sub.getID())); }
public void setSubmitter(EPerson sub) { this.submitter = sub; setModified(); }
Item extends DSpaceObject implements DSpaceObjectLegacySupport { public void setSubmitter(EPerson sub) { this.submitter = sub; setModified(); } }
Item extends DSpaceObject implements DSpaceObjectLegacySupport { public void setSubmitter(EPerson sub) { this.submitter = sub; setModified(); } protected  Item(); }
Item extends DSpaceObject implements DSpaceObjectLegacySupport { public void setSubmitter(EPerson sub) { this.submitter = sub; setModified(); } protected  Item(); boolean isArchived(); boolean isWithdrawn(); boolean isDiscoverable(); Date getLastModified(); void setLastModified(Date lastModified); void setArchived(boolean isArchived); void setDiscoverable(boolean discoverable); void setOwningCollection(Collection c); Collection getOwningCollection(); EPerson getSubmitter(); void setSubmitter(EPerson sub); List<Collection> getCollections(); void clearCollections(); Collection getTemplateItemOf(); List<Bundle> getBundles(); List<Bundle> getBundles(String name); @Override boolean equals(Object obj); @Override int hashCode(); @Override int getType(); @Override String getName(); @Override Integer getLegacyId(); ItemService getItemService(); }
Item extends DSpaceObject implements DSpaceObjectLegacySupport { public void setSubmitter(EPerson sub) { this.submitter = sub; setModified(); } protected  Item(); boolean isArchived(); boolean isWithdrawn(); boolean isDiscoverable(); Date getLastModified(); void setLastModified(Date lastModified); void setArchived(boolean isArchived); void setDiscoverable(boolean discoverable); void setOwningCollection(Collection c); Collection getOwningCollection(); EPerson getSubmitter(); void setSubmitter(EPerson sub); List<Collection> getCollections(); void clearCollections(); Collection getTemplateItemOf(); List<Bundle> getBundles(); List<Bundle> getBundles(String name); @Override boolean equals(Object obj); @Override int hashCode(); @Override int getType(); @Override String getName(); @Override Integer getLegacyId(); ItemService getItemService(); static final String ANY; }