CollAccountType
and all related classes are undeprecated to be used for holding subscription tier information.
# collAccountTypes.cm Old: public class CollAccountTypes : deprecated New: public class CollAccountTypes Old: public class CollAccountType : deprecated, abstract New: public class CollAccountType : abstract Old: public class CollAccountTypeFree extends CollAccountType : deprecated New: public class CollAccountTypeFree extends CollAccountType Old: public class CollAccountTypeCorporate extends CollAccountType : deprecated New: public class CollAccountTypeCorporate extends CollAccountType Old: public class CollAccountTypeAdvanced extends CollAccountType : deprecated New: public class CollAccountTypeAdvanced extends CollAccountType # collProjectController.cm Old: public str accountTypeKey : deprecated New: public str accountTypeKey
The following accessors/mutators related to CollFileG3
are removed in favour of using a static type key to access files.
# collCollection.cm Removed: extend public CollFileG3{} serverFiles(CollFileType type) Removed: extend public symbol{} serverFileIds(CollFileType type) Removed: extend public CollFileG3{} editFiles(CollFileType type) Removed: extend public symbol{} loadedFileIds(CollFileType type) Removed: extend public CollFileG3{} loadedFiles(CollFileType type) # collFile.cm Removed: extend public CollFileG3{} files(CollFileType t) Removed: extend public symbol{} ids(CollFileType t) Removed: extend public void changeType(CollFileType t) # collFileSubModel.cm Old: extend public CollFileG3{} loadedFiles(CollFileType type) New: extend public CollFileG3{} loadedFiles(str typeKey) # collFileType.cm Old: final public str packageName() New: final public symbol packageName() Old: final public str packageVersion() New: final public version packageVersion()
CollFileG3
and CollUFOFileType
constructors are modified to take in a CollFileTypeId
parameter.
# collFile.cm Old: public constructor(CollFileType type, str name, int v, symbol id) New: package constructor(CollFileTypeId typeId, str name, int v, symbol id) # collUFOFileType.cm Removed: public constructor() Old: public constructor(str id, str description) New: public constructor(CollFileTypeId srcTypeId)
The following file type classes are removed.
Removed: public class CollPdfFileType extends CollDocFileType Removed: public class CollDwgFileType extends CollDocFileType
The signatures of the following utility functions are modified:
# collFileNamer.cm Old: public str getUniqueCopiedName(CollCollectionG3 this, str fileName, CollFileType fileType, collCopyMode mode=collCopyMode.normal) New: public str getUniqueCopiedName(CollCollectionG3 this, str fileName, str fileTypeKey=null, collCopyMode mode=collCopyMode.normal) Old: public str getUniqueNewName(CollCollectionG3 this, str rootName, CollFileType fileType) New: public str getUniqueNewName(CollCollectionG3 this, str rootName, str fileTypeKey) Old: public bool isUniqueFileName(CollCollectionG3 this, str name, CollFileType fileType=null) New: public bool isUniqueFileName(CollCollectionG3 this, str name, str fileTypeKey=null) Old: public bool isUniqueServerFileName(CollCollectionG3 this, str name, CollFileType fileType=null) New: public bool isUniqueServerFileName(CollCollectionG3 this, str name, str fileTypeKey=null) Old: public bool isUniqueLocalFileName(CollCollectionG3 this, str name, CollFileType fileType=null) New: public bool isUniqueLocalFileName(CollCollectionG3 this, str name, str fileTypeKey=null) # collFileType.cm Old: public void unregister(CollFileType type) New: public void unregisterCollFileType(str key) Old: public CollFileType collFileType(str id) New: public CollFileType resolveCollFileType(CollFileTypeId typeId, collReleaseStage stage) # collUFOFileType.cm Old: public CollFileType collUFOFileType() New: public CollFileType collUFOFileType(CollFileTypeId typeId)
Although a local file containing CollUFOFileType
is never created, bug()
will now be triggered as an additional enforcement in the event it is mistakenly created.