|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.DKMimetypeMgmtFed
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdFed |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKConstantFed |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Constructor Summary | |
DKMimetypeMgmtFed()
Default constructor |
|
DKMimetypeMgmtFed(dkDatastore ds,
int accessLevel)
Constructor with datastore reference |
Method Summary | |
void |
addCC2Mime(DKCC2MimeFed cc2MimeObj)
Adds a new ContentClass/File Extension association to Mime key to the database |
void |
addMime2App(DKMime2AppFed mimeObj)
Adds mimetype to application object |
void |
clearCache()
Clears current cache data |
DKCC2MimeFed |
getCC2Mime(java.lang.String key)
Gets a content class, file extension, or column name with mimetype association information based on the key |
dkDatastore |
getDatastore()
Gets the datastore object |
DKMime2AppFed |
getMime2App(java.lang.String mimetype)
Gets a mimetype to application information based on the mimetype |
java.util.Vector |
getMimeTypes()
Get a list of available mimetypes that we know of from federated database |
dkCollection |
listAllCC2Mimes()
Gets a list of DKCC2MimeFed objects defined in EIP server |
dkCollection |
listCC2Mimes(java.lang.String dsType)
Gets a list of DKCC2MimeFed objects defined in EIP server for this given datastore type. |
dkCollection |
listMime2Apps()
Gets a list of Mime2App objects |
void |
removeAllCC2Mimes()
Removes all CC2Mime data from federated database |
void |
removeAllMime2Apps()
Removes all mime2app association in EIP database |
void |
removeCC2Mime(java.lang.String key)
Removes a CC to Mime key from the database |
void |
removeMime2App(DKMime2AppFed mimeObj)
Removes a mimetype to application association from EIP database |
void |
removeMime2App(java.lang.String mimetype)
deletes a mimetype to application information based on the mimetype |
void |
setDatastore(dkDatastore ds)
Sets the datastore object |
void |
updateCC2Mime(DKCC2MimeFed cc2MimeObj)
Updates given CC2Mime data from EIP server |
void |
updateMime2App(DKMime2AppFed mimeObj)
Updates the given mime2app association in EIP database |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKMimetypeMgmtFed()
public DKMimetypeMgmtFed(dkDatastore ds, int accessLevel) throws DKException, java.lang.Exception
ds
- dkDatastore - datastore objectMethod Detail |
public void setDatastore(dkDatastore ds) throws DKException, java.lang.Exception
ds
- dkDatastore - datastore objectpublic dkDatastore getDatastore()
public dkCollection listMime2Apps() throws DKException
DKException
- public DKMime2AppFed getMime2App(java.lang.String mimetype) throws DKNotExistException, DKException
mimetype
- public void removeMime2App(java.lang.String mimetype) throws DKNotExistException, DKException
mimetype
- public void addMime2App(DKMime2AppFed mimeObj) throws DKAlreadyExistException, DKException
mimeObj
- DKMime2AppFed objectpublic void removeMime2App(DKMime2AppFed mimeObj) throws DKNotExistException, DKException
mimeObj
- DKMime2AppFed objectpublic void updateMime2App(DKMime2AppFed mimeObj) throws DKException
mimeObj
- DKMime2AppFed object to be updatedDKException
- when error occurs in the EIP serverpublic void removeAllMime2Apps() throws DKException
public dkCollection listAllCC2Mimes() throws DKException
DKException
- server internal errorpublic dkCollection listCC2Mimes(java.lang.String dsType) throws DKException
dsType
- String - datastore typeDKException
- server internal errorpublic DKCC2MimeFed getCC2Mime(java.lang.String key) throws DKNotExistException, DKException
key
- a string representation of the CC2Mime key. This key could
be one of the following format:
String key = DSType + "." + Server_ContentClass_Value;
or
String key = DSType + "." + document_extension; //for OnDemand
public void addCC2Mime(DKCC2MimeFed cc2MimeObj) throws DKAlreadyExistException, DKException
cc2MimeObj
- DKCC2MimeFed object to be addedDKAlreadyExistException
- if the given key already existsDKException
- if the error occurs in the serverpublic void removeCC2Mime(java.lang.String key) throws DKNotExistException, DKException
key
- a string representation of the CC2Mime key. This key could
be one of the following format:
String key = DSType + "." + Server_ContentClass_Value;
or
String key = DSType + "." + document_extension; //for OnDemand
DKNotExistException
- if the given key does not existDKException
- if the error occurs in the serverpublic void removeAllCC2Mimes() throws DKException
DKException
- if error occurs in the serverpublic void updateCC2Mime(DKCC2MimeFed cc2MimeObj) throws DKException, java.lang.Exception
cc2MimeObj
- DKCC2MimeFed - cc2mime object to be updatedDKException
- if error occurs in the serverpublic java.util.Vector getMimeTypes() throws DKException, java.lang.Exception
DKException
- if error occurs in the serverpublic void clearCache()
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |