org.springframework.social.linkedin.api
Class NetworkUpdateParameters
java.lang.Object
org.springframework.social.linkedin.api.NetworkUpdateParameters
public class NetworkUpdateParameters
- extends java.lang.Object
Model Object passed to getNetworkUpdates() to control what parameters are set on the HTTP GET request to LinkedIn Network Updates API.
Constructor Summary |
NetworkUpdateParameters(java.lang.String user,
boolean self,
int recordStart,
int recordCount,
java.util.Date recordsBefore,
java.util.Date recordsAfter,
boolean updateAll,
boolean showHidden,
java.util.List<UpdateTypeInput> updateTypes)
|
NetworkUpdateParameters(java.lang.String user,
boolean self,
int recordStart,
int recordCount,
java.util.Date recordsBefore,
java.util.Date recordsAfter,
boolean updateAll,
boolean showHidden,
UpdateTypeInput... updateTypes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkUpdateParameters
public NetworkUpdateParameters(java.lang.String user,
boolean self,
int recordStart,
int recordCount,
java.util.Date recordsBefore,
java.util.Date recordsAfter,
boolean updateAll,
boolean showHidden,
java.util.List<UpdateTypeInput> updateTypes)
- Parameters:
user
- User to retrieve updates for (Set to null to retrieve for current user)self
- Show updates by self (Set to false to retrieve connections updates)recordStart
- First update to retrieve (Use with recordCount to iterate through updates)recordCount
- Number of updates to retrieve (Use with recordCount to interate through updates)recordsBefore
- Retrieve records before this Date (Set to null to not use)recordsAfter
- Retrieve records after this Date (Set to null to not use)updateAll
- Shortcut for All UpdateTypes (overrides updateTypes if set)showHidden
- Show updates that user has set to hiddenupdateTypes
- List of Update Types to retrieve
NetworkUpdateParameters
public NetworkUpdateParameters(java.lang.String user,
boolean self,
int recordStart,
int recordCount,
java.util.Date recordsBefore,
java.util.Date recordsAfter,
boolean updateAll,
boolean showHidden,
UpdateTypeInput... updateTypes)
- Parameters:
user
- User to retrieve updates for (Set to null to retrieve for current user)self
- Show updates by self (Set to false to retrieve connections updates)recordStart
- First update to retrieve (Use with recordCount to iterate through updates)recordCount
- Number of updates to retrieve (Use with recordCount to interate through updates)recordsBefore
- Retrieve records before this Date (Set to null to not use)recordsAfter
- Retrieve records after this Date (Set to null to not use)updateAll
- Shortcut for All UpdateTypes (overrides updateTypes if set)showHidden
- Show updates that user has set to hiddenupdateTypes
- List of Update Types to retrieve
getUser
public java.lang.String getUser()
getSelf
public boolean getSelf()
getRecordStart
public int getRecordStart()
getRecordCount
public int getRecordCount()
getRecordsBefore
public java.util.Date getRecordsBefore()
getRecordsAfter
public java.util.Date getRecordsAfter()
getUpdateTypes
public java.util.List<UpdateTypeInput> getUpdateTypes()
getUpdateAll
public boolean getUpdateAll()
getShowHidden
public boolean getShowHidden()