ubiware.rdf2bean.social
Class PersonalUserNetwork
java.lang.Object
ubiware.rdf2bean.core.RDFResource
ubiware.rdf2bean.social.PersonalUserNetwork
public class PersonalUserNetwork
- extends RDFResource
|
Constructor Summary |
PersonalUserNetwork(java.lang.String resourceURI,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> props,
Storage s)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
handledResource
public static java.lang.String handledResource
PersonalUserNetwork
public PersonalUserNetwork(java.lang.String resourceURI,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> props,
Storage s)
getHasConnection
public java.util.List<HumanConnection> getHasConnection()
setHasConnection
public void setHasConnection(java.util.List<HumanConnection> listHumanConnections)
getProfilesOfType
public java.util.List<SocialNetworkProfile> getProfilesOfType(java.lang.String profileType)
- Start - Convenience methods for Mashupper webapp
addProfiles
public void addProfiles(java.util.List<SocialNetworkProfile> profiles)
print
public void print()
switchPlaces
public void switchPlaces(int sourceIndex,
int targetIndex,
SocialNetworkProfile sourceProfile,
SocialNetworkProfile targetProfile)
- Parameters:
sourceIndex - the index of the HumanConnection where drag initiatedtargetIndex - the index of the HumanConnection where item was draggedsourceProfile - the profile being draggedtargetProfile - the profile on top of which the source is dropped
setupHumanConnectionNames
public void setupHumanConnectionNames()
removeEmptyRows
public void removeEmptyRows()
toRdf
public java.lang.String toRdf()
throws java.lang.Exception
- Throws:
java.lang.Exception
split
public boolean split(SocialNetworkProfile profile,
int connectionIndex)
- Method for splitting a HumanConnection. Creates a new HumanConnection object with the targeted SocialNetworkProfile alone in it.
- Parameters:
profile - The SocialNetworkProfile targeted for splittingconnectionIndex - The index identifying the to-be-split HumanConnection
- Returns:
- true if split was done
main
public static void main(java.lang.String[] args)
throws org.openrdf.query.QueryEvaluationException,
org.openrdf.repository.RepositoryException,
org.openrdf.query.MalformedQueryException
- End - Convenience methods for Mashupper webapp
- Throws:
org.openrdf.query.QueryEvaluationException
org.openrdf.repository.RepositoryException
org.openrdf.query.MalformedQueryException