com.google.code.facebookapi
Interface IFacebookMethod

All Known Implementing Classes:
FacebookMethod

public interface IFacebookMethod

Interface for specifying a Facebook API method.


Method Summary
 java.lang.String methodName()
          The name of the method, e.g.
 int numParams()
          Number of method-specific parameters (i.e.
 int numTotalParams()
           
 boolean requiresSession()
           
 boolean takesFile()
           
 

Method Detail

methodName

java.lang.String methodName()
The name of the method, e.g. "facebook.friends.get"

Returns:
the method name
See Also:
Developers Wiki: Facebook API Reference

numParams

int numParams()
Number of method-specific parameters (i.e. excluding universally required parameters such as api_key and sig)

Returns:
the number of parameters expected

requiresSession

boolean requiresSession()
Returns:
whether the method requires an active session to be established

numTotalParams

int numTotalParams()
Returns:
the total number of parameters this method accepts, including required parameters

takesFile

boolean takesFile()
Returns:
whether the method expects a file to be posted


Copyright © 2008. All Rights Reserved.