com.silverpeas.notification.model
Class NotificationResourceData

java.lang.Object
  extended by com.silverpeas.notification.model.NotificationResourceData
All Implemented Interfaces:
Cloneable

@Entity
public class NotificationResourceData
extends Object
implements Cloneable

Author:
Yohann Chastagnier

Field Summary
static String LOCATION_SEPARATOR
           
 
Constructor Summary
NotificationResourceData()
          Simple constructor
 
Method Summary
 void beforePersist()
           
 void beforeUpdate()
           
 NotificationResourceData clone()
           
 void fillFrom(NotificationResourceData notificationResourceData)
          Copying all data from the given resource excepted the id
 String getComponentInstanceId()
           
 Long getId()
           
 String getResourceDescription()
           
 String getResourceId()
           
 String getResourceLocation()
           
 String getResourceName()
           
 String getResourceType()
           
 String getResourceUrl()
           
 boolean isValid()
           
 void setComponentInstanceId(String componentInstanceId)
           
 void setId(Long id)
           
 void setResourceDescription(String resourceDescription)
           
 void setResourceId(Number resourceId)
           
 void setResourceId(String resourceId)
           
 void setResourceLocation(String resourceLocation)
           
 void setResourceName(String resourceName)
           
 void setResourceType(String resourceType)
           
 void setResourceUrl(String resourceUrl)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCATION_SEPARATOR

public static final String LOCATION_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

NotificationResourceData

public NotificationResourceData()
Simple constructor

Method Detail

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.