|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.content.manager.propertysets.PropertySetRepositoryImpl
@Deprecated public class PropertySetRepositoryImpl
This is PropertySetRepository implementation for the PropertySetManager which returns PropertySets for the ObjectClasses in a content repositories.
Field Summary | |
---|---|
static String |
SEPERATOR
Deprecated The constant for the objectclass, repository separator |
static String |
STANDARD_NAME
Deprecated |
static String |
STANDARD_VERSIONED_NAME
Deprecated |
static PropertySet |
stdPropertySet
Deprecated |
static PropertySet |
stdVersionedPropertySet
Deprecated |
Constructor Summary | |
---|---|
PropertySetRepositoryImpl()
Deprecated No argument Constructor. |
Method Summary | |
---|---|
boolean |
addPropertySet(String name,
PropertySet ps)
Deprecated Add a PropertySet to this repository. |
void |
clear()
Deprecated Clear this repository. |
PropertySet |
convert(ObjectClass oc)
Deprecated Convert an ObjectClass into a PropertySet. |
ObjectClass[] |
getObjectClasses()
Deprecated Connect to the repository manager and get the object classes. |
PropertySet |
getPropertySet(String name)
Deprecated Get the named PropertySet. |
String |
getPropertySetName(ObjectClass oc)
Deprecated Get the property set name for the object class. |
String[] |
getPropertySetNames()
Deprecated Return an string array of property set names of all the property sets in the content management system. |
Map |
getPropertySets()
Deprecated Get all the PropertySets available in the content management system. |
void |
removePropertySet(String name)
Deprecated Remove a PropertySet from this repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SEPERATOR
public static final String STANDARD_NAME
public static final String STANDARD_VERSIONED_NAME
public static final PropertySet stdPropertySet
public static final PropertySet stdVersionedPropertySet
Constructor Detail |
---|
public PropertySetRepositoryImpl()
This will connect to the current repositories using the repository manager.
Method Detail |
---|
public ObjectClass[] getObjectClasses() throws RepositoryException
If not repositories are configured, this will return an empty array.
RepositoryException
- if this operation fails.public PropertySet getPropertySet(String name)
getPropertySet
in interface PropertySetRepository
name
- The name of the property set to retrieve. Returns a null if
it cannot find the named property set.
public Map getPropertySets()
getPropertySets
in interface PropertySetRepository
public String[] getPropertySetNames()
getPropertySetNames
in interface PropertySetRepository
PropertySetRepository.getPropertySetNames()
public boolean addPropertySet(String name, PropertySet ps) throws UnsupportedOperationException
This operation is not supported.
addPropertySet
in interface PropertySetRepository
name
- the name to associate with ths PropertySetps
- the PropertySet object itself
UnsupportedOperationException
- always.public void removePropertySet(String name) throws UnsupportedOperationException
This operation is not supported.
removePropertySet
in interface PropertySetRepository
name
- the name of the PropertySet to remove
UnsupportedOperationException
- always.public void clear() throws UnsupportedOperationException
This operation is not supported.
clear
in interface PropertySetRepository
UnsupportedOperationException
- always.public String getPropertySetName(ObjectClass oc)
Object class property set names look like reponame/object-class-name.
oc
- The Object Class
public PropertySet convert(ObjectClass oc) throws RepositoryException
oc
- The Object Class
RepositoryException
- if this operation fails.
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |