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 |
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 |
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()
Copyright © 2017. All rights reserved.