|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.client.gwt.core.GlobalsImpl
public class GlobalsImpl
Globals
implementation.
Field Summary |
---|
Fields inherited from interface ccc.client.core.Globals |
---|
API_URL, APP_URL, DEFAULT_HEIGHT, DEFAULT_MIN_HEIGHT, DEFAULT_UPLOAD_HEIGHT, DEFAULT_WIDTH, MAX_FETCH, MIN_USER_NAME_LENGTH, MIN_WIDTH |
Constructor Summary | |
---|---|
GlobalsImpl()
|
Method Summary | |
---|---|
PagedCollection<ActionSummary> |
actions()
TODO: Add a description for this method. |
static void |
actions(PagedCollection<ActionSummary> actions)
Set the collection for managing actions. |
java.lang.String |
appURL()
Determine the URL for the application. |
PagedCollection<Comment> |
comments()
TODO: Add a description for this method. |
static void |
comments(PagedCollection<Comment> comments)
Set the collection for managing comments. |
User |
currentUser()
Accessor. |
void |
currentUser(User user)
Mutator. |
static API |
getAPI()
Accessor. |
java.lang.String |
getSetting(java.lang.String settingName)
Retrieve a setting value. |
PagedCollection<Group> |
groups()
TODO: Add a description for this method. |
static void |
groups(PagedCollection<Group> groups)
Set the collection for managing groups. |
java.lang.String |
hostURL()
Determine the URL for the application's host. |
static void |
setActionConstants(ActionStatusConstants create)
Mutator. |
static void |
setAPI(API api)
Mutator. |
static void |
setCommandConstants(CommandTypeConstants create)
Mutator. |
void |
setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
Provide additional settings for this global object. |
static void |
setUserActions(ActionNameConstants userActions)
Mutator. |
PagedCollection<User> |
users()
TODO: Add a description for this method. |
static void |
users(PagedCollection<User> users)
Set the collection for managing users. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalsImpl()
Method Detail |
---|
public java.lang.String appURL()
appURL
in interface Globals
public User currentUser()
currentUser
in interface Globals
public void currentUser(User user)
currentUser
in interface Globals
user
- The current logged in user.public java.lang.String hostURL()
hostURL
in interface Globals
public static void setUserActions(ActionNameConstants userActions)
userActions
- The action names to set.public java.lang.String getSetting(java.lang.String settingName)
getSetting
in interface Globals
settingName
- The name of the setting to retrieve.
public void setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
settings
- The settings to add.public PagedCollection<User> users()
users
in interface Globals
public static void users(PagedCollection<User> users)
users
- The user collection to access.public PagedCollection<ActionSummary> actions()
actions
in interface Globals
public static void actions(PagedCollection<ActionSummary> actions)
actions
- The action collection to access.public PagedCollection<Comment> comments()
comments
in interface Globals
public static void comments(PagedCollection<Comment> comments)
comments
- The comment collection to access.public PagedCollection<Group> groups()
groups
in interface Globals
public static void groups(PagedCollection<Group> groups)
groups
- The group collection to access.public static void setActionConstants(ActionStatusConstants create)
create
- The action statuses.public static void setCommandConstants(CommandTypeConstants create)
create
- The command types.public static void setAPI(API api)
api
- The remote API.public static API getAPI()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |