Class ResourceRef
- java.lang.Object
-
- com.flowable.template.engine.impl.persistence.entity.ResourceRef
-
- All Implemented Interfaces:
Serializable
public class ResourceRef extends Object implements Serializable
Encapsulates the logic for transparently working with
TemplateResourceEntity
.- Author:
- Marcus Klimstra (CGI), Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deleted
-
Constructor Summary
Constructors Constructor Description ResourceRef()
ResourceRef(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
byte[]
getBytes()
TemplateResourceEntity
getEntity()
String
getId()
String
getName()
boolean
isDeleted()
void
setValue(String name, byte[] bytes)
String
toString()
-
-
-
Constructor Detail
-
ResourceRef
public ResourceRef()
-
ResourceRef
public ResourceRef(String id)
-
-
Method Detail
-
getId
public String getId()
-
getName
public String getName()
-
getBytes
public byte[] getBytes()
-
setValue
public void setValue(String name, byte[] bytes)
-
getEntity
public TemplateResourceEntity getEntity()
-
delete
public void delete()
-
isDeleted
public boolean isDeleted()
-
-