org.nakedobjects.applib.profiles
Interface ProfileService


public interface ProfileService

Not intended to be used directly; decouples the UserProfileFixture, which needs to persist Perspectives, from the rest of the framework's runtime.

A suitable implementation is injected into UserProfileFixture when installed.

See Also:
SwitchUserService

Method Summary
 Profile newUserProfile()
           
 Profile newUserProfile(Profile profile)
           
 void saveAsDefault(Profile profile)
           
 void saveForUser(String name, Profile profile)
           
 

Method Detail

newUserProfile

Profile newUserProfile()

newUserProfile

Profile newUserProfile(Profile profile)

saveForUser

void saveForUser(String name,
                 Profile profile)

saveAsDefault

void saveAsDefault(Profile profile)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.