Package org.fenixedu.cms.domain
Class Category_Base
- java.lang.Object
-
- pt.ist.fenixframework.core.AbstractDomainObject
-
- org.fenixedu.cms.domain.Category_Base
-
- All Implemented Interfaces:
Serializable,pt.ist.fenixframework.DomainObject
- Direct Known Subclasses:
Category
public abstract class Category_Base extends pt.ist.fenixframework.core.AbstractDomainObject- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCategory_Base()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddBuilders(SiteBuilder builders)protected voidaddComponents(ListCategoryPosts components)voidaddPosts(Post posts)protected Set<SiteBuilder>getBuildersSet()protected Set<ListCategoryPosts>getComponentsSet()org.fenixedu.bennu.core.domain.UsergetCreatedBy()org.joda.time.DateTimegetCreationDate()org.fenixedu.commons.i18n.LocalizedStringgetName()Set<Post>getPostsSet()booleangetPrivileged()static pt.ist.fenixframework.dml.runtime.DirectRelation<Post,Category>getRelationCategoryPost()static pt.ist.fenixframework.dml.runtime.DirectRelation<Site,Category>getRelationCategorySite()static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.bennu.core.domain.User,Category>getRelationCategoryUser()static pt.ist.fenixframework.dml.runtime.DirectRelation<ListCategoryPosts,Category>getRelationListCategoryPostsCategory()static pt.ist.fenixframework.dml.runtime.DirectRelation<Category,SiteBuilder>getRelationSiteBuilderCategory()protected SitegetSite()StringgetSlug()protected voidremoveBuilders(SiteBuilder builders)protected voidremoveComponents(ListCategoryPosts components)voidremovePosts(Post posts)voidsetCreatedBy(org.fenixedu.bennu.core.domain.User createdBy)voidsetCreationDate(org.joda.time.DateTime creationDate)voidsetName(org.fenixedu.commons.i18n.LocalizedString name)voidsetPrivileged(boolean privileged)protected voidsetSite(Site site)voidsetSlug(String slug)
-
-
-
Method Detail
-
getRelationCategoryUser
public static pt.ist.fenixframework.dml.runtime.DirectRelation<org.fenixedu.bennu.core.domain.User,Category> getRelationCategoryUser()
-
getRelationSiteBuilderCategory
public static pt.ist.fenixframework.dml.runtime.DirectRelation<Category,SiteBuilder> getRelationSiteBuilderCategory()
-
getRelationCategorySite
public static pt.ist.fenixframework.dml.runtime.DirectRelation<Site,Category> getRelationCategorySite()
-
getRelationListCategoryPostsCategory
public static pt.ist.fenixframework.dml.runtime.DirectRelation<ListCategoryPosts,Category> getRelationListCategoryPostsCategory()
-
getRelationCategoryPost
public static pt.ist.fenixframework.dml.runtime.DirectRelation<Post,Category> getRelationCategoryPost()
-
getCreationDate
public org.joda.time.DateTime getCreationDate()
-
setCreationDate
public void setCreationDate(org.joda.time.DateTime creationDate)
-
getName
public org.fenixedu.commons.i18n.LocalizedString getName()
-
setName
public void setName(org.fenixedu.commons.i18n.LocalizedString name)
-
getSlug
public String getSlug()
-
setSlug
public void setSlug(String slug)
-
getPrivileged
public boolean getPrivileged()
-
setPrivileged
public void setPrivileged(boolean privileged)
-
getCreatedBy
public org.fenixedu.bennu.core.domain.User getCreatedBy()
-
setCreatedBy
public void setCreatedBy(org.fenixedu.bennu.core.domain.User createdBy)
-
addBuilders
protected void addBuilders(SiteBuilder builders)
-
removeBuilders
protected void removeBuilders(SiteBuilder builders)
-
getBuildersSet
protected Set<SiteBuilder> getBuildersSet()
-
getSite
protected Site getSite()
-
setSite
protected void setSite(Site site)
-
addComponents
protected void addComponents(ListCategoryPosts components)
-
removeComponents
protected void removeComponents(ListCategoryPosts components)
-
getComponentsSet
protected Set<ListCategoryPosts> getComponentsSet()
-
addPosts
public void addPosts(Post posts)
-
removePosts
public void removePosts(Post posts)
-
-