public interface IPrincipalAttributeProvider extends IDirSystemManagementObject
CREATE_GROUP_MODE, CREATE_USER_MODE, CURRENT_PRINCIPAL
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(IURI principalURI,
String attrName)
Retrieves an attribute
|
List<String> |
getAttributeNames(int principalType,
IURI principalURI)
The attribute names
|
Map<String,Object> |
getAttributes(IURI principalURI)
Retrieve all of the attributes for this principal and this provider
|
String |
getAttributeTitle(int principalType,
String attributeName,
IURI principalURI,
Locale currentLocale)
The attribute title for this attribute name
|
List<String> |
getAttributeTitles(int principalType,
IURI principalURI,
Locale currentLocale)
The attribute titles for the current locale
|
void |
setAttribute(IURI principalURI,
String attrName,
Object attrValue)
Sets a new attribute on this provider
|
getPortletBean
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
Object getAttribute(IURI principalURI, String attrName) throws PortalException
principalURI
- attrName
- PortalException
void setAttribute(IURI principalURI, String attrName, Object attrValue) throws PortalException
principalURI
- attrName
- attrValue
- PortalException
List<String> getAttributeNames(int principalType, IURI principalURI) throws PortalException
principalType
- either TYPE_USER, TYPE_GROUP or TYPE_ROLEprincipalURI
- PortalException
List<String> getAttributeTitles(int principalType, IURI principalURI, Locale currentLocale) throws PortalException
principalType
- either TYPE_USER, TYPE_GROUP or TYPE_ROLEprincipalURI
- PortalException
String getAttributeTitle(int principalType, String attributeName, IURI principalURI, Locale currentLocale) throws PortalException
principalType
- either TYPE_USER, TYPE_GROUP or TYPE_ROLEattributeName
- principalURI
- currentLocale
- PortalException
Map<String,Object> getAttributes(IURI principalURI) throws PortalException
principalURI
- PortalException