Skip to content

Malaaaa/FinalProject

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinalProject

1.Action

(1).HomePage Action

a.Request Main Page (Login or not Login, its different results)

MainAction

   return List(Object)

b.Login Page

LoginAction(String Username, String Password, String type) (0 for normal user, 1 for publisher user)

   return 0 or 1; 0 = false, 1 = true;

c.Publish Recruitment Information

PublishAction(String Title, String Information, String CompanyId)

   return 0 or 1; 0 = false, 1 = true;

d.Change Publish Information

ChangePublishInfo(String PublishId, String Title, String Information, String CompanyId);

   return 0 or 1; 0 = false, 1 = true;

e.Cancel Recruitment Information

CancelAcction(String RecruitmentId)

   return 0 or 1; 0 = false, 1 = true;

(2).User Information Page

a.Current Login User Information

UserInfoAction(String UserId)

  return User;

b.Change User Information

ChangeUserInfo(String UserId, String UserName, String Password, ... (in User Object Fields));

   return 0 or 1; 0 = false, 1 = true;

c.Liked Recuritment Information

CheckUserCollection(String userId);

   return List(PublichInformation);

d.Cancel Liked Recuritment Information

CancelUserCollection(String userId, String publishInforId);

   return 0 or 1; 0 = false, 1 = true;

(3).Publisher Information Page

a.CurrentPublisherInformation

CurrentPublisherInfo(String userId);

   return User;

b.Check All Recuritment Information

CheckApplications(String userId);

   return List(PublishInformation)

c.Cancel Recuritment

CancelApplication(String PublishInformationId);

   return 0 or 1; 0 = false, 1 = true;

d.Modify Publisher Information

ChangePublisherInfo(String userId, ... (fields in Publisher Object));

e.Change Recuritment Information

ChangerePublishInfo(String publishInfoId, ....(fields in PublishInformation Object));

2.Object Information

(1).User Object
public class User

private String Id;

private String username;

private String password;

private int gender;

private string phone;

private string profile;

private int type;//do not show to user this field

(2).Publisher Object
public class Publisher

private String id;

private String username;

private String password;

private string phone

private int type; // do not show to user this field

(3).Publish Information
public class PublishInformation

private string publishInfoId;

private string publisherId;

private string title;

private string profile;

3.Database Information

(1). User (user and publisher use same table)
userId username password gender phone profile type
string string string int string string int

(2). PublishInfo
publishId title profile
string string string

(3). PublisherAndPublishInfo
userId publishId
string string

(4). UserLikedPublishInfo
userId publishId
string string

End

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 70.5%
  • HTML 27.5%
  • JavaScript 2.0%