org.broadleafcommerce.openadmin.client.dto
Class PersistencePerspective
java.lang.Object
org.broadleafcommerce.openadmin.client.dto.PersistencePerspective
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.IsSerializable, Serializable
public class PersistencePerspective
- extends Object
- implements com.google.gwt.user.client.rpc.IsSerializable, Serializable
- Author:
- jfischer
- See Also:
- Serialized Form
additionalNonPersistentProperties
protected String[] additionalNonPersistentProperties
additionalForeignKeys
protected ForeignKey[] additionalForeignKeys
persistencePerspectiveItems
protected Map<PersistencePerspectiveItemType,PersistencePerspectiveItem> persistencePerspectiveItems
operationTypes
protected OperationTypes operationTypes
populateToOneFields
protected Boolean populateToOneFields
excludeFields
protected String[] excludeFields
includeFields
protected String[] includeFields
configurationKey
protected String configurationKey
showArchivedFields
protected Boolean showArchivedFields
useServerSideInspectionCache
protected Boolean useServerSideInspectionCache
PersistencePerspective
public PersistencePerspective()
PersistencePerspective
public PersistencePerspective(OperationTypes operationTypes,
String[] additionalNonPersistentProperties,
ForeignKey[] additionalForeignKeys)
getAdditionalNonPersistentProperties
public String[] getAdditionalNonPersistentProperties()
setAdditionalNonPersistentProperties
public void setAdditionalNonPersistentProperties(String[] additionalNonPersistentProperties)
getAdditionalForeignKeys
public ForeignKey[] getAdditionalForeignKeys()
setAdditionalForeignKeys
public void setAdditionalForeignKeys(ForeignKey[] additionalForeignKeys)
getOperationTypes
public OperationTypes getOperationTypes()
setOperationTypes
public void setOperationTypes(OperationTypes operationTypes)
addPersistencePerspectiveItem
public void addPersistencePerspectiveItem(PersistencePerspectiveItemType type,
PersistencePerspectiveItem item)
getPersistencePerspectiveItems
public Map<PersistencePerspectiveItemType,PersistencePerspectiveItem> getPersistencePerspectiveItems()
setPersistencePerspectiveItems
public void setPersistencePerspectiveItems(Map<PersistencePerspectiveItemType,PersistencePerspectiveItem> persistencePerspectiveItems)
getPopulateToOneFields
@Deprecated
public Boolean 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
public void setPopulateToOneFields(Boolean populateToOneFields)
- 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
public String[] 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 AdminPresentationOverride 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
public void setExcludeFields(String[] excludeManyToOneFields)
- 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 AdminPresentationOverride 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
public String[] 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
public void setIncludeFields(String[] includeManyToOneFields)
- Deprecated.
- Set the list of fields to include in the admin presentation.
Implementations should use excludeFields instead.
- Parameters:
includeManyToOneFields -
getConfigurationKey
public String getConfigurationKey()
setConfigurationKey
public void setConfigurationKey(String configurationKey)
getShowArchivedFields
public Boolean getShowArchivedFields()
setShowArchivedFields
public void setShowArchivedFields(Boolean showArchivedFields)
getUseServerSideInspectionCache
public Boolean getUseServerSideInspectionCache()
setUseServerSideInspectionCache
public void setUseServerSideInspectionCache(Boolean useServerSideInspectionCache)
clonePersistencePerspective
public PersistencePerspective clonePersistencePerspective()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2013. All Rights Reserved.