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

org.linkedopenactors.rdfpub.domain.RdfPubRequestInfo Maven / Gradle / Ivy

The newest version!
package org.linkedopenactors.rdfpub.domain;

import java.util.Optional;

/**
 * Holds all data, that is directly or indirectly contained in a request to the rdf-pub.
 * @author [email protected]
 */
public interface RdfPubRequestInfo {
	
	/**
	 * Gives you the actor data that is doing the request.
	 * @return the actor data that is doing the request.
	 */
	Optional getActorProfile();
	
	/**
	 * Gives you the representation of the
	 * actor of the
	 * current running rdf-pub instance.
	 * 
	 * @return The representation of the
	 * actor of the
	 * current running rdf-pub instance.
	 */
	InstanceProfile getInstanceProfile();
	
	/**
	 * Gives you the name from the IdentityManegement-System of the current logged in User.
	 * @return The name.
	 */
	Optional getIdentityManagementPreferredUsername();
	
	/**
	 * Gives you the userId from the IdentityManegement-System of the current logged in User.
	 * @return The userId.
	 */
	Optional getIdentityManagementUserId();
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy