|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.types.impl.ProfileImpl
public class ProfileImpl
Field Summary |
---|
Fields inherited from interface com.softwareag.centrasite.appl.framework.types.Profile |
---|
KEY_GENERIC_PROFILE_Assocations, KEY_GENERIC_PROFILE_AuditLog, KEY_GENERIC_PROFILE_Classifications, KEY_GENERIC_PROFILE_Consumers, KEY_GENERIC_PROFILE_ExternalLinks, KEY_GENERIC_PROFILE_Notifications, KEY_GENERIC_PROFILE_ObjectSpecificProperties, KEY_GENERIC_PROFILE_Permissions, KEY_GENERIC_PROFILE_Versions, SLOT_ATTRIBUTES, SLOT_PROFILE_ID |
Constructor Summary | |
---|---|
ProfileImpl(javax.xml.registry.Connection connection,
java.util.Locale locale,
javax.xml.registry.infomodel.RegistryEntry regEntry)
Creates a Profile by using provided Connection, Locale and RegistryEntry profile object |
Method Summary | |
---|---|
void |
addAttribute(AttributeDescription attribute)
Adds an attribute to the given profile. |
java.util.Collection<java.lang.String> |
getAttributeNames()
Retrieves all names of attributes associated with th profile. |
java.util.Collection<AttributeDescription> |
getAttributes()
Gets all attributes of the profile. |
java.lang.String |
getDescription()
Returns the registry objects description. |
java.lang.String |
getKey()
Retrieves the key of this profile object. |
java.lang.String |
getName()
Returns the registry objects name. |
javax.xml.registry.infomodel.RegistryEntry |
getRegEntry()
Returns the RegistryEntry Profile object associated with this Profile |
int |
getSequenceNumber()
Retrieves this profiles's sequence number inside the type it belongs to. |
boolean |
isPredefined()
Checks if this profile is one of the predefined ones. |
void |
removeAttribute(AttributeDescription attribute)
Removes an attribute from the given profile. |
void |
setAttributeNames(java.util.Collection<java.lang.String> attributeNames)
Adds attributes to the given profile |
void |
setDescription(java.lang.String description)
Sets the registry objects description. |
void |
setName(java.lang.String name)
Sets the registry objects name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileImpl(javax.xml.registry.Connection connection, java.util.Locale locale, javax.xml.registry.infomodel.RegistryEntry regEntry) throws CSAppFrameworkException
connection
- locale
- regEntry
-
CSAppFrameworkException
Method Detail |
---|
public javax.xml.registry.infomodel.RegistryEntry getRegEntry()
public java.util.Collection<java.lang.String> getAttributeNames() throws CSAppFrameworkException
getAttributeNames
in interface Profile
CSAppFrameworkException
public int getSequenceNumber() throws CSAppFrameworkException
getSequenceNumber
in interface Profile
CSAppFrameworkException
public boolean isPredefined() throws CSAppFrameworkException
isPredefined
in interface Profile
CSAppFrameworkException
public void setAttributeNames(java.util.Collection<java.lang.String> attributeNames) throws CSAppFrameworkException
attributeNames
-
CSAppFrameworkException
public java.lang.String getDescription() throws CSAppFrameworkException
getDescription
in interface Profile
CSAppFrameworkException
public java.lang.String getName() throws CSAppFrameworkException
getName
in interface Profile
CSAppFrameworkException
public void setDescription(java.lang.String description) throws CSAppFrameworkException
setDescription
in interface Profile
CSAppFrameworkException
public void setName(java.lang.String name) throws CSAppFrameworkException
setName
in interface Profile
CSAppFrameworkException
public java.util.Collection<AttributeDescription> getAttributes() throws CSAppFrameworkException
getAttributes
in interface Profile
CSAppFrameworkException
public void removeAttribute(AttributeDescription attribute) throws CSAppFrameworkException
removeAttribute
in interface Profile
CSAppFrameworkException
public void addAttribute(AttributeDescription attribute) throws CSAppFrameworkException
addAttribute
in interface Profile
CSAppFrameworkException
public java.lang.String getKey() throws CSAppFrameworkException
Profile
getKey
in interface Profile
CSAppFrameworkException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |