|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Deprecated As of 10.2, replaced by ObjectClassOpsV1
. The SPI interfaces in the com.bea.content.spi package have all been deprecated as of 10.2. Oracle does not intend to remove these interfaces during the next major release of WebLogic Portal. However, please note that new development should take place using the com.bea.content.spi.flexspi interfaces going forward.
@Deprecated
public interface ExtendedObjectClassOps
This ObjectsOps interface was added so that if customers choose, they can implement it to get new functionality from the CM system.
Method Summary | |
---|---|
QueryResult<ObjectClass> |
getChildObjectClasses(ID objectClassId, QueryCriteria queryCriteria) Deprecated Retreives the first level of types which extend the given type in some way. |
Set<String> |
getNativeFilterableProperties(String repositoryName) Deprecated Returns a set of property names which the repository can filter natively (within the repository instead of the federated API) for paging purposes. |
Set<String> |
getNativeSortableProperties(String repositoryName) Deprecated Returns a set of property names which the repository can sort natively (within the repository instead of the federated API) for paging purposes. |
ObjectClass |
getObjectClass(String name) Deprecated Gets the ObjectClass with the given name. |
ObjectClass[] |
getObjectClasses(QueryCriteria queryCriteria) Deprecated Gets all of the ObjectClasses available in the content repository. |
ObjectClass |
save(ObjectClass objectClass) Deprecated This method updates an existing object class in a single transaction. |
Methods inherited from interface com.bea.content.spi.ObjectClassOps |
---|
createObjectClass, createPropertyDefinition, deleteObjectClass, deletePropertyDefinition, getObjectClass, getObjectClasses, getPropertyChoiceBytes, getPropertyDefinition, getPropertyDefinitions, renameObjectClass, updatePropertyDefinition |
Method Detail |
---|
QueryResult<ObjectClass> getChildObjectClasses(ID objectClassId, QueryCriteria queryCriteria) throws NoSuchObjectClassException, RepositoryException
objectClassId
- The ID of the typequeryCriteria
- The query criteria for this operationCollection
of types which extend the given type. Ordered by path.NoSuchObjectClassException
- If the given type doesn't exist.RepositoryException
- If the operation fails.ObjectClass save(ObjectClass objectClass) throws AuthorizationException, ObjectClassInUseException, RepositoryException
objectClass
- The object class to update.AuthorizationException
- - if the user attempting the operation is not authorized to perform it.ObjectClassInUseException
- if the type is in use and the update to be performed is illegal.RepositoryException
- - if error occurs during the update operation.ObjectClass getObjectClass(String name) throws AuthorizationException, NoSuchObjectClassException, RepositoryException
name
- - the name of the ObjectClass to get.AuthorizationException
- - if the user attempting the operation is not authorized to perform it.NoSuchObjectClassException
- - if the ObjectClass to get does not exist.RepositoryException
- - if the repository encounters an error during the operation.ObjectClass[] getObjectClasses(QueryCriteria queryCriteria) throws AuthorizationException
queryCriteria
- - The query criteria for this operationAuthorizationException
- - if the user attempting the operation is not authorized to perform it.Set<String> getNativeSortableProperties(String repositoryName) throws RepositoryException
repositoryName
- The name of the repository.RepositoryException
- If the operation does not succeed.Set<String> getNativeFilterableProperties(String repositoryName) throws RepositoryException
repositoryName
- The name of the repository.RepositoryException
- If the operation does not succeed.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.