sdk/src/com/socialize/api/action/activity/SocializeActivitySystem.java
@Override
	public SocializeAction getAction(SocializeSession session, long id, ActionType type) throws SocializeException {
		String endpoint = null;
		switch(type) {
		
			case COMMENT:
				endpoint = CommentSystem.ENDPOINT;
				break;
			case LIKE:
				endpoint = LikeSystem.ENDPOINT;
				break;
			case SHARE:
				endpoint = ShareSystem.ENDPOINT;
				break;
			case VIEW:
				endpoint = ViewSystem.ENDPOINT;
				break;			
		}
		
		return get(session, endpoint, String.valueOf(id), type);
	}
@Override
	public SocializeAction getAction(SocializeSession session, long id, ActionType type) throws SocializeException {
		String endpoint = null;
		switch(type) {
		
			case COMMENT:
				endpoint = CommentSystem.ENDPOINT;
				break;
			case LIKE:
				endpoint = LikeSystem.ENDPOINT;
				break;
			case SHARE:
				endpoint = ShareSystem.ENDPOINT;
				break;
			case VIEW:
				endpoint = ViewSystem.ENDPOINT;
				break;			
		}
		
		return get(session, endpoint, String.valueOf(id), type);
	}
/*
(non-Javadoc)
@see com.socialize.api.action.ActivitySystem#getAction(com.socialize.api.SocializeSession, long, com.socialize.api.action.ActionType)