com.silverpeas.notification.model
Class NotificationResourceData
java.lang.Object
com.silverpeas.notification.model.NotificationResourceData
- All Implemented Interfaces:
- Cloneable
@Entity
public class NotificationResourceData
- extends Object
- implements Cloneable
- Author:
- Yohann Chastagnier
LOCATION_SEPARATOR
public static final String LOCATION_SEPARATOR
- See Also:
- Constant Field Values
NotificationResourceData
public NotificationResourceData()
- Simple constructor
fillFrom
public void fillFrom(NotificationResourceData notificationResourceData)
- Copying all data from the given resource excepted the id
- Parameters:
notificationResourceData
-
beforePersist
public void beforePersist()
beforeUpdate
public void beforeUpdate()
isValid
public boolean isValid()
getId
public Long getId()
setId
public void setId(Long id)
getResourceId
public String getResourceId()
setResourceId
public void setResourceId(Number resourceId)
setResourceId
public void setResourceId(String resourceId)
getResourceType
public String getResourceType()
setResourceType
public void setResourceType(String resourceType)
getResourceName
public String getResourceName()
setResourceName
public void setResourceName(String resourceName)
getResourceDescription
public String getResourceDescription()
setResourceDescription
public void setResourceDescription(String resourceDescription)
getResourceLocation
public String getResourceLocation()
setResourceLocation
public void setResourceLocation(String resourceLocation)
getResourceUrl
public String getResourceUrl()
setResourceUrl
public void setResourceUrl(String resourceUrl)
getComponentInstanceId
public String getComponentInstanceId()
setComponentInstanceId
public void setComponentInstanceId(String componentInstanceId)
clone
public NotificationResourceData clone()
- Overrides:
clone
in class Object
Copyright © 2016 Silverpeas. All Rights Reserved.