Class OwnedPortfolioRef
java.lang.Object
com.bluebell.greenhouse.planter.resolvers.request.ref.OwnedPortfolioRef
Claims a portfolio belongs to the authenticated user. Services verify the claim when resolving
it.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Method Summary
Modifier and TypeMethodDescriptionstatic OwnedPortfolioRefof(AuthenticatedUserRef userRef, long portfolioNumber) Creates the reference.longReturns the portfolio number.userRef()Returns the authenticated user reference.
-
Method Details
-
of
Creates the reference.- Parameters:
userRef- authenticated user referenceportfolioNumber- portfolio number- Returns:
OwnedPortfolioRef
-
userRef
Returns the authenticated user reference.- Returns:
- authenticated user reference
-
portfolioNumber
public long portfolioNumber()Returns the portfolio number.- Returns:
- portfolio number
-