|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivityManager
ActivityManager is an interface for activity and activity menu management.
Method Summary | |
---|---|
Activity |
createActivity(java.lang.String id,
java.lang.String activityClass)
Create an activity by using given parameters. |
ActivityMenuItem |
createActivityMenuItem(Activity activity)
create the Menu Item using given activity. |
Activity |
getActivity(java.lang.String id)
Get the activity for the given activity identifier. |
ActivityMenu |
getActivityMenu()
Get the ActivityMenu associated with the ActivityManager. |
java.util.List<Activity> |
getAllActivities()
Get all the activities available in the configuration file. |
boolean |
removeActivity(java.lang.String id)
Remove the activity associated with the given activity identifier. |
Method Detail |
---|
java.util.List<Activity> getAllActivities() throws CLLException
CLLException
- in case of failed to construct the activities.Activity getActivity(java.lang.String id) throws CLLException
id
- unique identifier for the activity.
CLLException
- in case of failed to construct the activity.boolean removeActivity(java.lang.String id) throws CLLException
id
- unique identifier for the activity.
CLLException
- in case of failed to remove the activity.ActivityMenuItem createActivityMenuItem(Activity activity) throws CLLException
activity
- activity implementation class class reference used perform the actions on the activity.
CLLException
- in case of failed to construct the ActivityMenuItem using given activity.Activity createActivity(java.lang.String id, java.lang.String activityClass) throws CLLException
id
- unique identifier for the activity.activityClass
- activity implementation class
CLLException
- in case of failed to create an activityActivityMenu getActivityMenu()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |