Package org.activiti.cloud.modeling.api
Interface Model<A extends Project,U>
- All Superinterfaces:
Auditable<U>
Interface for models
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddProject(A project) voidbyte[]getId()getName()getScope()getType()booleanbooleanvoidremoveProject(A project) voidsetCategory(String category) voidsetContent(byte[] content) voidsetContentType(String contentType) voidsetExtensions(Map<String, Object> extensions) voidvoidvoidsetScope(ModelScope scope) voidsetTemplate(String template) voidMethods inherited from interface org.activiti.cloud.services.auditable.Auditable
copyAuditInfo, getCreatedBy, getCreationDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreationDate, setLastModifiedBy, setLastModifiedDate
-
Method Details
-
getId
String getId() -
setId
-
getName
String getName() -
setName
-
getType
String getType() -
setType
-
getProjects
-
addProject
-
removeProject
-
clearProjects
void clearProjects() -
getVersion
String getVersion() -
getContentType
String getContentType() -
setContentType
-
getContent
byte[] getContent() -
setContent
void setContent(byte[] content) -
getExtensions
-
setExtensions
-
getTemplate
String getTemplate() -
setTemplate
-
getScope
ModelScope getScope() -
setScope
-
getCategory
String getCategory() -
setCategory
-
hasProjects
boolean hasProjects() -
hasMultipleProjects
boolean hasMultipleProjects()
-