nl.vpro.domain.user.Portal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of user-domain Show documentation
Show all versions of user-domain Show documentation
Domain classes and interfaces related to accountability, users and organizations.
/*
* Copyright (C) 2012 Licensed under the Apache License, Version 2.0
* VPRO The Netherlands
*/
package nl.vpro.domain.user;
import java.io.Serial;
import jakarta.persistence.Cacheable;
import jakarta.persistence.Entity;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlType;
import nl.vpro.domain.Xmlns;
/**
* A portal is a website, which may or may not be associated to a one specific {@link Broadcaster}. Some broadcasters maintain multiple portals.
*
* Content may be associated to a portal. Users may also be associated to a portal. A user may edit content if they shared either a broadcaster or a portal (or a {@link ThirdParty})
*/
@Entity
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "portalType", namespace = Xmlns.MEDIA_NAMESPACE)
@Cacheable
public class Portal extends Organization {
@Serial
private static final long serialVersionUID = 2524006843893831462L;
public Portal() {
}
public Portal(String id) {
this(id, null);
}
@lombok.Builder(builderClassName = "Builder")
public Portal(String id, String displayName) {
super(id, displayName);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy