Class JpaFolder
java.lang.Object
com.broadleafcommerce.asset.provider.jpa.domain.JpaFolder
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
,com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,com.broadleafcommerce.data.tracking.core.Trackable
,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
,Serializable
@Entity
@TrackableExtension(APPLICATION)
public class JpaFolder
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
Persistent counter-part to
Folder
for use with a JPA-supported datastore.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
getName()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking
int
hashCode()
void
setAttributes
(Map<String, JpaAttribute> attributes) void
void
setContextId
(String contextId) void
setLastUpdatedDate
(Instant lastUpdatedDate) void
void
setParentFolderContextId
(String parentFolderContextId) void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) org.modelmapper.ModelMapper
toMe()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
Methods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable
getNotificationStates, getNotificationStates, setNotificationStates
Methods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable
setTracking
-
Constructor Details
-
JpaFolder
public JpaFolder()
-
-
Method Details
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getDisplay
- Specified by:
getDisplay
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getContextId
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getName
- Returns:
- the persisted counter-part of
Folder.getName()
-
getAttributes
- Returns:
- the persisted counter-part of
Folder.getAttributes()
-
getLastUpdatedDate
- Returns:
- the persisted counter-part of
Folder.getLastUpdatedDate()
-
getAuthor
- Returns:
- the persisted counter-part of
Folder.getAuthor()
-
getParentFolderContextId
- Returns:
- the persisted counter-part of
Folder.getParentFolderId()
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the
ApplicationJpaTracking
information for this
-
setContextId
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setName
- Parameters:
name
- the persisted counter-part ofFolder.getName()
-
setAttributes
- Parameters:
attributes
- the persisted counter-part ofFolder.getAttributes()
-
setLastUpdatedDate
- Parameters:
lastUpdatedDate
- the persisted counter-part ofFolder.getLastUpdatedDate()
-
setAuthor
- Parameters:
author
- the persisted counter-part ofFolder.getAuthor()
-
setParentFolderContextId
- Parameters:
parentFolderContextId
- the persisted counter-part ofFolder.getParentFolderId()
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) - Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
- Parameters:
tracking
- theApplicationJpaTracking
information for this
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-