Class PersistencePerspective
java.lang.Object
org.broadleafcommerce.openadmin.dto.PersistencePerspective
- All Implemented Interfaces:
Serializable
- Author:
- jfischer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ForeignKey[]
protected String[]
protected String
protected String[]
protected String[]
protected OperationTypes
protected Boolean
protected Boolean
protected Boolean
-
Constructor Summary
ConstructorsConstructorDescriptionPersistencePerspective
(OperationTypes operationTypes, String[] additionalNonPersistentProperties, ForeignKey[] additionalForeignKeys) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
String[]
String[]
Deprecated.String[]
Deprecated.Deprecated.int
hashCode()
void
setAdditionalForeignKeys
(ForeignKey[] additionalForeignKeys) void
setAdditionalNonPersistentProperties
(String[] additionalNonPersistentProperties) void
setConfigurationKey
(String configurationKey) void
setExcludeFields
(String[] excludeManyToOneFields) Deprecated.void
setIncludeFields
(String[] includeManyToOneFields) Deprecated.void
setOperationTypes
(OperationTypes operationTypes) void
setPersistencePerspectiveItems
(Map<PersistencePerspectiveItemType, PersistencePerspectiveItem> persistencePerspectiveItems) void
setPopulateToOneFields
(Boolean populateToOneFields) Deprecated.void
setShowArchivedFields
(Boolean showArchivedFields) void
setUseServerSideInspectionCache
(Boolean useServerSideInspectionCache) toString()
-
Field Details
-
additionalNonPersistentProperties
-
additionalForeignKeys
-
persistencePerspectiveItems
protected Map<PersistencePerspectiveItemType,PersistencePerspectiveItem> persistencePerspectiveItems -
operationTypes
-
populateToOneFields
-
excludeFields
-
includeFields
-
configurationKey
-
showArchivedFields
-
useServerSideInspectionCache
-
-
Constructor Details
-
PersistencePerspective
public PersistencePerspective() -
PersistencePerspective
public PersistencePerspective(OperationTypes operationTypes, String[] additionalNonPersistentProperties, ForeignKey[] additionalForeignKeys)
-
-
Method Details
-
getAdditionalNonPersistentProperties
-
setAdditionalNonPersistentProperties
-
getAdditionalForeignKeys
-
setAdditionalForeignKeys
-
getOperationTypes
-
setOperationTypes
-
addPersistencePerspectiveItem
public void addPersistencePerspectiveItem(PersistencePerspectiveItemType type, PersistencePerspectiveItem item) -
getPersistencePerspectiveItems
public Map<PersistencePerspectiveItemType,PersistencePerspectiveItem> getPersistencePerspectiveItems() -
setPersistencePerspectiveItems
public void setPersistencePerspectiveItems(Map<PersistencePerspectiveItemType, PersistencePerspectiveItem> persistencePerspectiveItems) -
getPopulateToOneFields
Deprecated.Retrieves whether or not ManyToOne and OneToOne field boundaries will be traversed when retrieving and populating entity fields. Implementation should use the @AdminPresentationClass annotation instead.- Returns:
- Whether or not ManyToOne and OneToOne field boundaries will be crossed.
-
setPopulateToOneFields
Deprecated.Sets whether or not ManyToOne and OneToOne field boundaries will be traversed when retrieving and populating entity fields. Implementation should use the @AdminPresentationClass annotation instead. -
getExcludeFields
Deprecated.Retrieve the list of fields to exclude from the admin presentation. Implementations should use the excluded property of the AdminPresentation annotation instead, or use an AdminPresentationMergeOverride if re-enabling a Broadleaf field is desired. If multiple datasources point to the same entity, but different exclusion behavior is required, a custom persistence handler may be employed with different inspect method implementations to account for the variations.- Returns:
- list of fields to exclude from the admin
-
setExcludeFields
Deprecated.Set the list of fields to exclude from the admin presentation. Implementations should use the excluded property of the AdminPresentation annotation instead, or use an AdminPresentationMergeOverride if re-enabling a Broadleaf field is desired. If multiple datasources point to the same entity, but different exclusion behavior is required, a custom persistence handler may be employed with different inspect method implementations to account for the variations.- Parameters:
excludeManyToOneFields
-
-
getIncludeFields
Deprecated.Get the list of fields to include in the admin presentation. Implementations should use excludeFields instead.- Returns:
- list of fields to include in the admin
-
setIncludeFields
Deprecated.Set the list of fields to include in the admin presentation. Implementations should use excludeFields instead.- Parameters:
includeManyToOneFields
-
-
getConfigurationKey
-
setConfigurationKey
-
getShowArchivedFields
-
setShowArchivedFields
-
getUseServerSideInspectionCache
-
setUseServerSideInspectionCache
-
clonePersistencePerspective
-
toString
-
equals
-
hashCode
public int hashCode()
-