Record Class ApplicationReadScope
java.lang.Object
java.lang.Record
io.meeds.layout.model.ApplicationReadScope
public record ApplicationReadScope(Map<String,String> contentIds, Map<String, org.exoplatform.portal.config.model.Application> windows, org.exoplatform.portal.mop.page.PageKey pageKey, org.exoplatform.portal.mop.SiteKey siteKey, org.exoplatform.portal.mop.SiteKey liveSiteKey, String pageReference, boolean draft, String username)
extends Record
What a layout description needs to describe the applications of a tree:
their content ids, the windows by storage id, and where they sit and for
whom, to read their settings; without a username no settings are read.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationReadScope(Map<String, String> contentIds, Map<String, org.exoplatform.portal.config.model.Application> windows, org.exoplatform.portal.mop.page.PageKey pageKey, org.exoplatform.portal.mop.SiteKey siteKey, org.exoplatform.portal.mop.SiteKey liveSiteKey, String pageReference, boolean draft, String username) Creates an instance of aApplicationReadScoperecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontentIdsrecord component.booleandraft()Returns the value of thedraftrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.exoplatform.portal.mop.SiteKeyReturns the value of theliveSiteKeyrecord component.org.exoplatform.portal.mop.page.PageKeypageKey()Returns the value of thepageKeyrecord component.Returns the value of thepageReferencerecord component.org.exoplatform.portal.mop.SiteKeysiteKey()Returns the value of thesiteKeyrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.windows()Returns the value of thewindowsrecord component.
-
Constructor Details
-
ApplicationReadScope
public ApplicationReadScope(Map<String, String> contentIds, Map<String, org.exoplatform.portal.config.model.Application> windows, org.exoplatform.portal.mop.page.PageKey pageKey, org.exoplatform.portal.mop.SiteKey siteKey, org.exoplatform.portal.mop.SiteKey liveSiteKey, String pageReference, boolean draft, String username) Creates an instance of aApplicationReadScoperecord class.- Parameters:
contentIds- the value for thecontentIdsrecord componentwindows- the value for thewindowsrecord componentpageKey- the value for thepageKeyrecord componentsiteKey- the value for thesiteKeyrecord componentliveSiteKey- the value for theliveSiteKeyrecord componentpageReference- the value for thepageReferencerecord componentdraft- the value for thedraftrecord componentusername- the value for theusernamerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
contentIds
-
windows
-
pageKey
public org.exoplatform.portal.mop.page.PageKey pageKey()Returns the value of thepageKeyrecord component.- Returns:
- the value of the
pageKeyrecord component
-
siteKey
public org.exoplatform.portal.mop.SiteKey siteKey()Returns the value of thesiteKeyrecord component.- Returns:
- the value of the
siteKeyrecord component
-
liveSiteKey
public org.exoplatform.portal.mop.SiteKey liveSiteKey()Returns the value of theliveSiteKeyrecord component.- Returns:
- the value of the
liveSiteKeyrecord component
-
pageReference
Returns the value of thepageReferencerecord component.- Returns:
- the value of the
pageReferencerecord component
-
draft
public boolean draft()Returns the value of thedraftrecord component.- Returns:
- the value of the
draftrecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-