toggle menu
modicio
0.3
jvm
switch theme
search in API
modicio
/
modic.io.logic
/
ModelService
Model
Service
@
Service
class
ModelService
(
val
fragmentRepository
:
FragmentRepository
,
val
metadataService
:
MetadataService
)
Members
Constructors
Model
Service
Link copied to clipboard
constructor
(
fragmentRepository
:
FragmentRepository
,
metadataService
:
MetadataService
)
Properties
fragment
Repository
Link copied to clipboard
val
fragmentRepository
:
FragmentRepository
metadata
Service
Link copied to clipboard
val
metadataService
:
MetadataService
Functions
get
Reference
Fragment
Link copied to clipboard
fun
getReferenceFragment
(
)
:
Fragment
?
TODO doc
new
Variant
Link copied to clipboard
fun
newVariant
(
preVariantID
:
String
?
,
name
:
String
?
)
TODO doc & TESTS
push
Full
Model
Link copied to clipboard
fun
pushFullModel
(
newFragment
:
Fragment
,
variantID
:
String
?
,
name
:
String
?
,
asVersion
:
Boolean
)
Possibilities: