public class EntityInformationDto extends Object
EntityInformationService. The out-of-box implementation
is a placeholder service.
The enterprise-workflow and multi-tenant modules add functionality to properly populate the dto.| Constructor and Description |
|---|
EntityInformationDto() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCatalogId()
For entities that implement
DirectCopyTransformTypes.MULTITENANT_CATALOG, returns the id of the catalog
with which the entity is associated. |
Long |
getCatalogOwner()
Returns the site id of the site that manages the catalog id (
getCatalogId()), if applicable |
Boolean |
getOwnerToCatalogRelationshipActive()
Retrieve whether or not the relationship to the owned catalog is active for this site
|
Long |
getOwningSiteId()
Return the site that owns this record.
|
Long |
getProfileId()
For entities that implement
ProfileEntity, returns the value of the profile with which
the entity is associated. |
boolean |
isCatalogEntity()
Returns true if this dto represents a catalog entity
|
boolean |
isProfileEntity()
Returns true if this dto represents a profile entity
|
void |
setCatalogId(Long catalogId)
Sets the catalogId.
|
void |
setCatalogOwner(Long catalogOwner)
Set the site id of the site that manages the catalog id, if applicable
|
void |
setOwnerToCatalogRelationshipActive(Boolean ownerToCatalogRelationshipActive)
Set whether or not the relationship to the owned catalog is active for this site
|
void |
setOwningSiteId(Long owningSiteId)
Sets the siteId that owns this record.
|
void |
setProfileId(Long profileId)
Sets the profileId.
|
public Long getProfileId()
ProfileEntity, returns the value of the profile with which
the entity is associated. Otherwise, returns null.public void setProfileId(Long profileId)
EntityInformationService when creating this dto.profileId - the profileId to setgetProfileId()public Long getCatalogId()
DirectCopyTransformTypes.MULTITENANT_CATALOG, returns the id of the catalog
with which the entity is associated. Otherwise, returns null.public void setCatalogId(Long catalogId)
EntityInformationService when creating this dto.catalogId - the catalogId to setgetCatalogId()()public Long getOwningSiteId()
public void setOwningSiteId(Long owningSiteId)
siteId - the siteId to setpublic boolean isProfileEntity()
public boolean isCatalogEntity()
public Long getCatalogOwner()
getCatalogId()), if applicablepublic void setCatalogOwner(Long catalogOwner)
catalogOwner - public Boolean getOwnerToCatalogRelationshipActive()
public void setOwnerToCatalogRelationshipActive(Boolean ownerToCatalogRelationshipActive)
ownerToCatalogRelationshipActive - Copyright © 2019. All rights reserved.