|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface REntity
Abstract Entity. It defines common properties and methods for OpenL Rules Project/Folder/File.
| Method Summary | |
|---|---|
void |
addProperty(String name,
RPropertyType type,
Object value)
|
void |
delete()
Deletes entity. |
RVersion |
getActiveVersion()
Gets active version of the entity. |
Date |
getEffectiveDate()
Gets effective date for rules entity. |
Date |
getExpirationDate()
Gets expiration date for rules entity. |
String |
getLineOfBusiness()
Gets line of business for rules entity. |
String |
getName()
Gets name of the entity. |
String |
getPath()
Returns path of entity. |
Collection<RProperty> |
getProperties()
|
RProperty |
getProperty(String name)
|
Map<String,Object> |
getProps()
|
List<RVersion> |
getVersionHistory()
Gets version history of the entity. |
boolean |
hasProperty(String name)
|
void |
removeProperty(String name)
|
void |
setEffectiveDate(Date date)
Sets effective date for rules entity. |
void |
setExpirationDate(Date date)
Sets expiration date for rules entity. expiration date can be disabled if null is passed. |
void |
setLineOfBusiness(String lineOfBusiness)
Sets line of business for rules entity. |
void |
setProps(Map<String,Object> props)
|
| Method Detail |
|---|
void addProperty(String name,
RPropertyType type,
Object value)
throws RRepositoryException
RRepositoryException
void delete()
throws RRepositoryException
RRepositoryException - if failedRVersion getActiveVersion()
Date getEffectiveDate()
null
nullDate getExpirationDate()
null
nullString getLineOfBusiness()
null
nullString getName()
String getPath()
throws RRepositoryException
RRepositoryException - if failedCollection<RProperty> getProperties()
RProperty getProperty(String name)
throws RRepositoryException
RRepositoryExceptionMap<String,Object> getProps()
List<RVersion> getVersionHistory()
throws RRepositoryException
RRepositoryExceptionboolean hasProperty(String name)
void removeProperty(String name)
throws RRepositoryException
RRepositoryException
void setEffectiveDate(Date date)
throws RRepositoryException
null is passed.
date - new effective date or null
RRepositoryException - if failed
void setExpirationDate(Date date)
throws RRepositoryException
null is passed.
date - new expiration date or null
RRepositoryException - if failed
void setLineOfBusiness(String lineOfBusiness)
throws RRepositoryException
null is passed.
RRepositoryException - if failed
void setProps(Map<String,Object> props)
throws RRepositoryException
RRepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||