Package wt.content
Class DataFormat
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._Item
wt.fc.Item
wt.content._DataFormat
wt.content.DataFormat
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._Identified,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,wt.fc.BusinessInformation,Identified,NetFactor,ObjectMappable,Persistable,DisplayIdentification
@GenAsPersistable(superClass=Item.class,interfaces={wt.fc.BusinessInformation.class,Identified.class},versions=-3870827093848100209L,dataType=ADMIN,properties={@GeneratedProperty(name="formatName",type=java.lang.String.class,javaDoc="The displayable format name for this object",accessors=@PropertyAccessors(setAccess=PROTECTED),constraints=@PropertyConstraints(upperLimit=60,required=true),columnProperties=@ColumnProperties(unique=true)),@GeneratedProperty(name="mimeType",type=java.lang.String.class,javaDoc="The MIME type for this format. Content will be downloaded with mime type. You can configure your browser to deal with different MIME types. See your browser documentation for more information on how to do this."),@GeneratedProperty(name="description",type=java.lang.String.class,javaDoc="Descriptive string for this format.",constraints=@PropertyConstraints(upperLimit=2000)),@GeneratedProperty(name="indexable",type=boolean.class,javaDoc="True if this DataFormat type is indexable by the system."),@GeneratedProperty(name="fileFormatOnly",type=boolean.class,initialValue="false",javaDoc="True if this mimeType is only applicable to ApplicationData objects. This would be true for formats like \"Microsoft Word\", \"Postscript\" etc. It would be false for \"URL Link\" and \"File Set\"."),@GeneratedProperty(name="standardIconStr",type=java.lang.String.class,javaDoc="A string that points to a representative icon for this format type. The default icon for example is wt/clients/images/generic.gif.",constraints=@PropertyConstraints(required=true)),@GeneratedProperty(name="extensions",type=java.util.Vector.class,columnProperties=@ColumnProperties(columnType=SMALL_BLOB))})
public class DataFormat
extends wt.content._DataFormat
Populated with all the allowable mime-types and displayed FormatNames
in the system. The system will not run correctly unless the initial
set of this is populated.
You need to be an administrator to create these objects. Note that the
formatName is contrained by the DataFormatIdentity class and must be
unique.
You may not extend this class.
Use the newDataFormat static factory method(s), not the
DataFormat constructor, to construct instances of this class.
Instances must be constructed using the static factory(s), in order
to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
DataFormatIdentityDataFormatKeyContentService- Serialized Form
-
Method Summary
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes