public interface REntity
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String name,
ValueType type,
Object value) |
void |
commit(CommonUser user)
Commits changes in background versioned storage.
|
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.
|
RLock |
getLock() |
String |
getName()
Gets name of the entity.
|
String |
getPath()
Returns path of entity.
|
Collection<Property> |
getProperties() |
Property |
getProperty(String name) |
Map<String,Object> |
getProps() |
List<RVersion> |
getVersionHistory()
Gets version history of the entity.
|
boolean |
hasProperty(String name) |
boolean |
isLocked() |
void |
lock(CommonUser user) |
void |
removeProperty(String name) |
void |
setEffectiveDate(Date date)
Sets effective date for rules entity.
|
void |
setExpirationDate(Date date)
Sets expiration date for rules entity.
|
void |
setLineOfBusiness(String lineOfBusiness)
Sets line of business for rules entity.
|
void |
setProps(Map<String,Object> props) |
void |
unlock(CommonUser user) |
void addProperty(String name, ValueType type, Object value) throws RRepositoryException
RRepositoryExceptionvoid delete()
throws RRepositoryException
RRepositoryException - if failedRVersion getActiveVersion()
Date getEffectiveDate()
nullnullDate getExpirationDate()
nullnullString getLineOfBusiness()
nullnullString getName()
String getPath() throws RRepositoryException
RRepositoryException - if failedCollection<Property> getProperties()
Property getProperty(String name) throws RRepositoryException
RRepositoryExceptionList<RVersion> getVersionHistory() throws RRepositoryException
RRepositoryExceptionboolean hasProperty(String name)
void removeProperty(String name) throws RRepositoryException
RRepositoryExceptionvoid setEffectiveDate(Date date) throws RRepositoryException
null is passed.date - new effective date or nullRRepositoryException - if failedvoid setExpirationDate(Date date) throws RRepositoryException
null is passed.date - new expiration date or nullRRepositoryException - if failedvoid setLineOfBusiness(String lineOfBusiness) throws RRepositoryException
null is passed.RRepositoryException - if failedvoid setProps(Map<String,Object> props) throws RRepositoryException
RRepositoryExceptionRLock getLock() throws RRepositoryException
RRepositoryExceptionboolean isLocked()
throws RRepositoryException
RRepositoryExceptionvoid lock(CommonUser user) throws RRepositoryException
RRepositoryExceptionvoid unlock(CommonUser user) throws RRepositoryException
RRepositoryExceptionvoid commit(CommonUser user) throws RRepositoryException
RRepositoryException - if failedCopyright © 2018. All rights reserved.