Package org.dspace.rest.common
Class Collection
- java.lang.Object
-
- org.dspace.rest.common.DSpaceObject
-
- org.dspace.rest.common.Collection
-
public class Collection extends DSpaceObject
Created with IntelliJ IDEA. User: peterdietz Date: 5/22/13 Time: 9:41 AM To change this template use File | Settings | File Templates.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.dspace.content.service.CollectionServicecollectionServiceprotected org.dspace.content.service.CommunityServicecommunityServiceprotected org.dspace.content.service.ItemServiceitemService
-
Constructor Summary
Constructors Constructor Description Collection()Collection(org.dspace.content.Collection collection, javax.servlet.ServletContext servletContext, String expand, org.dspace.core.Context context, Integer limit, Integer offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParentCommunityList(Community parentCommunity)StringgetCopyrightText()StringgetIntroductoryText()List<Item>getItems()StringgetLicense()BitstreamgetLogo()IntegergetNumberItems()CommunitygetParentCommunity()List<Community>getParentCommunityList()StringgetShortDescription()StringgetSidebarText()voidsetCopyrightText(String copyrightText)voidsetIntroductoryText(String introductoryText)voidsetItems(List<Item> items)voidsetLicense(String license)voidsetNumberItems(Integer numberItems)voidsetParentCommunity(Community parentCommunity)voidsetParentCommunityList(List<Community> parentCommunityList)voidsetShortDescription(String shortDescription)voidsetSidebarText(String sidebarText)
-
-
-
Constructor Detail
-
Collection
public Collection()
-
Collection
public Collection(org.dspace.content.Collection collection, javax.servlet.ServletContext servletContext, String expand, org.dspace.core.Context context, Integer limit, Integer offset) throws SQLException, javax.ws.rs.WebApplicationException- Throws:
SQLExceptionjavax.ws.rs.WebApplicationException
-
-
Method Detail
-
getLogo
public Bitstream getLogo()
-
getNumberItems
public Integer getNumberItems()
-
setNumberItems
public void setNumberItems(Integer numberItems)
-
getParentCommunity
public Community getParentCommunity()
-
setParentCommunity
public void setParentCommunity(Community parentCommunity)
-
addParentCommunityList
public void addParentCommunityList(Community parentCommunity)
-
getLicense
public String getLicense()
-
setLicense
public void setLicense(String license)
-
getCopyrightText
public String getCopyrightText()
-
setCopyrightText
public void setCopyrightText(String copyrightText)
-
getIntroductoryText
public String getIntroductoryText()
-
setIntroductoryText
public void setIntroductoryText(String introductoryText)
-
getShortDescription
public String getShortDescription()
-
setShortDescription
public void setShortDescription(String shortDescription)
-
getSidebarText
public String getSidebarText()
-
setSidebarText
public void setSidebarText(String sidebarText)
-
-