Skip to content

Commit 79dc3f2

Browse files
committed
BKNDLSS-16973 Mark subtopic methods as 'deprecated' in SDK (Android)
1 parent cd176de commit 79dc3f2

File tree

1 file changed

+85
-81
lines changed

1 file changed

+85
-81
lines changed
Lines changed: 85 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,85 @@
1-
/*
2-
* ********************************************************************************************************************
3-
* <p/>
4-
* BACKENDLESS.COM CONFIDENTIAL
5-
* <p/>
6-
* ********************************************************************************************************************
7-
* <p/>
8-
* Copyright 2012 BACKENDLESS.COM. All Rights Reserved.
9-
* <p/>
10-
* NOTICE: All information contained herein is, and remains the property of Backendless.com and its suppliers,
11-
* if any. The intellectual and technical concepts contained herein are proprietary to Backendless.com and its
12-
* suppliers and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret
13-
* or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden
14-
* unless prior written permission is obtained from Backendless.com.
15-
* <p/>
16-
* ********************************************************************************************************************
17-
*/
18-
19-
package com.backendless.messaging;
20-
21-
import weborb.v3types.GUID;
22-
23-
public class SubscriptionOptions
24-
{
25-
private String subscriberId;
26-
private String subtopic;
27-
private String selector;
28-
29-
public SubscriptionOptions()
30-
{
31-
this.subscriberId = new GUID().toString();
32-
}
33-
34-
public SubscriptionOptions( String subscriberId )
35-
{
36-
this.subscriberId = subscriberId;
37-
}
38-
39-
public SubscriptionOptions( String subscriberId, String subtopic )
40-
{
41-
this.subscriberId = subscriberId;
42-
this.subtopic = subtopic;
43-
}
44-
45-
public SubscriptionOptions( String subscriberId, String subtopic, String selector )
46-
{
47-
this.subscriberId = subscriberId;
48-
this.subtopic = subtopic;
49-
this.selector = selector;
50-
}
51-
52-
public String getSubscriberId()
53-
{
54-
return subscriberId;
55-
}
56-
57-
public void setSubscriberId( String subscriberId )
58-
{
59-
this.subscriberId = subscriberId;
60-
}
61-
62-
public String getSubtopic()
63-
{
64-
return subtopic;
65-
}
66-
67-
public void setSubtopic( String subtopic )
68-
{
69-
this.subtopic = subtopic;
70-
}
71-
72-
public String getSelector()
73-
{
74-
return selector;
75-
}
76-
77-
public void setSelector( String selector )
78-
{
79-
this.selector = selector;
80-
}
81-
}
1+
/*
2+
* ********************************************************************************************************************
3+
* <p/>
4+
* BACKENDLESS.COM CONFIDENTIAL
5+
* <p/>
6+
* ********************************************************************************************************************
7+
* <p/>
8+
* Copyright 2012 BACKENDLESS.COM. All Rights Reserved.
9+
* <p/>
10+
* NOTICE: All information contained herein is, and remains the property of Backendless.com and its suppliers,
11+
* if any. The intellectual and technical concepts contained herein are proprietary to Backendless.com and its
12+
* suppliers and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret
13+
* or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden
14+
* unless prior written permission is obtained from Backendless.com.
15+
* <p/>
16+
* ********************************************************************************************************************
17+
*/
18+
19+
package com.backendless.messaging;
20+
21+
import weborb.v3types.GUID;
22+
23+
/**
24+
* The class is deprecated, it is left to maintain backward compatibility. The class will be deleted in a future release
25+
*/
26+
@Deprecated
27+
public class SubscriptionOptions
28+
{
29+
private String subscriberId;
30+
private String subtopic;
31+
private String selector;
32+
33+
public SubscriptionOptions()
34+
{
35+
this.subscriberId = new GUID().toString();
36+
}
37+
38+
public SubscriptionOptions( String subscriberId )
39+
{
40+
this.subscriberId = subscriberId;
41+
}
42+
43+
public SubscriptionOptions( String subscriberId, String subtopic )
44+
{
45+
this.subscriberId = subscriberId;
46+
this.subtopic = subtopic;
47+
}
48+
49+
public SubscriptionOptions( String subscriberId, String subtopic, String selector )
50+
{
51+
this.subscriberId = subscriberId;
52+
this.subtopic = subtopic;
53+
this.selector = selector;
54+
}
55+
56+
public String getSubscriberId()
57+
{
58+
return subscriberId;
59+
}
60+
61+
public void setSubscriberId( String subscriberId )
62+
{
63+
this.subscriberId = subscriberId;
64+
}
65+
66+
public String getSubtopic()
67+
{
68+
return subtopic;
69+
}
70+
71+
public void setSubtopic( String subtopic )
72+
{
73+
this.subtopic = subtopic;
74+
}
75+
76+
public String getSelector()
77+
{
78+
return selector;
79+
}
80+
81+
public void setSelector( String selector )
82+
{
83+
this.selector = selector;
84+
}
85+
}

0 commit comments

Comments
 (0)