|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ControlInterface public interface LocalizationControl
Method Summary | |
---|---|
void |
addLocalizationResource(LocalizationIntersectionId id,
Locale locale,
String title,
String description,
String type,
String appName,
ResourceContext context)
Adds a new LocalizationResource |
void |
deleteLocalizationResource(LocalizationLocaleId localeId,
LocalizationIntersectionId intersectId,
ResourceContext context)
Deletes a localization resource. |
Locale |
getLocale(LocalizationLocaleId id,
ResourceContext context)
This method will lookup the locale associated with the localizationLocaleId. |
SortableFilterablePagedResult<LocalizationLocale> |
getLocalizationLocales(int pageSize,
ResourceContext context)
Gets all the available locales. |
SortableFilterablePagedResult<LocalizationResource> |
getLocalizationResources(int pageSize,
LocalizationIntersectionId id,
ResourceContext context)
Returns all the LocalizationResources given a LocalizationIntersectionId. |
LocalizationResource[] |
getLocalizationResources(LocalizationIntersectionId id,
ResourceContext context)
Returns all the LocalizationResources given a LocalizationIntersectionId. |
void |
updateLocalizationResource(LocalizationIntersectionId id,
Locale locale,
String title,
String description,
ResourceContext context)
Updates a LocalizationResource |
void |
updateLocalizationResource(LocalizationResource resource,
ResourceContext context)
Updates a LocalizationResource |
Method Detail |
---|
Locale getLocale(LocalizationLocaleId id, ResourceContext context) throws ToolsException
id
- The id associated with the localecontext
- the resource context.
ToolsException
SortableFilterablePagedResult<LocalizationLocale> getLocalizationLocales(int pageSize, ResourceContext context) throws ToolsException
pageSize
- the number of results to return per page.context
- the resource context.
ToolsException
LocalizationResource[] getLocalizationResources(LocalizationIntersectionId id, ResourceContext context) throws ToolsException
id
- The id of all the locales associated with
the Portal Resource.context
- the resource context.
ToolsException
SortableFilterablePagedResult<LocalizationResource> getLocalizationResources(int pageSize, LocalizationIntersectionId id, ResourceContext context) throws 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.
ToolsException
void addLocalizationResource(LocalizationIntersectionId id, Locale locale, String title, String description, String type, String appName, ResourceContext context) throws ToolsException, MissingDataException, 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.
ToolsException
MissingDataException
ObjectNotFoundException
void updateLocalizationResource(LocalizationIntersectionId id, Locale locale, String title, String description, ResourceContext context) throws ToolsException, MissingDataException, ObjectNotFoundException
id
- The LocalizationIntersectionIdlocale
- The existing locale objecttitle
- The new title.description
- The new descriptioncontext
- the resource context.
ToolsException
MissingDataException
ObjectNotFoundException
void updateLocalizationResource(LocalizationResource resource, ResourceContext context) throws ToolsException, MissingDataException, ObjectNotFoundException
resource
- The LocalizationResourcecontext
- the resource context.
ToolsException
MissingDataException
ObjectNotFoundException
void deleteLocalizationResource(LocalizationLocaleId localeId, LocalizationIntersectionId intersectId, ResourceContext context) throws ToolsException, ObjectNotFoundException
localeId
- The LocalizationLocaleIdintersectId
- The LocalizationIntersectionIdcontext
- the resource context.
ToolsException
ObjectNotFoundException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |