All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.domain.user.Portal Maven / Gradle / Ivy

Go to download

Domain classes and interfaces related to accountability, users and organizations.

There is a newer version: 8.3.1
Show newest version
/*
 * 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