Package com.priint.pubserver.pubitem
Class PublicationItemRightsFacade.PublicationItemRightsForTeam.PublicationItemRightsForTeamBuilder
java.lang.Object
com.priint.pubserver.pubitem.PublicationItemRightsFacade.PublicationItemRightsForTeam.PublicationItemRightsForTeamBuilder
- Enclosing class:
- PublicationItemRightsFacade.PublicationItemRightsForTeam
public static class PublicationItemRightsFacade.PublicationItemRightsForTeam.PublicationItemRightsForTeamBuilder
extends Object
The class PublicationItemRightsForTeamBuilder is a builder class used to create instances of the PublicationItemRightsForTeam class.
This builder provides methods to set the required parameters for creating an instance of PublicationItemRightsForTeam.
Example Usage:
PublicationItemRightsForTeam rights = PublicationItemRightsForTeam.builder()
.publicationItemId(publicationItemId)
.rights(rights)
.teamId(teamId)
.build();
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new instance of PublicationItemRightsForTeam using the provided parameters.publicationItemId(PubItem.Id publicationItemId) Sets the publication item ID for the PublicationItemRightsForTeamBuilder.rights(PubItem.Rights rights) Sets the rights for the PublicationItemRightsForTeamBuilder.Sets the team ID for the PublicationItemRightsForTeamBuilder.toString()
-
Method Details
-
publicationItemId
public PublicationItemRightsFacade.PublicationItemRightsForTeam.PublicationItemRightsForTeamBuilder publicationItemId(PubItem.Id publicationItemId) Sets the publication item ID for the PublicationItemRightsForTeamBuilder.- Parameters:
publicationItemId- The publication item ID to be set.- Returns:
- The PublicationItemRightsForTeamBuilder instance.
-
rights
public PublicationItemRightsFacade.PublicationItemRightsForTeam.PublicationItemRightsForTeamBuilder rights(PubItem.Rights rights) Sets the rights for the PublicationItemRightsForTeamBuilder.- Parameters:
rights- The rights object to be set.- Returns:
- The PublicationItemRightsForTeamBuilder instance.
-
teamId
public PublicationItemRightsFacade.PublicationItemRightsForTeam.PublicationItemRightsForTeamBuilder teamId(String teamId) Sets the team ID for the PublicationItemRightsForTeamBuilder.- Parameters:
teamId- The team ID to be set.- Returns:
- The PublicationItemRightsForTeamBuilder instance.
-
build
Builds a new instance of PublicationItemRightsForTeam using the provided parameters.- Returns:
- A new instance of PublicationItemRightsForTeam.
-
toString
-