Class PersistencePackage
java.lang.Object
org.broadleafcommerce.openadmin.dto.PersistencePackage
- All Implemented Interfaces:
Serializable,StateDescriptor
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected String[]protected Map<ChangeType,List<PersistencePackage>> protected Entityprotected Stringprotected booleanprotected booleanprotected booleanprotected PersistencePerspectiveprotected Stringprotected SectionCrumb[]protected Stringprotected Stringprotected Map<String,PersistencePackage> protected boolean -
Constructor Summary
ConstructorsConstructorDescriptionPersistencePackage(String ceilingEntityFullyQualifiedClassname, String fetchTypeFullyQualifiedClassname, Entity entity, PersistencePerspective persistencePerspective, String[] customCriteria, String csrfToken) PersistencePackage(String ceilingEntityFullyQualifiedClassname, Entity entity, PersistencePerspective persistencePerspective, String[] customCriteria, String csrfToken) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomCriteria(String criteria) voidaddDeferredOperation(ChangeType changeType, PersistencePackage persistencePackage) booleancontainsCriteria(String criteria) booleanfindProperty(String name) getClosetCrumb(String myCeiling) intgetCriteriaIndex(String criteria) String[]Retrieve any PersistencePackages that should be executed after the current PersistencePackage is fully processed.getPMap()Property[]inthashCode()booleanbooleanInternally used field when passing the persistence package through the admin pipelinebooleanbooleanvoidremoveCustomCriteria(String criteria) voidsetAddOperationInspect(boolean addOperationInspect) voidsetCeilingEntityFullyQualifiedClassname(String ceilingEntityFullyQualifiedClassname) voidsetCsrfToken(String csrfToken) voidsetCustomCriteria(String[] customCriteria) voidsetDeferredOperations(Map<ChangeType, List<PersistencePackage>> deferredOperations) voidvoidsetFetchTypeFullyQualifiedClassname(String fetchTypeFullyQualifiedClassname) voidsetIsTreeCollection(boolean isTreeCollection) voidsetPersistencePerspective(PersistencePerspective persistencePerspective) voidsetProcessedInternal(boolean isProcessedInternal) Internally used field when passing the persistence package through the admin pipelinevoidsetRequestingEntityName(String requestingEntityName) voidsetSectionCrumbs(SectionCrumb[] sectionCrumbs) voidsetSectionEntityField(String sectionEntityField) voidsetSecurityCeilingEntityFullyQualifiedClassname(String securityCeilingEntityFullyQualifiedClassname) voidsetSubPackages(Map<String, PersistencePackage> subPackages) voidsetValidateUnsubmittedProperties(boolean validateUnsubmittedProperties) toString()
-
Field Details
-
ceilingEntityFullyQualifiedClassname
-
securityCeilingEntityFullyQualifiedClassname
-
sectionEntityField
-
fetchTypeFullyQualifiedClassname
-
persistencePerspective
-
customCriteria
-
entity
-
csrfToken
-
requestingEntityName
-
subPackages
-
validateUnsubmittedProperties
protected boolean validateUnsubmittedProperties -
sectionCrumbs
-
deferredOperations
-
isProcessedInternal
protected boolean isProcessedInternal -
isTreeCollection
protected boolean isTreeCollection -
isAddOperationInspect
protected boolean isAddOperationInspect
-
-
Constructor Details
-
PersistencePackage
public PersistencePackage(String ceilingEntityFullyQualifiedClassname, Entity entity, PersistencePerspective persistencePerspective, String[] customCriteria, String csrfToken) -
PersistencePackage
-
PersistencePackage
public PersistencePackage()
-
-
Method Details
-
findProperty
- Specified by:
findPropertyin interfaceStateDescriptor
-
getProperties
- Specified by:
getPropertiesin interfaceStateDescriptor
-
getPMap
- Specified by:
getPMapin interfaceStateDescriptor
-
getCeilingEntityFullyQualifiedClassname
-
setCeilingEntityFullyQualifiedClassname
-
getSecurityCeilingEntityFullyQualifiedClassname
-
setSecurityCeilingEntityFullyQualifiedClassname
public void setSecurityCeilingEntityFullyQualifiedClassname(String securityCeilingEntityFullyQualifiedClassname) -
getPersistencePerspective
-
setPersistencePerspective
-
getCustomCriteria
-
setCustomCriteria
-
addCustomCriteria
-
removeCustomCriteria
-
getCriteriaIndex
-
containsCriteria
-
getEntity
-
setEntity
-
getCsrfToken
-
setCsrfToken
-
getFetchTypeFullyQualifiedClassname
-
setFetchTypeFullyQualifiedClassname
-
getSectionEntityField
-
setSectionEntityField
-
getRequestingEntityName
-
setRequestingEntityName
-
getPersistencePerspectiveItems
public Map<PersistencePerspectiveItemType,PersistencePerspectiveItem> getPersistencePerspectiveItems() -
getSubPackages
-
setSubPackages
-
isValidateUnsubmittedProperties
public boolean isValidateUnsubmittedProperties() -
setValidateUnsubmittedProperties
public void setValidateUnsubmittedProperties(boolean validateUnsubmittedProperties) -
getSectionCrumbs
-
setSectionCrumbs
-
getClosetCrumb
-
getBottomCrumb
-
getTopCrumb
-
getDeferredOperations
Retrieve any PersistencePackages that should be executed after the current PersistencePackage is fully processed. These packages are arranged according to the CRUD operation that should be performed.- Returns:
-
setDeferredOperations
-
addDeferredOperation
-
isProcessedInternal
public boolean isProcessedInternal()Internally used field when passing the persistence package through the admin pipeline- Returns:
- whether or not this persistence package has been exposed to a internal processing step
-
setProcessedInternal
public void setProcessedInternal(boolean isProcessedInternal) Internally used field when passing the persistence package through the admin pipeline- Parameters:
isProcessedInternal- whether or not this persistence package has been exposed to a internal processing step
-
isTreeCollection
public boolean isTreeCollection() -
setIsTreeCollection
public void setIsTreeCollection(boolean isTreeCollection) -
isAddOperationInspect
public boolean isAddOperationInspect() -
setAddOperationInspect
public void setAddOperationInspect(boolean addOperationInspect) -
toString
-
equals
-
hashCode
public int hashCode()
-