public class ChangeRoomNameImpl extends BaseCommandImpl implements com.tvd12.ezyfox.core.command.ChangeRoomName
ChangeRoomName
api, context, extension
Constructor and Description |
---|
ChangeRoomNameImpl(AppContextImpl context,
com.smartfoxserver.v2.api.ISFSApi api,
com.smartfoxserver.v2.extensions.ISFSExtension extension) |
Modifier and Type | Method and Description |
---|---|
Boolean |
execute() |
com.tvd12.ezyfox.core.command.ChangeRoomName |
name(String newName) |
com.tvd12.ezyfox.core.command.ChangeRoomName |
owner(com.tvd12.ezyfox.core.entities.ApiBaseUser owner) |
com.tvd12.ezyfox.core.command.ChangeRoomName |
room(com.tvd12.ezyfox.core.entities.ApiRoom targetRoom) |
public ChangeRoomNameImpl(AppContextImpl context, com.smartfoxserver.v2.api.ISFSApi api, com.smartfoxserver.v2.extensions.ISFSExtension extension)
context
- the contextapi
- the apiextension
- the extensionpublic Boolean execute()
execute
in interface com.tvd12.ezyfox.core.command.BaseCommand
public com.tvd12.ezyfox.core.command.ChangeRoomName owner(com.tvd12.ezyfox.core.entities.ApiBaseUser owner)
owner
in interface com.tvd12.ezyfox.core.command.ChangeRoomName
public com.tvd12.ezyfox.core.command.ChangeRoomName room(com.tvd12.ezyfox.core.entities.ApiRoom targetRoom)
room
in interface com.tvd12.ezyfox.core.command.ChangeRoomName
public com.tvd12.ezyfox.core.command.ChangeRoomName name(String newName)
name
in interface com.tvd12.ezyfox.core.command.ChangeRoomName
Copyright © 2012–2017 Young Monkeys. All rights reserved.