|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalizationControl
Method Summary | |
---|---|
void |
addLocalizationResource(com.bea.netuix.application.localization.identifier.LocalizationIntersectionId id,
Locale locale,
String title,
String description,
String type,
String appName,
com.bea.portal.tools.common.ResourceContext context)
Adds a new LocalizationResource |
void |
deleteLocalizationResource(com.bea.netuix.application.localization.identifier.LocalizationLocaleId localeId,
com.bea.netuix.application.localization.identifier.LocalizationIntersectionId intersectId,
com.bea.portal.tools.common.ResourceContext context)
Deletes a localization resource. |
Locale |
getLocale(com.bea.netuix.application.localization.identifier.LocalizationLocaleId id,
com.bea.portal.tools.common.ResourceContext context)
This method will lookup the locale associated with the localizationLocaleId. |
com.bea.p13n.pagination.SortableFilterablePagedResult<com.bea.netuix.application.localization.definition.LocalizationLocale> |
getLocalizationLocales(int pageSize,
com.bea.portal.tools.common.ResourceContext context)
Gets all the available locales. |
com.bea.p13n.pagination.SortableFilterablePagedResult<com.bea.netuix.application.localization.definition.LocalizationResource> |
getLocalizationResources(int pageSize,
com.bea.netuix.application.localization.identifier.LocalizationIntersectionId id,
com.bea.portal.tools.common.ResourceContext context)
Returns all the LocalizationResources given a LocalizationIntersectionId. |
com.bea.netuix.application.localization.definition.LocalizationResource[] |
getLocalizationResources(com.bea.netuix.application.localization.identifier.LocalizationIntersectionId id,
com.bea.portal.tools.common.ResourceContext context)
Returns all the LocalizationResources given a LocalizationIntersectionId. |
void |
updateLocalizationResource(com.bea.netuix.application.localization.identifier.LocalizationIntersectionId id,
Locale locale,
String title,
String description,
com.bea.portal.tools.common.ResourceContext context)
Updates a LocalizationResource |
void |
updateLocalizationResource(com.bea.netuix.application.localization.definition.LocalizationResource resource,
com.bea.portal.tools.common.ResourceContext context)
Updates a LocalizationResource |
Method Detail |
---|
Locale getLocale(com.bea.netuix.application.localization.identifier.LocalizationLocaleId id, com.bea.portal.tools.common.ResourceContext context) throws com.bea.portal.tools.common.exceptions.ToolsException
localizationLocaleId
- The id associated with the localecontext
- the resource context.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.p13n.pagination.SortableFilterablePagedResult<com.bea.netuix.application.localization.definition.LocalizationLocale> getLocalizationLocales(int pageSize, com.bea.portal.tools.common.ResourceContext context) throws com.bea.portal.tools.common.exceptions.ToolsException
pageSize
- the number of results to return per page.context
- the resource context.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.localization.definition.LocalizationResource[] getLocalizationResources(com.bea.netuix.application.localization.identifier.LocalizationIntersectionId id, com.bea.portal.tools.common.ResourceContext context) throws com.bea.portal.tools.common.exceptions.ToolsException
id
- The id of all the locales associated with
the Portal Resource.context
- the resource context.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.p13n.pagination.SortableFilterablePagedResult<com.bea.netuix.application.localization.definition.LocalizationResource> getLocalizationResources(int pageSize, com.bea.netuix.application.localization.identifier.LocalizationIntersectionId id, com.bea.portal.tools.common.ResourceContext context) throws com.bea.portal.tools.common.exceptions.ToolsException
pageSize
- The size of the pages in the PagedResultid
- The id of all the locales associated with
the Portal Resource.context
- the resource context.
com.bea.portal.tools.common.exceptions.ToolsException
void addLocalizationResource(com.bea.netuix.application.localization.identifier.LocalizationIntersectionId id, Locale locale, String title, String description, String type, String appName, com.bea.portal.tools.common.ResourceContext context) throws com.bea.portal.tools.common.exceptions.ToolsException, com.bea.netuix.application.exception.MissingDataException, com.bea.netuix.application.exception.ObjectNotFoundException
id
- The LocalizationIntersectionIdlocale
- The new locale objecttitle
- The associated title.description
- The associated descriptiontype
- The type or portal resource this maps to.appName
- The enterprise application name.context
- the resource context.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.exception.MissingDataException
com.bea.netuix.application.exception.ObjectNotFoundException
void updateLocalizationResource(com.bea.netuix.application.localization.identifier.LocalizationIntersectionId id, Locale locale, String title, String description, com.bea.portal.tools.common.ResourceContext context) throws com.bea.portal.tools.common.exceptions.ToolsException, com.bea.netuix.application.exception.MissingDataException, com.bea.netuix.application.exception.ObjectNotFoundException
id
- The LocalizationIntersectionIdlocale
- The existing locale objecttitle
- The new title.description
- The new descriptioncontext
- the resource context.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.exception.MissingDataException
com.bea.netuix.application.exception.ObjectNotFoundException
void updateLocalizationResource(com.bea.netuix.application.localization.definition.LocalizationResource resource, com.bea.portal.tools.common.ResourceContext context) throws com.bea.portal.tools.common.exceptions.ToolsException, com.bea.netuix.application.exception.MissingDataException, com.bea.netuix.application.exception.ObjectNotFoundException
resource
- The LocalizationResourcecontext
- the resource context.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.exception.MissingDataException
com.bea.netuix.application.exception.ObjectNotFoundException
void deleteLocalizationResource(com.bea.netuix.application.localization.identifier.LocalizationLocaleId localeId, com.bea.netuix.application.localization.identifier.LocalizationIntersectionId intersectId, com.bea.portal.tools.common.ResourceContext context) throws com.bea.portal.tools.common.exceptions.ToolsException, com.bea.netuix.application.exception.ObjectNotFoundException
localeId
- The LocalizationLocaleIdintersectId
- The LocalizationIntersectionIdcontext
- the resource context.
com.bea.portal.tools.common.exceptions.ToolsException
com.bea.netuix.application.exception.ObjectNotFoundException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |