public interface ArtefactAPI
boolean isModified()
void addProperty(String name, ValueType type, Object value) throws PropertyException
PropertyExceptionCollection<Property> getProperties()
Property getProperty(String name) throws PropertyException
name - name of propertyPropertyException - if no property with specified nameboolean hasProperty(String name)
name - name of propertytrue if such property existsProperty removeProperty(String name) throws PropertyException
name - name of propertyPropertyException - if no property with specified namevoid removeAllProperties()
throws PropertyException
PropertyExceptionvoid delete(CommonUser user) throws ProjectException
ProjectExceptionArtefactPath getArtefactPath()
String getName()
boolean isFolder()
ProjectVersion getVersion()
List<ProjectVersion> getVersions()
int getVersionsCount()
ProjectVersion getVersion(int index) throws RRepositoryException
RRepositoryExceptionLockInfo getLockInfo()
void commit(CommonUser user, int revision) throws ProjectException
ProjectExceptionvoid lock(CommonUser user) throws ProjectException
ProjectExceptionvoid unlock(CommonUser user) throws ProjectException
ProjectExceptionArtefactAPI getVersion(CommonVersion version) throws ProjectException
ProjectExceptionvoid setProps(Map<String,Object> props) throws PropertyException
PropertyExceptionUserTransaction createTransaction() throws RRepositoryException
RRepositoryExceptionMap<String,InheritedProperty> getInheritedProps()
void clearModifyStatus()
Copyright © 2016. All rights reserved.