Package | Description |
---|---|
org.alfresco.repo.i18n | |
org.alfresco.service.cmr.dictionary | |
org.alfresco.service.cmr.i18n | |
org.alfresco.service.cmr.repository |
Modifier and Type | Method and Description |
---|---|
String |
StaticMessageLookup.getMessage(String messageKey) |
String |
StaticMessageLookup.getMessage(String messageKey,
Locale locale) |
String |
StaticMessageLookup.getMessage(String messageKey,
Locale locale,
Object... params) |
String |
StaticMessageLookup.getMessage(String messageKey,
Object... params) |
Modifier and Type | Method and Description |
---|---|
Collection<QName> |
DictionaryService.getAllAspects() |
Collection<QName> |
DictionaryService.getAllAspects(boolean includeInherited) |
Collection<QName> |
DictionaryService.getAllAssociations()
Get all the association definitions
|
Collection<QName> |
DictionaryService.getAllAssociations(boolean includeInherited) |
Collection<QName> |
DictionaryService.getAllDataTypes() |
Collection<QName> |
DictionaryService.getAllModels() |
Collection<QName> |
DictionaryService.getAllProperties(QName dataType)
Get all properties defined across all models with the given data type.
|
Collection<QName> |
DictionaryService.getAllTypes() |
Collection<QName> |
DictionaryService.getAllTypes(boolean includeInherited) |
TypeDefinition |
DictionaryService.getAnonymousType(QName type,
Collection<QName> aspects)
Construct an anonymous type that combines the definitions of the specified
type and aspects.
|
AspectDefinition |
DictionaryService.getAspect(QName name) |
Collection<QName> |
DictionaryService.getAspects(QName model) |
AssociationDefinition |
DictionaryService.getAssociation(QName associationName)
Gets the definition of the association as defined by its owning Class.
|
Collection<QName> |
DictionaryService.getAssociations(QName model) |
ClassDefinition |
DictionaryService.getClass(QName name) |
ConstraintDefinition |
DictionaryService.getConstraint(QName constraintQName)
Gets the definition of the constraint
|
DataTypeDefinition |
DictionaryService.getDataType(Class<?> javaClass) |
DataTypeDefinition |
DictionaryService.getDataType(QName name) |
Collection<QName> |
DictionaryService.getDataTypes(QName model) |
ModelDefinition |
DictionaryService.getModel(QName model) |
Collection<QName> |
DictionaryService.getProperties(QName model,
QName dataType)
Get all properties defined for the given model with the given data type.
|
PropertyDefinition |
DictionaryService.getProperty(QName propertyName)
Gets the definition of the property as defined by its owning Class.
|
PropertyDefinition |
DictionaryService.getProperty(QName className,
QName propertyName)
Gets the definition of the property as defined by the specified Class.
|
Map<QName,PropertyDefinition> |
DictionaryService.getPropertyDefs(QName className)
Gets the definitions of the properties defined by the specified Class.
|
Collection<QName> |
DictionaryService.getSubAspects(QName aspect,
boolean follow) |
Collection<QName> |
DictionaryService.getSubTypes(QName type,
boolean follow)
Get the sub types of the type.
|
TypeDefinition |
DictionaryService.getType(QName name) |
Collection<QName> |
DictionaryService.getTypes(QName model) |
boolean |
DictionaryService.isSubClass(QName className,
QName ofClassName)
Determines whether a class is a sub-class of another class
|
Modifier and Type | Method and Description |
---|---|
String |
MessageLookup.getMessage(String messageKey)
Get message from registered resource bundle.
|
String |
MessageLookup.getMessage(String messageKey,
Locale locale)
Get a localised message string
|
String |
MessageLookup.getMessage(String messageKey,
Locale locale,
Object... params)
Get a localised message string, parameterized using standard MessageFormatter.
|
String |
MessageLookup.getMessage(String messageKey,
Object... params)
Get a localised message string, parameterized using standard MessageFormatter.
|
Modifier and Type | Method and Description |
---|---|
ContentCharsetFinder |
MimetypeService.getContentCharsetFinder()
Provides the system default charset finder.
|
Map<String,String> |
MimetypeService.getDisplaysByExtension()
Get all human readable mimetype descriptions indexed by mimetype extension
|
Map<String,String> |
MimetypeService.getDisplaysByMimetype()
Get all human readable mimetype descriptions indexed by mimetype
|
String |
MimetypeService.getExtension(String mimetype)
Get the extension for the specified mimetype
|
Map<String,String> |
MimetypeService.getExtensionsByMimetype()
Get all mimetype extensions indexed by mimetype
|
String |
MimetypeService.getMimetype(String extension)
Get the mimetype for the specified extension
|
String |
MimetypeService.getMimetypeIfNotMatches(ContentReader reader)
Use detection heuristics to check if the mime type of the document really
matches what it claims to be.
|
List<String> |
MimetypeService.getMimetypes()
Get all mimetypes
|
Collection<String> |
MimetypeService.getMimetypes(String extension)
Returns a collection of mimetypes ordered by extension.
|
Map<String,String> |
MimetypeService.getMimetypesByExtension()
Get all mimetypes indexed by extension
|
String |
MimetypeService.guessMimetype(String filename)
Provides a non-null best guess of the appropriate mimetype given a
filename, based entirely on the file extension.
|
String |
MimetypeService.guessMimetype(String filename,
ContentReader reader)
Provides a non-null best guess of the appropriate mimetype for a
given file.
|
String |
MimetypeService.guessMimetype(String filename,
InputStream input)
Provides a non-null best guess of the appropriate mimetype for a
given file.
|
boolean |
MimetypeService.isText(String mimetype)
Check if a given mimetype represents a text format.
|
Copyright © 2005–2019 Alfresco Software. All rights reserved.