Package org.dspace.rest.common
Class Community
- java.lang.Object
-
- org.dspace.rest.common.DSpaceObject
-
- org.dspace.rest.common.Community
-
public class Community 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.authorize.service.AuthorizeServiceauthorizeServiceprotected org.dspace.content.service.CommunityServicecommunityServiceprotected org.dspace.content.service.ItemServiceitemService
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Collection>getCollections()StringgetCopyrightText()IntegergetCountItems()StringgetIntroductoryText()BitstreamgetLogo()CommunitygetParentCommunity()StringgetShortDescription()StringgetSidebarText()List<Community>getSubcommunities()voidsetCollections(List<Collection> collections)voidsetCopyrightText(String copyrightText)voidsetCountItems(Integer countItems)voidsetIntroductoryText(String introductoryText)voidsetLogo(Bitstream logo)voidsetParentCommunity(Community parentCommunity)voidsetShortDescription(String shortDescription)voidsetSidebarText(String sidebarText)voidsetSubcommunities(List<Community> subcommunities)
-
-
-
Constructor Detail
-
Community
public Community()
-
Community
public Community(org.dspace.content.Community community, javax.servlet.ServletContext servletContext, String expand, org.dspace.core.Context context) throws SQLException, javax.ws.rs.WebApplicationException- Throws:
SQLExceptionjavax.ws.rs.WebApplicationException
-
-
Method Detail
-
getCollections
public List<Collection> getCollections()
-
setCollections
public void setCollections(List<Collection> collections)
-
getCountItems
public Integer getCountItems()
-
setCountItems
public void setCountItems(Integer countItems)
-
getSidebarText
public String getSidebarText()
-
setSidebarText
public void setSidebarText(String sidebarText)
-
getShortDescription
public String getShortDescription()
-
setShortDescription
public void setShortDescription(String shortDescription)
-
getIntroductoryText
public String getIntroductoryText()
-
setIntroductoryText
public void setIntroductoryText(String introductoryText)
-
getCopyrightText
public String getCopyrightText()
-
setCopyrightText
public void setCopyrightText(String copyrightText)
-
getParentCommunity
public Community getParentCommunity()
-
setParentCommunity
public void setParentCommunity(Community parentCommunity)
-
getLogo
public Bitstream getLogo()
-
setLogo
public void setLogo(Bitstream logo)
-
-